summaryrefslogtreecommitdiff
path: root/rust/helpers/task.c
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2025-09-16 10:36:20 +0200
committerThomas Zimmermann <tzimmermann@suse.de>2025-10-01 08:32:00 +0200
commitd54dbb5963bdbdf8559903fe2b2343e871adcb30 (patch)
treea85c32c909cc7bc489cb5cd18c33d494a1507be4 /rust/helpers/task.c
parent74afeb8128502a529041a2566febd26053a7be11 (diff)
drm/vblank: Add CRTC helpers for simple use cases
Implement atomic_flush, atomic_enable and atomic_disable of struct drm_crtc_helper_funcs for vblank handling. Driver with no further requirements can use these functions instead of adding their own. Also simplifies the use of vblank timers. The code has been adopted from vkms, which added the funtionality in commit 3a0709928b17 ("drm/vkms: Add vblank events simulated by hrtimers"). v3: - mention vkms (Javier) v2: - fix docs Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com> Tested-by: Michael Kelley <mhklinux@outlook.com> Link: https://lore.kernel.org/r/20250916083816.30275-3-tzimmermann@suse.de
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions