diff options
author | Max Tseng <max.tseng@amd.com> | 2023-11-07 10:00:03 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-11-30 00:48:59 +0300 |
commit | c77b0008591094d454c1f340d1e82b5ebe2d918d (patch) | |
tree | d5dc9a781c711f7eb957f7997f006220a5d2cc75 /drivers/gpu/drm/amd/display/dmub | |
parent | 6c22fb07e0c2935d97a86509f16f755ab895f2c8 (diff) | |
download | linux-c77b0008591094d454c1f340d1e82b5ebe2d918d.tar.xz |
drm/amd/display: replay: generalize the send command function usage
Augment the function to allow send different format data in different
use case.
Reviewed-by: Dennis Chan <dennis.chan@amd.com>
Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Max Tseng <max.tseng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dmub')
-rw-r--r-- | drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h | 10 |
1 files changed, 10 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 55573083bc31..5f06cf4c663f 100644 --- a/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h +++ b/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h @@ -3144,6 +3144,16 @@ struct dmub_rb_cmd_replay_set_timing_sync { }; /** + * Definition union of replay command set + */ +union dmub_replay_cmd_set { + /** + * Definition of DMUB_CMD__REPLAY_SET_TIMING_SYNC_SUPPORTED command data. + */ + struct dmub_cmd_replay_set_timing_sync_data sync_data; +}; + +/** * Set of HW components that can be locked. * * Note: If updating with more HW components, fields |