Re: [PATCH 1/2] compositor-drm: avoid output_destroy happened before page_flip event

2013-10-11 Thread Kristian Høgsberg
On Fri, Oct 11, 2013 at 02:43:07PM +0800, Xiong Zhang wrote: > Currently there is no guarentee that output remove event always happend after > page_flip event on the same output. So if the following situation occur: > first: unplug a output > second: output remove event arrive, output_destrory call

[PATCH 1/2] compositor-drm: avoid output_destroy happened before page_flip event

2013-10-10 Thread Xiong Zhang
Currently there is no guarentee that output remove event always happend after page_flip event on the same output. So if the following situation occur: first: unplug a output second: output remove event arrive, output_destrory called adn free output third: page_flip event arrive on the destroyed out