[RFC] Repurpose reserved field in vblank event to crtc_id

Ander Conselvan de Oliveira ander.conselvan.de.oliveira at intel.com
Mon Aug 17 06:21:22 PDT 2015


Hi,

Right now, if an atomic commit sends multiple vblank events it is not
possible to distiguish for each crtc each event is for in userspace.
This series changes that be repurposing the reserved field in struct
drm_event_vblank.

Would this be a sane thing to do?

Thanks,
Ander

 drivers/gpu/drm/drm_atomic.c | 7 +++++--
 drivers/gpu/drm/drm_crtc.c   | 1 +
 drivers/gpu/drm/drm_ioctl.c  | 3 +++
 include/uapi/drm/drm.h       | 3 ++-
 4 files changed, 11 insertions(+), 3 deletions(-)

-- 
2.4.3



More information about the dri-devel mailing list