alistair23-linux/drivers/gpu/drm/vkms
Rodrigo Siqueira 3a0709928b drm/vkms: Add vblank events simulated by hrtimers
This commit adds regular vblank events simulated through hrtimers, which
is a feature required by VKMS to mimic real hardware. Additionally, all
the vblank event send after pageflip is kept in the atomic_flush
function.

Changes since V1:
 - Compute the vblank timer interval per interruption
 Ville Syrjälä and Daniel Vetter:
 - Removes hardcoded vblank interval to get it from user space

Changes since V2:
 Chris Wilson
 - Removes unnecessary algorithm to compute the next period
 Daniel Vetter:
 - Uses drm_calc_timestamping_constants to get the vblank interval
   instead of calculating it manually
 - Adds disable_vblank helper that turns of crtc
 - Simplifies implementation by using drm_crtc_arm_vblank_event
 - Replaces the code in atomic_begin to atomic_flush
 - Removes unnecessary field in vkms_output

Changes since V3:
 Daniel Vetter:
 - Squash "drm/vkms: Add atomic helpers functions" into the commit that
   handling vblank events simulated by hrtimers

Signed-off-by: Rodrigo Siqueira <rodrigosiqueiramelo@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/7709bba40782ec06332d57fff337797b272581fc.1531359228.git.rodrigosiqueiramelo@gmail.com
2018-07-12 08:48:48 +02:00
..
Makefile drm/vkms: Add dumb operations 2018-07-12 08:47:44 +02:00
vkms_crtc.c drm/vkms: Add vblank events simulated by hrtimers 2018-07-12 08:48:48 +02:00
vkms_drv.c drm/vkms: Add vblank events simulated by hrtimers 2018-07-12 08:48:48 +02:00
vkms_drv.h drm/vkms: Add vblank events simulated by hrtimers 2018-07-12 08:48:48 +02:00
vkms_gem.c drm/vkms: Add dumb operations 2018-07-12 08:47:44 +02:00
vkms_output.c drm/vkms: Add connectors helpers 2018-07-12 08:48:42 +02:00
vkms_plane.c drm/vkms: Add basic CRTC initialization 2018-07-05 09:46:23 -03:00