aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0190-drm-amdgpu-fix-userptr-lockup.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0190-drm-amdgpu-fix-userptr-lockup.patch')
-rw-r--r--common/recipes-kernel/linux/files/0190-drm-amdgpu-fix-userptr-lockup.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/common/recipes-kernel/linux/files/0190-drm-amdgpu-fix-userptr-lockup.patch b/common/recipes-kernel/linux/files/0190-drm-amdgpu-fix-userptr-lockup.patch
deleted file mode 100644
index 10a38ab8..00000000
--- a/common/recipes-kernel/linux/files/0190-drm-amdgpu-fix-userptr-lockup.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From a961ea7349d08d5962b6a619f2c2cca670da41ed Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Christian=20K=C3=B6nig?= <christian.koenig@amd.com>
-Date: Mon, 4 May 2015 13:20:36 +0200
-Subject: [PATCH 0190/1050] drm/amdgpu: fix userptr lockup
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Signed-off-by: Christian König <christian.koenig@amd.com>
-Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
-Reviewed-by: Monk Liu <monk.liu@amd.com>
----
- drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c
-index b3a17a9..b1969f2 100644
---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c
-+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c
-@@ -142,6 +142,9 @@ static void amdgpu_mn_invalidate_range_start(struct mmu_notifier *mn,
-
- list_for_each_entry(bo, &node->bos, mn_list) {
-
-+ if (!bo->tbo.ttm || bo->tbo.ttm->state != tt_bound)
-+ continue;
-+
- r = amdgpu_bo_reserve(bo, true);
- if (r) {
- DRM_ERROR("(%ld) failed to reserve user bo\n", r);
---
-1.9.1
-