Skip to content
Commit 21dd3734 authored by Chris Wilson's avatar Chris Wilson
Browse files

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: default avatarChris Wilson <chris@chris-wilson.co.uk>
parent e110e8d6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment