]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amd/display: Ignore scalar validation failure if pipe is phantom
authorChris Park <chris.park@amd.com>
Mon, 4 Nov 2024 18:18:39 +0000 (13:18 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Dec 2024 19:03:13 +0000 (20:03 +0100)
commit66edf59bc444e67f304a10397a63af88eaae454b
treefdca06f560db3b45ed02049c5224b968c2b14b75
parent7c4fd0072ad1be41bcdfbf95cb05df9c0d7ccf84
drm/amd/display: Ignore scalar validation failure if pipe is phantom

[ Upstream commit c33a93201ca07119de90e8c952fbdf65920ab55d ]

[Why]
There are some pipe scaler validation failure when the pipe is phantom
and causes crash in DML validation. Since, scalar parameters are not
as important in phantom pipe and we require this plane to do successful
MCLK switches, the failure condition can be ignored.

[How]
Ignore scalar validation failure if the pipe validation is marked as
phantom pipe.

Cc: stable@vger.kernel.org # 6.11+
Reviewed-by: Dillon Varone <dillon.varone@amd.com>
Signed-off-by: Chris Park <chris.park@amd.com>
Signed-off-by: Hamza Mahfooz <hamza.mahfooz@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/core/dc_resource.c