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)
committerSasha Levin <sashal@kernel.org>
Thu, 26 Aug 2021 12:35:39 +0000 (08:35 -0400)
commitdcc8c5fb8d8595f5061c7b000ca1d16449a5e865
tree6b051936c7f8f5aba40740aed4ea17aae1e0d7b7
parent8849a8c7058e697d7fe5864b84a1bd58c58963bd
drm/amd/display: Fix Dynamic bpp issue with 8K30 with Navi 1X

[ Upstream commit 06050a0f01dbac2ca33145ef19a72041206ea983 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_optc.c