Re: [PATCH weston] libweston/compositor-drm: Reset repaint scheduled status when setting DPMS level to off

2018-03-26 Thread Marius-cristian Vlad
On Fri, 2018-03-23 at 21:30 +0300, Greg V wrote: > > On 7 March 2018 at 17:36, Marius Vlad > nxp.comĀ  > > > Flists.freedesktop.org%2Fmailman%2Flistinfo%2Fwayland- > > devel=02%7C01%7Cmarius- > >

Re: [PATCH weston] libweston/compositor-drm: Reset repaint scheduled status when setting DPMS level to off

2018-03-23 Thread Greg V
On 7 March 2018 at 17:36, Marius Vlad > wrote: / /Otherwise when setting dpms level DPMS_ON, weston_output_schedule_repaint() //will bail out early and never get a chance to wake up the output. Arguably this could also be done in

Re: [PATCH weston] libweston/compositor-drm: Reset repaint scheduled status when setting DPMS level to off

2018-03-09 Thread Marius-cristian Vlad
On Fri, 2018-03-09 at 09:35 +, Daniel Stone wrote: > Hi Marius, > > On 7 March 2018 at 17:36, Marius Vlad > wrote: > > Otherwise when setting dpms level DPMS_ON, > > weston_output_schedule_repaint() > > will bail out early and never get a chance to wake up the

Re: [PATCH weston] libweston/compositor-drm: Reset repaint scheduled status when setting DPMS level to off

2018-03-09 Thread Daniel Stone
Hi Marius, On 7 March 2018 at 17:36, Marius Vlad wrote: > Otherwise when setting dpms level DPMS_ON, weston_output_schedule_repaint() > will bail out early and never get a chance to wake up the output. > > Arguably this could also be done in drm_set_dpms() when

[PATCH weston] libweston/compositor-drm: Reset repaint scheduled status when setting DPMS level to off

2018-03-07 Thread Marius Vlad
Otherwise when setting dpms level DPMS_ON, weston_output_schedule_repaint() will bail out early and never get a chance to wake up the output. Arguably this could also be done in drm_set_dpms() when setting dpms_off_pending but I figure it better to do it when deferred. Signed-off-by: Marius Vlad