From: Peichen Huang <[email protected]> [WHY & HOW] use enum value for Panel Replay setting.
Reviewed-by: Robin Chen <[email protected]> Signed-off-by: Peichen Huang <[email protected]> Signed-off-by: Tom Chung <[email protected]> --- .../drm/amd/display/dc/link/protocols/link_dp_panel_replay.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_panel_replay.c b/drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_panel_replay.c index 4a9e86d32dbb..7e45d1e767bb 100644 --- a/drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_panel_replay.c +++ b/drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_panel_replay.c @@ -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; -- 2.43.0
