On Sat, Sep 24, 2011 at 03:23:04PM -0700, Ben Widawsky wrote:
> When we attempt to idle the GPU we take a shortcut by checking if our
> lists are empty and if so, avoid doing a synchronizing flush. The
> warning will let us know if this assumption turns out to not be correct.
> 
> Cc: Chris Wilson <ch...@chris-wilson.co.uk>
> Signed-off-by: Ben Widawsky <b...@bwidawsk.net>

I've just discussed this quickly with Chris on irc and it's probabbly
best to just kill the list_empty early bailout. gpu_idle isn't a fastpath,
so who cares. One candidate where we emit commands to the ring without
adding anything onto these lists is e.g. pageflip. There're probably
more.

Also it looks like this causes us to no properly idle the gpu on
suspend/resume. Might fix issues especially on gen2/3 where we put an
MI_WAIT in front of the flip, hence enlarging the window to up to 20 ms.
-Daniel
-- 
Daniel Vetter
Mail: dan...@ffwll.ch
Mobile: +41 (0)79 365 57 48
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to