linux_dsm_epyc7002/drivers/gpu/drm/amd
Nicholas Kazlauskas 65276f2beb drm/amd/display: Fix unintialized max_bpc state values
[Why]
If the "max bpc" isn't explicitly set in the atomic state then it
have a value of 0. This has the correct behavior of limiting a panel
to 8bpc in the case where the panel supports 8bpc. In the case of eDP
panels this isn't a true assumption - there are panels that can only
do 6bpc.

Banding occurs for these displays.

[How]
Initialize the max_bpc when the connector resets to 8bpc. Also carry
over the value when the state is duplicated.

Bugzilla: https://bugs.freedesktop.org/108825
Fixes: 307638884f72 ("drm/amd/display: Support amdgpu "max bpc" connector property")

Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2018-12-11 15:52:36 -05:00
..
acp drm/amdgpu: Remove wrapper layer of cgs irq handling 2018-03-21 14:36:58 -05:00
amdgpu drm/amdgpu: Fix stub function name 2018-12-11 13:40:58 -05:00
amdkfd drm/amdkfd: Add support for doorbell BOs 2018-12-07 18:14:00 -05:00
display drm/amd/display: Fix unintialized max_bpc state values 2018-12-11 15:52:36 -05:00
include drm/amdkfd: Add support for doorbell BOs 2018-12-07 18:14:00 -05:00
lib drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
powerplay drm/amdgpu/powerplay: Add special avfs cases for some polaris asics (v3) 2018-12-10 15:33:01 -05:00