Skip to contentSkip to conversation

drm/i915: Fix EIO/wedged handling in gem fault handler

PATCH Jani Nikula 1 participant 1 message Sep 4, 2014 3 messages not in the archive

lore
Share & tools
lore

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

author Applied
#3 lore raw
Quoted 20 lines · Chris Wilson
Quoted 19 lines · Daniel Vetter

In

commit 1f83fee08d625f8d0130f9fe5ef7b17c2e022f3c

Author: Daniel Vetter <[email protected]>
Date:   Thu Nov 15 17:17:22 2012 +0100

drm/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 -EIO when swap-in fails.

Quoted 7 lines
Quoted 6 lines

v3: Don't remove too much ... oops.

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