diff options
author | Leo Li <sunpeng.li@amd.com> | 2023-02-09 18:15:21 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-02-16 04:46:42 +0100 |
commit | 2a00299e7447395d0898e7c6214817c06a61a8e8 (patch) | |
tree | 7574ab7374d66ba1223e2b98f2bc79f27361c905 /drivers/s390 | |
parent | drm/amd/amdgpu: fix warning during suspend (diff) | |
download | linux-2a00299e7447395d0898e7c6214817c06a61a8e8.tar.xz linux-2a00299e7447395d0898e7c6214817c06a61a8e8.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 <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
Diffstat (limited to 'drivers/s390')
0 files changed, 0 insertions, 0 deletions