diff options
author | Xaver Hugl <xaver.hugl@kde.org> | 2025-08-22 17:28:49 +0200 |
---|---|---|
committer | André Almeida <andrealmeid@igalia.com> | 2025-08-22 14:31:21 -0300 |
commit | b065bd213caf6d35b57c5089d6507d7e8598a586 (patch) | |
tree | c4a81d5f2dcf3dcdd74c558af994a45f0acae8ff /rust/helpers/build_bug.c | |
parent | 3f13bcc886fc034113cb75cb32b8d9db1216b846 (diff) |
drm: re-allow no-op changes on non-primary planes in async flips
Commit fd40a63c63a1 ("drm/atomic: Let drivers decide which planes to
async flip") unintentionally disallowed no-op changes on non-primary
planes that the driver doesn't allow async flips on. This broke async
flips for compositors that disable the cursor plane in every async
atomic commit. To fix that, change drm_atomic_set_property to again
only run atomic_async_check if the plane would actually be changed by
the atomic commit.
Fixes: fd40a63c63a1 ("drm/atomic: Let drivers decide which planes to async flip")
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4263
Signed-off-by: Xaver Hugl <xaver.hugl@kde.org>
Reviewed-by: André Almeida <andrealmeid@igalia.com>
Link: https://lore.kernel.org/r/20250822152849.87843-1-xaver.hugl@kde.org
[andrealmeid: fix checkpatch warning]
Signed-off-by: André Almeida <andrealmeid@igalia.com>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions