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:
815d27a
)
drm/amdgpu: fix sdma_v2_4_ring_test_ib
author
Christian König
<
[email protected]
>
Wed, 17 Aug 2016 12:10:37 +0000
(14:10 +0200)
committer
Alex Deucher
<
[email protected]
>
Fri, 19 Aug 2016 16:26:30 +0000
(12:26 -0400)
Typo in checking the return code.
Signed-off-by: Christian König <
[email protected]
>
Reviewed-by: Alex Deucher <
[email protected]
>
Reviewed-by: Chunming Zhou <
[email protected]
>
Signed-off-by: Alex Deucher <
[email protected]
>
drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c
b/drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c
index 1351c7e834a21653a358ad3578dad91f60de9da9..a64715d90503a87e02478d6fe718eb7c90047b37 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c
+++ b/
drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c
@@
-714,7
+714,7
@@
static int sdma_v2_4_ring_test_ib(struct amdgpu_ring *ring, long timeout)
DRM_ERROR("amdgpu: IB test timed out\n");
r = -ETIMEDOUT;
goto err1;
- } else if (r) {
+ } else if (r
< 0
) {
DRM_ERROR("amdgpu: fence wait failed (%ld).\n", r);
goto err1;
}