drm/amd/display: Disable MPC split by default on special asic
authorZhikai Zhai <zhikai.zhai@amd.com>
Fri, 30 Jun 2023 03:35:14 +0000 (11:35 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 18 Jul 2023 18:39:44 +0000 (14:39 -0400)
commita460beefe77d780ac48f19d39333852a7f93ffc1
treee36dda24fd9dbf39145f7a5629c732a518057541
parent5a25cefc0920088bb9afafeb80ad3dcd84fe278b
drm/amd/display: Disable MPC split by default on special asic

[WHY]
All of pipes will be used when the MPC split enable on the dcn
which just has 2 pipes. Then MPO enter will trigger the minimal
transition which need programe dcn from 2 pipes MPC split to 2
pipes MPO. This action will cause lag if happen frequently.

[HOW]
Disable the MPC split for the platform which dcn resource is limited

Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Reviewed-by: Alvin Lee <alvin.lee2@amd.com>
Acked-by: Alan Liu <haoping.liu@amd.com>
Signed-off-by: Zhikai Zhai <zhikai.zhai@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn303/dcn303_resource.c