summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dmub/inc
diff options
context:
space:
mode:
authorRobin Chen <robin.chen@amd.com>2025-12-16 18:03:45 +0800
committerAlex Deucher <alexander.deucher@amd.com>2026-01-10 14:21:52 -0500
commit16ac1b6a6b52ff0bbd87b6361b8b01d358dfdadc (patch)
tree74b719b7a8d2f2647c8732894d1eaff9b4a9c779 /drivers/gpu/drm/amd/display/dmub/inc
parent872818e2357b026462b21e90aad115aa369966ba (diff)
downloadlinux-16ac1b6a6b52ff0bbd87b6361b8b01d358dfdadc.tar.gz
linux-16ac1b6a6b52ff0bbd87b6361b8b01d358dfdadc.zip
drm/amd/display: Remove unused DMUB replay commands
[WHY] Remove unused DMUB Replay set version command and related code. Reviewed-by: Jack Chang <jack.chang@amd.com> Signed-off-by: Robin Chen <robin.chen@amd.com> Signed-off-by: Matthew Stewart <matthew.stewart2@amd.com> Tested-by: Dan Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dmub/inc')
-rw-r--r--drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h46
1 files changed, 0 insertions, 46 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 6c599559c5da..04c79069670a 100644
--- a/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
+++ b/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
@@ -4335,10 +4335,6 @@ enum dmub_cmd_replay_type {
*/
DMUB_CMD__REPLAY_DISABLED_ADAPTIVE_SYNC_SDP = 8,
/**
- * Set version
- */
- DMUB_CMD__REPLAY_SET_VERSION = 9,
- /**
* Set Replay General command.
*/
DMUB_CMD__REPLAY_SET_GENERAL_CMD = 16,
@@ -4506,40 +4502,6 @@ enum replay_version {
};
/**
- * Data passed from driver to FW in a DMUB_CMD___SET_REPLAY_VERSION command.
- */
-struct dmub_cmd_replay_set_version_data {
- /**
- * Panel Instance.
- * Panel instance to identify which psr_state to use
- * Currently the support is only for 0 or 1
- */
- uint8_t panel_inst;
- /**
- * Replay version that FW should implement.
- */
- enum replay_version version;
- /**
- * Explicit padding to 4 byte boundary.
- */
- uint8_t pad[3];
-};
-
-/**
- * Definition of a DMUB_CMD__REPLAY_SET_VERSION command.
- */
-struct dmub_rb_cmd_replay_set_version {
- /**
- * Command header.
- */
- struct dmub_cmd_header header;
- /**
- * Data passed from driver to FW in a DMUB_CMD__REPLAY_SET_VERSION command.
- */
- struct dmub_cmd_replay_set_version_data replay_set_version_data;
-};
-
-/**
* Definition of a DMUB_CMD__REPLAY_COPY_SETTINGS command.
*/
struct dmub_rb_cmd_replay_copy_settings {
@@ -4930,10 +4892,6 @@ union dmub_replay_cmd_set {
*/
struct dmub_cmd_replay_disabled_adaptive_sync_sdp_data disabled_adaptive_sync_sdp_data;
/**
- * Definition of DMUB_CMD__REPLAY_SET_VERSION command data.
- */
- struct dmub_cmd_replay_set_version_data version_data;
- /**
* Definition of DMUB_CMD__REPLAY_SET_GENERAL_CMD command data.
*/
struct dmub_cmd_replay_set_general_cmd_data set_general_cmd_data;
@@ -7020,10 +6978,6 @@ union dmub_rb_cmd {
* Definition of a DMUB_CMD__IDLE_OPT_SET_DC_POWER_STATE command.
*/
struct dmub_rb_cmd_idle_opt_set_dc_power_state idle_opt_set_dc_power_state;
- /**
- * Definition of a DMUB_CMD__REPLAY_SET_VERSION command.
- */
- struct dmub_rb_cmd_replay_set_version replay_set_version;
/*
* Definition of a DMUB_CMD__REPLAY_COPY_SETTINGS command.
*/