Commit 07049507 authored by Yue Hin Lau's avatar Yue Hin Lau Committed by Alex Deucher

drm/amd/display: disable mpo if brightness adjusted

Signed-off-by: default avatarYue Hin Lau <Yuehin.Lau@amd.com>
Reviewed-by: default avatarTony Cheng <Tony.Cheng@amd.com>
Acked-by: default avatarHarry Wentland <harry.wentland@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 3f460907
...@@ -75,6 +75,7 @@ struct dc_caps { ...@@ -75,6 +75,7 @@ struct dc_caps {
bool dynamic_audio; bool dynamic_audio;
bool is_apu; bool is_apu;
bool dual_link_dvi; bool dual_link_dvi;
bool post_blend_color_processing;
}; };
struct dc_dcc_surface_param { struct dc_dcc_surface_param {
......
...@@ -1023,6 +1023,7 @@ static bool construct( ...@@ -1023,6 +1023,7 @@ static bool construct(
dc->caps.max_cursor_size = 256; dc->caps.max_cursor_size = 256;
dc->caps.max_slave_planes = 1; dc->caps.max_slave_planes = 1;
dc->caps.is_apu = true; dc->caps.is_apu = true;
dc->caps.post_blend_color_processing = false;
if (dc->ctx->dce_environment == DCE_ENV_PRODUCTION_DRV) if (dc->ctx->dce_environment == DCE_ENV_PRODUCTION_DRV)
dc->debug = debug_defaults_drv; dc->debug = debug_defaults_drv;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment