drm/amd/display: Fix Dynamic bpp issue with 8K30 with Navi 1X
authorBing Guo <bing.guo@amd.com>
Mon, 19 Jul 2021 22:24:06 +0000 (18:24 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 6 Aug 2021 01:17:58 +0000 (21:17 -0400)
commita453d2fa4b23fb66e2d786a008415e860263cd4f
tree0ba8332aa31ac013073da48f462eb59740122b16
parentba18f2350e494e964de075658a1591c08e1f4a88
drm/amd/display: Fix Dynamic bpp issue with 8K30 with Navi 1X

Why:
In DCN2x, HW doesn't automatically divide MASTER_UPDATE_LOCK_DB_X
by the number of pipes ODM Combined.

How:
Set MASTER_UPDATE_LOCK_DB_X to the value that is adjusted by the
number of pipes ODM Combined.

Reviewed-by: Martin Leung <martin.leung@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Bing Guo <bing.guo@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_optc.c