]> Gentwo Git Trees - linux/.git/commit
drm/hypervdrm: Use vblank timer
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 16 Sep 2025 08:36:22 +0000 (10:36 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Wed, 1 Oct 2025 06:32:02 +0000 (08:32 +0200)
commit52e6b198833411564e0b9ce6e96bbd3d72f961e7
treebbd53fc80741737eac22e3163472bf72ae63eaaa
parent02e2681ffe1addde1fc8c35d05657b16bfa79613
drm/hypervdrm: Use vblank timer

HyperV's virtual hardware does not provide vblank interrupts. Use a
vblank timer to simulate the interrupt. Rate-limits the display's
update frequency to the display-mode settings. Avoids excessive CPU
overhead with compositors that do not rate-limit their output.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Tested-by: Michael Kelley <mhklinux@outlook.com>
Tested-by: Prasanna Kumar T S M <ptsm@linux.microsoft.com>
Link: https://lore.kernel.org/r/20250916083816.30275-5-tzimmermann@suse.de
drivers/gpu/drm/hyperv/hyperv_drm_modeset.c