]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Fix ineffective setting of max bpc property
authorStylon Wang <stylon.wang@amd.com>
Fri, 12 Jun 2020 11:04:18 +0000 (19:04 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Jul 2020 05:59:26 +0000 (01:59 -0400)
commite370e35ddb067d968f938c9ff1755cd2f22cd79b
tree5fc183abdb8313ca60f6d8bbd3060bc4fb7f45d1
parentf450c5482b80568f9cf03cabc983fd47dd4709c0
drm/amd/display: Fix ineffective setting of max bpc property

[Why]
Regression was introduced where setting max bpc property has no effect
on the atomic check and final commit. It has the same effect as max bpc
being stuck at 8.

[How]
Correctly propagate max bpc with the new connector state.

Signed-off-by: Stylon Wang <stylon.wang@amd.com>
Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c