drm/i915: Fix EIO/wedged handling in gem fault handler
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Jani Nikula
AppliedQuoted 20 lines · Chris Wilson
Quoted 19 lines · Daniel Vetter
In
commit
1f83fee08d625f8d0130f9fe5ef7b17c2e022f3cAuthor: Daniel Vetter <[email protected]> Date: Thu Nov 15 17:17:22 2012 +0100drm/i915: clear up wedged transitions
I've accidentally inverted the EIO/wedged handling in the fault
handler: We want to return the EIO as a SIGBUS only if it's not because of the gpu having died, to prevent userspace from unduly dying.In my defence the comment right above is completely misleading, so fix both.
v2: Drop the
WARN_ON, it's not actually a bug to e.g. receive an-EIOwhen swap-in fails.
Quoted 7 lines
Quoted 6 lines
v3: Don't remove too much ... oops.
Reported-by Chris Wilson <[email protected]>Cc Chris Wilson <[email protected]>Signed-off-by Daniel Vetter <[email protected]>Reviewed-by Chris Wilson <[email protected]>
Pushed to drm-intel-fixes, thanks for the patch and review.
BR,
Jani.
Quoted 8 lines
-Chris
Signature · 5 lines
Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 1 line
Jani Nikula, Intel Open Source Technology Center