diff options
Diffstat (limited to 'meta-amdfalconx86/recipes-kernel/linux/linux-yocto/0533-drm-amdgpu-remove-ib-test-for-the-second-VCE-Ring.patch')
-rw-r--r-- | meta-amdfalconx86/recipes-kernel/linux/linux-yocto/0533-drm-amdgpu-remove-ib-test-for-the-second-VCE-Ring.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta-amdfalconx86/recipes-kernel/linux/linux-yocto/0533-drm-amdgpu-remove-ib-test-for-the-second-VCE-Ring.patch b/meta-amdfalconx86/recipes-kernel/linux/linux-yocto/0533-drm-amdgpu-remove-ib-test-for-the-second-VCE-Ring.patch new file mode 100644 index 00000000..d42f68a4 --- /dev/null +++ b/meta-amdfalconx86/recipes-kernel/linux/linux-yocto/0533-drm-amdgpu-remove-ib-test-for-the-second-VCE-Ring.patch @@ -0,0 +1,36 @@ +From 898e50d444e12f735e45d07cd3f306ac5d4abca8 Mon Sep 17 00:00:00 2001 +From: Leo Liu <leo.liu@amd.com> +Date: Fri, 4 Sep 2015 15:08:55 -0400 +Subject: [PATCH 0533/1050] drm/amdgpu: remove ib test for the second VCE Ring +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +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> +--- + drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c +index 7698243..3cab96c 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) + 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); +-- +1.9.1 + |