Revert "Revert "drm/amd/display: Implement zpos property""
authorHamza Mahfooz <hamza.mahfooz@amd.com>
Tue, 29 Aug 2023 11:27:15 +0000 (07:27 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 31 Aug 2023 22:14:49 +0000 (18:14 -0400)
commit46528db35561e45ff0a5e9c80d6e6e69a5877150
tree826da4ec011e3b8f11af8ec9ba86854046dd5af2
parente9dca969b2426702a73719ab9207e43c6d80b581
Revert "Revert "drm/amd/display: Implement zpos property""

This reverts commit e2066eb4efe0e7d2d329d6e6765ed637a523ac45.

The problematic IGT test case (i.e. kms_atomic@plane-immutable-zpos) has
been fixed as of commit cb77add45011 ("tests/kms_atomic: remove zpos <
N-planes assert") to the IGT repo. So, reintroduce the reverted code.

Link: https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/commit/cb77add45011b129e21f3cb2a4089a73dde56179
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Melissa Wen <mwen@igalia.com>
Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c