Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 898e50d4 authored by Leo Liu's avatar Leo Liu Committed by Alex Deucher
Browse files

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: default avatarLeo Liu <leo.liu@amd.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Tested-and-Reviewed-by: default avatarSonny Jiang <sonny.jiang@amd.com>
parent 140b519f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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);