diff options
Diffstat (limited to 'common/recipes-kernel/linux/files/0419-drm-amdgpu-use-kernel-fence-for-gfx-ib-test.patch')
-rw-r--r-- | common/recipes-kernel/linux/files/0419-drm-amdgpu-use-kernel-fence-for-gfx-ib-test.patch | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/common/recipes-kernel/linux/files/0419-drm-amdgpu-use-kernel-fence-for-gfx-ib-test.patch b/common/recipes-kernel/linux/files/0419-drm-amdgpu-use-kernel-fence-for-gfx-ib-test.patch deleted file mode 100644 index 8649ca46..00000000 --- a/common/recipes-kernel/linux/files/0419-drm-amdgpu-use-kernel-fence-for-gfx-ib-test.patch +++ /dev/null @@ -1,42 +0,0 @@ -From ab3cb0ce9e865c53f2027068f49a0edb40666f3f Mon Sep 17 00:00:00 2001 -From: Chunming Zhou <david1.zhou@amd.com> -Date: Mon, 3 Aug 2015 13:19:43 +0800 -Subject: [PATCH 0419/1050] drm/amdgpu: use kernel fence for gfx ib test - -Signed-off-by: Chunming Zhou <david1.zhou@amd.com> -Reviewed-by: Christian K?nig <christian.koenig@amd.com> -Reviewed-by: Jammy Zhou <jammy.zhou@amd.com> ---- - drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 2 +- - drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c -index 5fc104b..521d811 100644 ---- a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c -+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c -@@ -2674,7 +2674,7 @@ static int gfx_v7_0_ring_test_ib(struct amdgpu_ring *ring) - if (r) - goto err2; - -- r = amdgpu_fence_wait(ib.fence, false); -+ r = fence_wait(&ib.fence->base, false); - if (r) { - DRM_ERROR("amdgpu: fence wait failed (%d).\n", r); - goto err2; -diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c -index 81fa592..59eae93 100644 ---- a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c -+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c -@@ -636,7 +636,7 @@ static int gfx_v8_0_ring_test_ib(struct amdgpu_ring *ring) - if (r) - goto err2; - -- r = amdgpu_fence_wait(ib.fence, false); -+ r = fence_wait(&ib.fence->base, false); - if (r) { - DRM_ERROR("amdgpu: fence wait failed (%d).\n", r); - goto err2; --- -1.9.1 - |