]> Gentwo Git Trees - linux/.git/commit
drm/vkms: Convert to DRM's vblank timer
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 16 Sep 2025 08:36:21 +0000 (10:36 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Wed, 1 Oct 2025 06:32:01 +0000 (08:32 +0200)
commit02e2681ffe1addde1fc8c35d05657b16bfa79613
tree66c9d8bf944e06a1aae777f89ba5c91b5ab0231b
parentd54dbb5963bdbdf8559903fe2b2343e871adcb30
drm/vkms: Convert to DRM's vblank timer

Replace vkms' vblank timer with the DRM implementation. The DRM
code is identical in concept, but differs in implementation.

Vblank timers are covered in vblank helpers and initializer macros,
so remove the corresponding hrtimer in struct vkms_output. The
vblank timer calls vkms' custom timeout code via handle_vblank_timeout
in struct drm_crtc_helper_funcs.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Tested-by: Louis Chauvet <louis.chauvet@bootlin.com>
Reviewed-by: Louis Chauvet <louis.chauvet@bootlin.com>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://lore.kernel.org/r/20250916083816.30275-4-tzimmermann@suse.de
drivers/gpu/drm/vkms/vkms_crtc.c
drivers/gpu/drm/vkms/vkms_drv.h