diff options
| author | Thomas Zimmermann <tzimmermann@suse.de> | 2026-04-27 17:00:39 +0200 |
|---|---|---|
| committer | Thomas Zimmermann <tzimmermann@suse.de> | 2026-05-04 13:47:14 +0200 |
| commit | 5c6113e07af73046ef32ac0acc9cdc15fb62c4da (patch) | |
| tree | 15e4f2dbf5ed34c05313c1f24bf74d1bf31ef3e5 /include/linux | |
| parent | 83ae9a231dadbe2b0686786344a692d0b598953a (diff) | |
drm/vmwgfx: Move vblank handling into separate helper
Decouple vblank handling from the underlying hrtimer. This will be
helpful for replacing vmwgfx's vblank timer with DRM's common
implementation.
The new helper vmw_vkms_handle_vblank_timeout() can later be used as
callback for DRM's handle_vblank call as-is. The helper also keeps the
current semantics for restarting the timer. It returns true to restart
the next vblank timeout even if it could not acquire vmwgfx's vblank
lock.
The remaining code in vmw_vkms_vblank_simulate() will be replaced by
the DRM implementation in a later patch.
v2:
- clarify return-value semantics in commit message (Zack)
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Zack Rusin <zack.rusin@broadcom.com>
Link: https://patch.msgid.link/20260427150250.699768-3-tzimmermann@suse.de
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
