]> www.infradead.org Git - users/jedix/linux-maple.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)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 20 Nov 2024 14:39:27 +0000 (09:39 -0500)
commitc33a93201ca07119de90e8c952fbdf65920ab55d
treeab8cdb8e0d4cf3beb2a25ba81fd66aba56e295d7
parent8fef253c94a5312b9150b2ff8e633b331bac7e88
drm/amd/display: Ignore scalar validation failure if pipe is phantom

[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>
drivers/gpu/drm/amd/display/dc/core/dc_resource.c