Comment 39 for bug 1176647

Revision history for this message
In , Adf-lists (adf-lists) wrote :

(In reply to Chris Wilson from comment #13)
> Implemented the bspec recommendation:
>
> commit d247cb7d0cdb73736f31612157e47f166af68ba0
> Author: Chris Wilson <email address hidden>
> Date: Mon Dec 8 10:07:25 2014 +0000
>
> sna/gen6: Poke PSMI control around WAIT_FOR_EVENT to prevent idling
>
> The bspec recommends preventing the hardware from going to sleep around
> a WAIT_FOR_EVENT, and tells us to use disable sleep bit in PSMI control
> to accomplish this.
>
> References: https://bugs.freedesktop.org/show_bug.cgi?id=62373
> Signed-off-by: Chris Wilson <email address hidden>
>
> It's worth another go...

OK so not my bug but with a baytrail J1900N this does not prevent a vaapi hard lock (probably when de-interlacing h/w or s/w so fps = refresh) for me.

I only recently started seeing locks - turns out that dri3 was OK for me, but of course it then got disabled by default and I started getting locks.

This is with kodi - it seems they recommend 910 as the last stable driver - and I can lock with 311.

This was tested with head on this commit, kernel nightly and mesa about a week old.