drm: Pass CRTC ID in userspace vblank events
authorPeeter Must <karu.pruun@gmail.com>
Thu, 23 Jan 2020 08:43:48 +0000 (10:43 +0200)
committerPeeter Must <karu.pruun@gmail.com>
Thu, 23 Jan 2020 08:43:48 +0000 (10:43 +0200)
commit2949ab59982d98097a6dbae48c7c5acb8ce5992c
tree6ca818067d61dfbfd197e4adc2a1c174526a5dc9
parent9636b018cc2455c0b337cf3994c64089c014786b
drm: Pass CRTC ID in userspace vblank events

* Add DRM_CAP_CRTC_IN_VBLANK_EVENT so userspace can
  query the crtc field.

* This follows Linux's commit
  5db06a8a98f515f67446a69c57577c4c363ec65d.
sys/dev/drm/drm_ioctl.c
sys/dev/drm/drm_irq.c
sys/dev/drm/include/uapi/drm/drm.h