linux/drivers/gpu/drm/amd/display
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
..
amdgpu_dm drm/amd/display: Fail atomic_check early on normalize_zpos error 2023-02-22 12:59:47 +01:00
dc drm/amd/display: Unassign does_plane_fit_in_mall function from dcn3.2 2023-02-22 12:59:44 +01:00
dmub drm/amd/display: Reset DMUB mailbox SW state after HW reset 2023-02-22 12:59:44 +01:00
include drm/amd/display: Refactor LTTPR mode selection 2022-09-29 09:41:46 -04:00
modules drm/amd/display: fix transfer function passed to build_coefficients() 2022-10-11 11:33:31 -04:00
Kconfig drm/amdgpu: temporarily disable broken Clang builds due to blown stack-frame 2022-11-30 14:49:42 -08:00
Makefile
TODO