Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
f4e0b29b
Commit
f4e0b29b
authored
Oct 29, 2010
by
Chris Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/i915: Check if the GPU hung whilst waiting for the ring to clear
Signed-off-by:
Chris Wilson
<
chris@chris-wilson.co.uk
>
parent
6dda569f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
drivers/gpu/drm/i915/intel_ringbuffer.c
drivers/gpu/drm/i915/intel_ringbuffer.c
+2
-0
No files found.
drivers/gpu/drm/i915/intel_ringbuffer.c
View file @
f4e0b29b
...
@@ -711,6 +711,8 @@ int intel_wait_ring_buffer(struct intel_ring_buffer *ring, int n)
...
@@ -711,6 +711,8 @@ int intel_wait_ring_buffer(struct intel_ring_buffer *ring, int n)
}
}
msleep
(
1
);
msleep
(
1
);
if
(
atomic_read
(
&
dev_priv
->
mm
.
wedged
))
return
-
EAGAIN
;
}
while
(
!
time_after
(
jiffies
,
end
));
}
while
(
!
time_after
(
jiffies
,
end
));
trace_i915_ring_wait_end
(
dev
);
trace_i915_ring_wait_end
(
dev
);
return
-
EBUSY
;
return
-
EBUSY
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment