diff options
author | Leo Li <[email protected]> | 2023-02-09 12:15:21 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2023-02-15 22:25:04 -0500 |
commit | ac0bb08d2cb711dc0e332f91c4e67783fcbe3439 (patch) | |
tree | 9359a135564a8794e632d16f3162ded597f62eba /drivers/gpu/drm/amd/include | |
parent | f989fa298c0f57070dca9816439aa2e72f1bec8d (diff) |
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/include')
0 files changed, 0 insertions, 0 deletions