diff options
| author | Leo Li <[email protected]> | 2023-02-09 17:15:21 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-02-16 03:25:04 +0000 |
| commit | ac0bb08d2cb711dc0e332f91c4e67783fcbe3439 (patch) | |
| tree | 9359a135564a8794e632d16f3162ded597f62eba /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
| parent | drm/amd/pm: avoid unaligned access warnings (diff) | |
| download | kernel-ac0bb08d2cb711dc0e332f91c4e67783fcbe3439.tar.gz kernel-ac0bb08d2cb711dc0e332f91c4e67783fcbe3439.zip | |
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: b261509952bc ("drm/amd/display: Fix double cursor on non-video RGB MPO")
Signed-off-by: Leo Li <[email protected]>
Tested-by: Mikhail Gavrilov <[email protected]>
Reviewed-by: Hamza Mahfooz <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions
