projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2993555
)
drm/radeon: return an error if there is nothing to wait for
author
Christian König
<
[email protected]
>
Wed, 11 Jul 2012 15:12:11 +0000
(17:12 +0200)
committer
Christian König
<
[email protected]
>
Wed, 18 Jul 2012 11:17:32 +0000
(13:17 +0200)
Otherwise the sa managers out of memory
handling doesn't work.
Signed-off-by: Christian König <
[email protected]
>
Reviewed-by: Alex Deucher <
[email protected]
>
drivers/gpu/drm/radeon/radeon_fence.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/radeon/radeon_fence.c
b/drivers/gpu/drm/radeon/radeon_fence.c
index 76c5b22bfd22de0501ad275fa5f021ca3e583fbe..7a181c386cbd93a099b84fe4699d039b9409e591 100644
(file)
--- a/
drivers/gpu/drm/radeon/radeon_fence.c
+++ b/
drivers/gpu/drm/radeon/radeon_fence.c
@@
-331,7
+331,7
@@
static int radeon_fence_wait_any_seq(struct radeon_device *rdev,
/* nothing to wait for ? */
if (ring == RADEON_NUM_RINGS) {
- return
0
;
+ return
-ENOENT
;
}
while (!radeon_fence_any_seq_signaled(rdev, target_seq)) {