[PATCH] drm: Repurpose reserved field of drm_event_vlank to crtc_id

2015-08-17 Thread Ander Conselvan de Oliveira
With the atomic API, it is possible that a single commit affects multiple crtcs. If the user requests an event with that commit, one event will be sent for each CRTC, but it is not possible to distinguish which crtc an event is for in user space. To solve this, the reserved field in struct drm_vbla

[PATCH] drm: Repurpose reserved field of drm_event_vlank to crtc_id

2015-08-17 Thread Ander Conselvan de Oliveira
With the atomic API, it is possible that a single commit affects multiple crtcs. If the user requests an event with that commit, one event will be sent for each CRTC, but it is not possible to distinguish which crtc an event is for in user space. To solve this, the reserved field in struct drm_vbla