Re: [PATCH weston] compositor-drm: Don't page flip before a mode is set

2013-05-07 Thread Ander Conselvan de Oliveira
On 05/07/2013 02:56 PM, Jonas Ådahl wrote: On Tue, May 7, 2013 at 1:16 PM, Ander Conselvan de Oliveira wrote: The function drm_output_start_repaint_loop() unconditionally issues a page flip, even if the crtc for that output has not been enabled yet. That causes the page flip to fail, and drm_ou

Re: [PATCH weston] compositor-drm: Don't page flip before a mode is set

2013-05-07 Thread Jonas Ådahl
On Tue, May 7, 2013 at 1:16 PM, Ander Conselvan de Oliveira wrote: > The function drm_output_start_repaint_loop() unconditionally issues a > page flip, even if the crtc for that output has not been enabled yet. > That causes the page flip to fail, and drm_output_repaint() is never > called. > > So

Re: [PATCH weston] compositor-drm: Don't page flip before a mode is set

2013-05-07 Thread Rob Bradford
On Tue, May 07, 2013 at 02:16:59PM +0300, Ander Conselvan de Oliveira wrote: > The function drm_output_start_repaint_loop() unconditionally issues a > page flip, even if the crtc for that output has not been enabled yet. > That causes the page flip to fail, and drm_output_repaint() is never > calle

[PATCH weston] compositor-drm: Don't page flip before a mode is set

2013-05-07 Thread Ander Conselvan de Oliveira
The function drm_output_start_repaint_loop() unconditionally issues a page flip, even if the crtc for that output has not been enabled yet. That causes the page flip to fail, and drm_output_repaint() is never called. Solve this by bypassing the initial page flip if the output needs a mode set. Th