drm/amd/display: fix use_max_lb flag for 420 pixel formats
authorDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Mon, 19 Apr 2021 21:50:53 +0000 (17:50 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Jul 2021 07:44:37 +0000 (09:44 +0200)
commit3ca86d44b9023cd96c893d6dd90aacbca90e4d74
tree9223e536f250a972d385e2a32ccc4018440d254c
parent5953b984c3e4c9bd0cce0675932174f9a08f5a38
drm/amd/display: fix use_max_lb flag for 420 pixel formats

[ Upstream commit 8809a7a4afe90ad9ffb42f72154d27e7c47551ae ]

Right now the flag simply selects memory config 0 when flag is true
however 420 modes benefit more from memory config 3.

Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Stylon Wang <stylon.wang@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@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/dcn10/dcn10_dpp_dscl.c