On Monday, March 8th, 2021 at 9:20 AM, Pekka Paalanen <ppaalanen@xxxxxxxxx> wrote: > > > > +/** > > > > + * DRM_CAP_CRTC_IN_VBLANK_EVENT > > > > + * > > > > + * If set to 1, the kernel supports reporting the CRTC ID in > > > > + * &drm_event_vblank.crtc_id. > > > > > > Does this not apply also to the pageflip / atomic completion event? > > > > Both DRM_EVENT_VBLANK and DRM_EVENT_FLIP_COMPLETE use the struct > > drm_event_vblank, so yes. I'll mention these two events explicitly. > > They do? Seems like I have been spoiled by the libdrm API that uses > drmEventContext with different callbacks for these things. Yeah, see drmHandleEvent [1] in libdrm. [1]: https://gitlab.freedesktop.org/mesa/drm/-/blob/7d6a1759900ffde0a7aac2fa0cbd7c2bf4989476/xf86drmMode.c#L922 _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel