On Tue, Mar 25, 2014 at 9:03 AM, Chris Wilson <[email protected]> wrote:
> If we try to execute on a known ring, but it has failed to be
> initialised correctly, report that the GPU is hung rather than the
> command invalid. This leaves us reporting EINVAL only if the user
> requests execution on a ring that is not supported by the device.
>
> This should prevent UXA from getting stuck in a null render loop after a
> failed resume.
>
> Reported-by: Jiri Kosina <[email protected]>
> References: https://bugs.freedesktop.org/show_bug.cgi?id=76554
> Signed-off-by: Chris Wilson <[email protected]>

Feels a bit like duct-tape ... Shouldn't we instead stop tearing down
ringbuffer structures over suspend/resume? And maybe the same for init
with your patch applied.

Or we simply check for wedged first thing in execbuf ...
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to