commit | 21dd373486956d7789ffd878347c36efad16923d | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Wed Jan 26 15:55:56 2011 +0000 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Thu Jan 27 11:06:07 2011 +0000 |
tree | 4b0420fdb193276f4e53df78afc50642e8984a5e | |
parent | e110e8d672c9e6e395a5c8bfa3444899b85181ed [diff] |
drm/i915: Defer reporting EIO until we try to use the GPU Instead of reporting EIO upfront in the entrance of an ioctl that may or may not attempt to use the GPU, defer the actual detection of an invalid ioctl to when we issue a GPU instruction. This allows us to continue to use bo in video memory (via pread/pwrite and mmap) after the GPU has hung. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>