Skip to content

Commit eeef9b3

Browse files
ickledanvet
authored andcommitted
drm/i915: Add -EIO to the list of known errors for __wait_seqno
This prevents a WARN introduced with commit de2b998 Author: Daniel Vetter <[email protected]> Date: Wed Jul 4 22:52:50 2012 +0200 drm/i915: don't return a spurious -EIO from intel_ring_begin Signed-off-by: Chris Wilson <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
1 parent d3373a2 commit eeef9b3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/gpu/drm/i915/i915_gem.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2003,6 +2003,7 @@ static int __wait_seqno(struct intel_ring_buffer *ring, u32 seqno,
20032003
}
20042004

20052005
switch (end) {
2006+
case -EIO:
20062007
case -EAGAIN: /* Wedged */
20072008
case -ERESTARTSYS: /* Signal */
20082009
return (int)end;

0 commit comments

Comments
 (0)