aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0401-drm-amdgpu-wait-forever-for-wait-emit.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0401-drm-amdgpu-wait-forever-for-wait-emit.patch')
-rw-r--r--common/recipes-kernel/linux/files/0401-drm-amdgpu-wait-forever-for-wait-emit.patch63
1 files changed, 0 insertions, 63 deletions
diff --git a/common/recipes-kernel/linux/files/0401-drm-amdgpu-wait-forever-for-wait-emit.patch b/common/recipes-kernel/linux/files/0401-drm-amdgpu-wait-forever-for-wait-emit.patch
deleted file mode 100644
index 83bb4c28..00000000
--- a/common/recipes-kernel/linux/files/0401-drm-amdgpu-wait-forever-for-wait-emit.patch
+++ /dev/null
@@ -1,63 +0,0 @@
-From 51b9db27d07869cf565ba135e97e2ed5f858612e Mon Sep 17 00:00:00 2001
-From: Chunming Zhou <david1.zhou@amd.com>
-Date: Tue, 28 Jul 2015 17:31:04 +0800
-Subject: [PATCH 0401/1050] drm/amdgpu: wait forever for wait emit
-
-the job must be emitted by scheduler, otherwise scheduler is abnormal.
-
-Signed-off-by: Chunming Zhou <david1.zhou@amd.com>
-Reviewed-by: Christian K?nig <christian.koenig@amd.com>
----
- drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c | 4 ++--
- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 6 +++---
- 2 files changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
-index 58ce265..95807b6 100644
---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
-+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
-@@ -302,8 +302,8 @@ struct fence *amdgpu_ctx_get_fence(struct amdgpu_ctx *ctx,
- if (amdgpu_enable_scheduler) {
- r = amd_sched_wait_emit(&cring->c_entity,
- seq,
-- true,
-- AMDGPU_WAIT_IDLE_TIMEOUT_IN_MS);
-+ false,
-+ -1);
- if (r)
- return NULL;
- }
-diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
-index 34938d2..26c55a7 100644
---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
-+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
-@@ -386,7 +386,7 @@ static int amdgpu_vm_clear_bo(struct amdgpu_device *adev,
- sched_job);
- r = amd_sched_wait_emit(&adev->kernel_ctx->rings[ring->idx].c_entity,
- v_seq,
-- true,
-+ false,
- -1);
- if (r)
- DRM_ERROR("emit timeout\n");
-@@ -537,7 +537,7 @@ int amdgpu_vm_update_page_directory(struct amdgpu_device *adev,
- sched_job);
- r = amd_sched_wait_emit(&adev->kernel_ctx->rings[ring->idx].c_entity,
- v_seq,
-- true,
-+ false,
- -1);
- if (r)
- DRM_ERROR("emit timeout\n");
-@@ -890,7 +890,7 @@ static int amdgpu_vm_bo_update_mapping(struct amdgpu_device *adev,
- sched_job);
- r = amd_sched_wait_emit(&adev->kernel_ctx->rings[ring->idx].c_entity,
- v_seq,
-- true,
-+ false,
- -1);
- if (r)
- DRM_ERROR("emit timeout\n");
---
-1.9.1
-