]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/nouveau/kms/nv50-: Assert we hold nv50_disp->lock in nv50_head_flush_*
authorLyude Paul <lyude@redhat.com>
Fri, 19 Dec 2025 21:52:03 +0000 (16:52 -0500)
committerLyude Paul <lyude@redhat.com>
Tue, 13 Jan 2026 22:42:45 +0000 (17:42 -0500)
commit456c4f5ff0c886fd49daaa4dec13160df872bbc3
tree4de38f09c564c296226f67a6c8ab80c99d9607b3
parent9e9bc6be0fa0b6b6b73f4f831f3b77716d0a8d9e
drm/nouveau/kms/nv50-: Assert we hold nv50_disp->lock in nv50_head_flush_*

Now that we've had one bug that occurred in nouveau as the result of
nv50_head_flush_* being called without the appropriate locks, let's add
some lockdep asserts to make sure this doesn't happen in the future.

Reviewed-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Lyude Paul <lyude@redhat.com>
Link: https://patch.msgid.link/20251219215344.170852-3-lyude@redhat.com
drivers/gpu/drm/nouveau/dispnv50/head.c