[PATCH] drm/i915: Suppress EIO during set-to-cpu-domain

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 15 Apr 2012 00:16:15 +0200, Daniel Vetter <daniel at ffwll.ch> wrote:
> On Sat, Apr 14, 2012 at 10:24:21AM +0100, Chris Wilson wrote:
> > If the hardware is dead, we can simply discard any outstanding writes
> > from the GPU and presume the buffer is either in the GTT domain or
> > already in the CPU domain and continue on flushing the CPU caches.
> > 
> > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> 
> Pardon my ignorance, but I fail to see the goal of these -EIO patches ...
> Care to mind the dense?

I encountered a page-fault-of-doom, due to i915_gem_fault() spinning on
a flush. i915_gem_reset() should fixup the buffers to prevent that.
However, I thought the EIO checks served as nice documentation along
paths that simply did not care why the GPU was no longer accessing the
buffer only that it wasn't.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux