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:
140b519
)
drm/amdgpu: remove ib test for the second VCE Ring
author
Leo Liu
<
[email protected]
>
Fri, 4 Sep 2015 19:08:55 +0000
(15:08 -0400)
committer
Alex Deucher
<
[email protected]
>
Fri, 4 Sep 2015 20:31:22 +0000
(16:31 -0400)
it seems the VCE ring 1 ib test not reliable, remove it for now.
Signed-off-by: Leo Liu <
[email protected]
>
Reviewed-by: Alex Deucher <
[email protected]
>
Reviewed-by: Christian König <
[email protected]
>
Tested-and-Reviewed-by: Sonny Jiang <
[email protected]
>
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
index 76982438d1c6ba32a5d9fce5ebb8ba2f76c2ed01..3cab96c42aa8843487190248b98d999fb6b3598c 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
+++ b/
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
@@
-838,6
+838,10
@@
int amdgpu_vce_ring_test_ib(struct amdgpu_ring *ring)
struct fence *fence = NULL;
int r;
+ /* skip vce ring1 ib test for now, since it's not reliable */
+ if (ring == &ring->adev->vce.ring[1])
+ return 0;
+
r = amdgpu_vce_get_create_msg(ring, 1, NULL);
if (r) {
DRM_ERROR("amdgpu: failed to get create msg (%d).\n", r);