mirror-linux/drivers/gpu/drm/amd/display
Leo Li ac0bb08d2c drm/amd/display: Fail atomic_check early on normalize_zpos error
[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>
2023-02-15 22:25:04 -05:00
..
amdgpu_dm drm/amd/display: Fail atomic_check early on normalize_zpos error 2023-02-15 22:25:04 -05:00
dc drm/amd/display: Remove duplicate/repeating expressions 2023-02-15 22:24:53 -05:00
dmub drm/amd/display: avoid unaligned access warnings 2023-02-15 22:24:56 -05:00
include drm/amd/display: Enable Freesync over PCon 2023-01-31 14:00:44 -05:00
modules drm/amd/display: remove unused _calculate_degamma_curve function 2023-02-15 22:24:26 -05:00
Kconfig drm for 6.2: 2022-12-13 11:59:58 -08:00
Makefile
TODO