aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0714-drm-amdgpu-fix-the-lost-duplicates-checking.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0714-drm-amdgpu-fix-the-lost-duplicates-checking.patch')
-rw-r--r--common/recipes-kernel/linux/files/0714-drm-amdgpu-fix-the-lost-duplicates-checking.patch38
1 files changed, 0 insertions, 38 deletions
diff --git a/common/recipes-kernel/linux/files/0714-drm-amdgpu-fix-the-lost-duplicates-checking.patch b/common/recipes-kernel/linux/files/0714-drm-amdgpu-fix-the-lost-duplicates-checking.patch
deleted file mode 100644
index e77cdedc..00000000
--- a/common/recipes-kernel/linux/files/0714-drm-amdgpu-fix-the-lost-duplicates-checking.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From e410b5cbabe70b1f1da08146481f6bd7e904643c Mon Sep 17 00:00:00 2001
-From: Chunming Zhou <David1.Zhou@amd.com>
-Date: Mon, 7 Dec 2015 15:02:52 +0800
-Subject: [PATCH 0714/1565] drm/amdgpu: fix the lost duplicates checking
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-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>
-Cc: stable@vger.kernel.org
----
- drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 8 ++++++++
- 1 file changed, 8 insertions(+)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
-index f6ea4b4..9c253c5 100644
---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
-+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
-@@ -477,6 +477,14 @@ static void amdgpu_gem_va_update_vm(struct amdgpu_device *adev,
- if (domain == AMDGPU_GEM_DOMAIN_CPU)
- goto error_unreserve;
- }
-+ list_for_each_entry(entry, &duplicates, head) {
-+ domain = amdgpu_mem_type_to_domain(entry->bo->mem.mem_type);
-+ /* if anything is swapped out don't swap it in here,
-+ just abort and wait for the next CS */
-+ if (domain == AMDGPU_GEM_DOMAIN_CPU)
-+ goto error_unreserve;
-+ }
-+
- r = amdgpu_vm_update_page_directory(adev, bo_va->vm);
- if (r)
- goto error_unreserve;
---
-1.9.1
-