[PATCH 16/16] modesetting: Implement page flipping support for Present.

Michel Dänzer michel at daenzer.net
Thu Jun 25 20:56:34 PDT 2015


On 26.06.2015 08:51, Dave Airlie wrote:
> 
> move flip tracking into its own structure, [...]

That's potentially problematic, because ms_present_event_match() assumes
the queue entry is a struct ms_present_vblank_event. (The same problem
already exists vs. DRI2 events, but that's less likely to be an issue in
practice)

I solved that in the radeon driver by making the drm_queue abstraction
itself track IDs of events (though I just realized I can take that a bit
further still).


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer


More information about the xorg-devel mailing list