aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h
diff options
context:
space:
mode:
authorYongqiang Sun <yongqiang.sun@amd.com>2020-09-18 16:33:55 -0400
committerAlex Deucher <alexander.deucher@amd.com>2020-10-05 15:16:43 -0400
commit54e8094a76bc8cd41d1ec5c2c2a8755e64349142 (patch)
tree18ad3bbe34081d83326d72ff8136550591f1743c /drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h
parentdrm/amd/display: Copy WM values from set A to other sets in hw_init (diff)
downloadwireguard-linux-54e8094a76bc8cd41d1ec5c2c2a8755e64349142.tar.xz
wireguard-linux-54e8094a76bc8cd41d1ec5c2c2a8755e64349142.zip
drm/amd/display: Block ABM in case of eDP ODM
[Why] enable ODM on eDP panel with ABM will result in color difference on the panel due to only one ABM module to set one pipe. [How] Block ABM in case of ODM enabled on eDP. Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com> Reviewed-by: Eric Yang <eric.yang2@amd.com> Acked-by: Eryk Brol <eryk.brol@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h b/drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h
index 55c642950e91..e9ef782e63a8 100644
--- a/drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h
+++ b/drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h
@@ -223,6 +223,8 @@ struct hw_sequencer_funcs {
bool (*apply_idle_power_optimizations)(struct dc *dc, bool enable);
#endif
+ bool (*is_abm_supported)(struct dc *dc,
+ struct dc_state *context, struct dc_stream_state *stream);
};
void color_space_to_black_color(