Commit 9e9fbebd authored by Taimur Hassan's avatar Taimur Hassan Committed by Alex Deucher
Browse files

drm/amd/display: [FW Promotion] Release 0.1.50.0



[WHAT]
Introduce DMUB BOOT_TIME_CRC_INIT command.

Acked-by: default avatarAurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: default avatarTaimur Hassan <Syed.Hassan@amd.com>
Signed-off-by: default avatarAlex Hung <alex.hung@amd.com>
Tested-by: default avatarDan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent e56e3cff
Loading
Loading
Loading
Loading
+32 −0
Original line number Diff line number Diff line
@@ -1892,6 +1892,11 @@ enum dmub_cmd_type {
	 */
	DMUB_CMD__IHC = 95,

	/**
	 * Command type use for boot time crc commands.
	 */
	DMUB_CMD__BOOT_TIME_CRC = 96,

	/**
	 * Command type use for VBIOS shared commands.
	 */
@@ -6838,6 +6843,29 @@ struct dmub_rb_cmd_pr_general_cmd {
	struct dmub_cmd_pr_general_cmd_data data;
};

/**
 * Command type of a DMUB_CMD__BOOT_TIME_CRC command
 */
enum dmub_cmd_boot_time_crc_type {
	DMUB_CMD__BOOT_TIME_CRC_INIT_MEM = 0
};

/**
 * Data passed from driver to FW in a DMUB_CMD__BOOT_TIME_CRC_INIT command.
 */
struct dmub_cmd_boot_time_crc_init_data {
	union dmub_addr buffer_addr;
	uint32_t buffer_size;
};

/**
 * Definition of a DMUB_CMD__BOOT_TIME_CRC_INIT command.
 */
struct dmub_rb_cmd_boot_time_crc_init {
	struct dmub_cmd_header header;
	struct dmub_cmd_boot_time_crc_init_data data;
};

/**
 * union dmub_rb_cmd - DMUB inbox command.
 */
@@ -7199,6 +7227,10 @@ union dmub_rb_cmd {
	 * Definition of a DMUB_CMD__IHC command.
	 */
	struct dmub_rb_cmd_ihc ihc;
	/**
	 * Definition of a DMUB_CMD__BOOT_TIME_CRC_INIT command.
	 */
	struct dmub_rb_cmd_boot_time_crc_init boot_time_crc_init;
};

/**