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)
commit4b7da34bd78803d83ebe82a56093c0877e15a243
tree5fc183abdb8313ca60f6d8bbd3060bc4fb7f45d1
parent447f3d0f387b1048295d58832b0e041a3ed67df8
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