]> git.proxmox.com Git - mirror_ubuntu-kernels.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, 24 Jun 2020 22:03:09 +0000 (18:03 -0400)
commitfa7041d9d2fc7401cece43f305eb5b87b7017fc4
treeb3aa473554ad76041602dfe26e2828d455cb4d5e
parent5ae9c378c3d88b40af72f8e8f961808e29f3e70b
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>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c