summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaimur Hassan <Syed.Hassan@amd.com>2026-01-31 00:29:05 +0300
committerAlex Deucher <alexander.deucher@amd.com>2026-02-12 23:16:23 +0300
commite8c7156240a00fc3f13107dcd66aa5b51640cccb (patch)
treea1817507059aebbfcfcef71d12ba587e538b3a88
parent0f2620c48640e6635270d54d2cd9d724e5a1338a (diff)
downloadlinux-e8c7156240a00fc3f13107dcd66aa5b51640cccb.tar.xz
drm/amd/display: [FW Promotion] Release 0.1.46.0
Add some struct member and enum for panel replay Acked-by: Wayne Lin <wayne.lin@amd.com> Signed-off-by: Taimur Hassan <Syed.Hassan@amd.com> Signed-off-by: Tom Chung <chiahsuan.chung@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h15
1 files changed, 15 insertions, 0 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 3b4f5e990ec5..6f388c910e18 100644
--- a/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
+++ b/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
@@ -1638,6 +1638,11 @@ enum dmub_gpint_command {
* DESC: Initiates IPS wake sequence.
*/
DMUB_GPINT__IPS_DEBUG_WAKE = 137,
+ /**
+ * DESC: Do panel power off sequence
+ * ARGS: 1 - Power off
+ */
+ DMUB_GPINT__PANEL_POWER_OFF_SEQ = 138,
};
/**
@@ -4408,6 +4413,7 @@ enum dmub_cmd_panel_replay_type {
enum dmub_cmd_panel_replay_state_update_subtype {
PR_STATE_UPDATE_COASTING_VTOTAL = 0x1,
PR_STATE_UPDATE_SYNC_MODE = 0x2,
+ PR_STATE_UPDATE_RUNTIME_FLAGS = 0x3,
};
enum dmub_cmd_panel_replay_general_subtype {
@@ -6701,6 +6707,13 @@ struct dmub_rb_cmd_pr_copy_settings {
struct dmub_cmd_pr_copy_settings_data data;
};
+union dmub_pr_runtime_flags {
+ struct {
+ uint32_t disable_abm_optimization : 1; // Disable ABM optimization for PR
+ } bitfields;
+ uint32_t u32All;
+};
+
struct dmub_cmd_pr_update_state_data {
/**
* Panel Instance.
@@ -6719,6 +6732,8 @@ struct dmub_cmd_pr_update_state_data {
*/
uint32_t coasting_vtotal;
uint32_t sync_mode;
+
+ union dmub_pr_runtime_flags pr_runtime_flags;
};
struct dmub_cmd_pr_general_cmd_data {