summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h50
1 files changed, 48 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h b/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
index f3e1a41897bf..525e679b81d5 100644
--- a/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
+++ b/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
@@ -582,7 +582,14 @@ union replay_debug_flags {
*/
uint32_t enable_sub_feature_visual_confirm : 1;
- uint32_t reserved : 16;
+ /**
+ * 0x10000 (bit 16)
+ * @enable_oem_visual_confirm: Enable OEM visual confirm
+ * Black = state 0, Blue = state non-zero, Green = frame skipping active
+ */
+ uint32_t enable_oem_visual_confirm : 1;
+
+ uint32_t reserved : 15;
} bitfields;
uint32_t u32All;
@@ -743,7 +750,14 @@ union pr_debug_flags {
*/
uint32_t force_hubp_on : 1;
- uint32_t reserved : 24;
+ /**
+ * 0x100 (bit 8)
+ * @enable_oem_visual_confirm: Enable OEM visual confirm
+ * Black = state 0, Blue = state non-zero
+ */
+ uint32_t enable_oem_visual_confirm : 1;
+
+ uint32_t reserved : 23;
} bitfields;
uint32_t u32All;
@@ -2045,6 +2059,11 @@ enum dmub_cmd_type {
DMUB_CMD__DC_BLS = 98,
/**
+ * Command type used to notify nbif az pme restore.
+ */
+ DMUB_CMD__NBIF_AZ_PME_RESTORE = 99,
+
+ /**
* Command type use for VBIOS shared commands.
*/
DMUB_CMD__VBIOS = 128,
@@ -3634,6 +3653,28 @@ struct dmub_rb_cmd_query_hpd_state {
};
/**
+ * Data passed from driver to FW in a DMUB_CMD__NBIF_AZ_PME_RESTORE command.
+ */
+struct dmub_cmd_nbif_az_pme_restore_data {
+ uint8_t az_inst; /**< Azalia codec endpoint instance */
+ uint8_t pad[3]; /**< Alignment */
+};
+
+/**
+ * Definition of a DMUB_CMD__NBIF_AZ_PME_RESTORE command.
+ */
+struct dmub_rb_cmd_nbif_az_pme_restore {
+ /**
+ * Command header.
+ */
+ struct dmub_cmd_header header;
+ /**
+ * Data passed from driver to FW in a DMUB_CMD__NBIF_AZ_PME_RESTORE command.
+ */
+ struct dmub_cmd_nbif_az_pme_restore_data data;
+};
+
+/**
* struct dmub_rb_cmd_hpd_sense_notify - HPD sense notification data.
*/
struct dmub_rb_cmd_hpd_sense_notify_data {
@@ -7807,6 +7848,11 @@ union dmub_rb_cmd {
* Definition of a DMUB_CMD__QUERY_HPD_STATE command.
*/
struct dmub_rb_cmd_query_hpd_state query_hpd;
+
+ /**
+ * Definition of a DMUB_CMD__NBIF_AZ_PME_RESTORE command.
+ */
+ struct dmub_rb_cmd_nbif_az_pme_restore nbif_az_pme_restore;
/**
* Definition of a DMUB_CMD__SECURE_DISPLAY command.
*/