]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/atomic: use drm_crtc_vblank_waitqueue()
authorJani Nikula <jani.nikula@intel.com>
Fri, 7 Nov 2025 11:04:56 +0000 (13:04 +0200)
committerJani Nikula <jani.nikula@intel.com>
Mon, 10 Nov 2025 13:41:30 +0000 (15:41 +0200)
commit23ab3cb314d945255e9734b509acf8cd21f6eee0
tree3138cae2a84ef1d9909ad3ac2b7f77e791a580c3
parentd930ffa5d6e8867a290db9c6aad1c62731aeb2c3
drm/atomic: use drm_crtc_vblank_waitqueue()

We have drm_crtc_vblank_waitqueue() to get the wait_queue_head_t pointer
for a vblank. Use it instead of poking at dev->vblank[] directly.

Due to the macro maze of wait_event_timeout() that uses the address-of
operator on the argument, we have to pass it in with the indirection
operator.

Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patch.msgid.link/1097348197acea9110da8baebbbc189890d01660.1762513240.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/drm_atomic_helper.c