linux/drivers/gpu/drm/amd
Leo Li 020eccac74 drm/amd/display: Fail atomic_check early on normalize_zpos error
commit 2a00299e74 upstream.

[Why]

drm_atomic_normalize_zpos() can return an error code when there's
modeset lock contention. This was being ignored.

[How]

Bail out of atomic check if normalize_zpos() returns an error.

Fixes: b261509952 ("drm/amd/display: Fix double cursor on non-video RGB MPO")
Signed-off-by: Leo Li <sunpeng.li@amd.com>
Tested-by: Mikhail Gavrilov <mikhail.v.gavrilov@gmail.com>
Reviewed-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-02-22 12:59:47 +01:00
..
acp
amdgpu drm/amd/amdgpu: fix warning during suspend 2023-02-22 12:59:47 +01:00
amdkfd drm/amdkfd: Fix NULL pointer error for GC 11.0.1 on mGPU 2023-02-01 08:34:32 +01:00
display drm/amd/display: Fail atomic_check early on normalize_zpos error 2023-02-22 12:59:47 +01:00
include drm/amdgpu: Fix type of second parameter in odn_edit_dpm_table() callback 2022-12-31 13:33:01 +01:00
pm drm/amdgpu: Enable vclk dclk node for gc11.0.3 2023-02-22 12:59:45 +01:00