diff options
author | Yongqiang Sun <yongqiang.sun@amd.com> | 2020-09-18 16:33:55 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-10-05 15:16:43 -0400 |
commit | 54e8094a76bc8cd41d1ec5c2c2a8755e64349142 (patch) | |
tree | 18ad3bbe34081d83326d72ff8136550591f1743c /drivers/gpu/drm/amd/display/dc/dc_stream.h | |
parent | 7c4ed1df0a59541b0c40c468df52217c2e03c210 (diff) | |
download | linux-stable-54e8094a76bc8cd41d1ec5c2c2a8755e64349142.tar.gz linux-stable-54e8094a76bc8cd41d1ec5c2c2a8755e64349142.tar.bz2 linux-stable-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/dc_stream.h')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dc_stream.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dc_stream.h b/drivers/gpu/drm/amd/display/dc/dc_stream.h index c246af7c584b..0be1ec1e46ca 100644 --- a/drivers/gpu/drm/amd/display/dc/dc_stream.h +++ b/drivers/gpu/drm/amd/display/dc/dc_stream.h @@ -45,6 +45,7 @@ struct dc_stream_status { int audio_inst; struct timing_sync_info timing_sync_info; struct dc_plane_state *plane_states[MAX_SURFACE_NUM]; + bool is_abm_supported; }; // TODO: References to this needs to be removed.. |