diff options
author | Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> | 2018-11-29 00:17:50 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-12-11 23:52:36 +0300 |
commit | 65276f2bebea047338196a584291c6c8ccd7ea13 (patch) | |
tree | e71b45c261c51c7e0e24fdeb4aef872bb79ffb19 /drivers/scsi/scsi_transport_fc.c | |
parent | 28c59469302a39277029b19672db32b0a5e9c30b (diff) | |
download | linux-65276f2bebea047338196a584291c6c8ccd7ea13.tar.xz |
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>
Diffstat (limited to 'drivers/scsi/scsi_transport_fc.c')
0 files changed, 0 insertions, 0 deletions