diff options
author | Leo Liu <leo.liu@amd.com> | 2015-09-04 15:08:55 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-09-04 16:31:22 -0400 |
commit | 898e50d444e12f735e45d07cd3f306ac5d4abca8 (patch) | |
tree | a3039ebac3a7d178527f7acc0fcd6b7012753860 /drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c | |
parent | 140b519f7a117c86c085b3800a2fea3015cd877f (diff) |
drm/amdgpu: remove ib test for the second VCE Ring
it seems the VCE ring 1 ib test not reliable, remove it for now.
Signed-off-by: Leo Liu <leo.liu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Tested-and-Reviewed-by: Sonny Jiang <sonny.jiang@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c index 76982438d1c6..3cab96c42aa8 100644 --- 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) | |||
838 | struct fence *fence = NULL; | 838 | struct fence *fence = NULL; |
839 | int r; | 839 | int r; |
840 | 840 | ||
841 | /* skip vce ring1 ib test for now, since it's not reliable */ | ||
842 | if (ring == &ring->adev->vce.ring[1]) | ||
843 | return 0; | ||
844 | |||
841 | r = amdgpu_vce_get_create_msg(ring, 1, NULL); | 845 | r = amdgpu_vce_get_create_msg(ring, 1, NULL); |
842 | if (r) { | 846 | if (r) { |
843 | DRM_ERROR("amdgpu: failed to get create msg (%d).\n", r); | 847 | DRM_ERROR("amdgpu: failed to get create msg (%d).\n", r); |