mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 07:03:03 +02:00
drm/amd/display: use enum value for panel replay setting
[WHY & HOW] use enum value for Panel Replay setting. Reviewed-by: Robin Chen <robin.chen@amd.com> Signed-off-by: Peichen Huang <PeiChen.Huang@amd.com> Signed-off-by: Tom Chung <chiahsuan.chung@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
9156bf442e
commit
4a9c988215
|
|
@ -333,10 +333,10 @@ bool dp_pr_copy_settings(struct dc_link *link, struct replay_context *replay_con
|
|||
pipe_ctx->stream->timing.dsc_cfg.num_slices_v;
|
||||
|
||||
if (dc_is_embedded_signal(link->connector_signal))
|
||||
cmd.pr_copy_settings.data.main_link_activity_option = 0x03;//OPTION_1C;
|
||||
cmd.pr_copy_settings.data.main_link_activity_option = OPTION_1C;
|
||||
else
|
||||
// For external DP, use option 1-A
|
||||
cmd.pr_copy_settings.data.main_link_activity_option = 0x01;//OPTION_1A;
|
||||
cmd.pr_copy_settings.data.main_link_activity_option = OPTION_1A;
|
||||
|
||||
dc_wake_and_execute_dmub_cmd(dc->ctx, &cmd, DM_DMUB_WAIT_TYPE_WAIT);
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user