aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0184-drm-amdgpu-let-bo_list-handler-start-from-1.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0184-drm-amdgpu-let-bo_list-handler-start-from-1.patch')
-rw-r--r--common/recipes-kernel/linux/files/0184-drm-amdgpu-let-bo_list-handler-start-from-1.patch34
1 files changed, 0 insertions, 34 deletions
diff --git a/common/recipes-kernel/linux/files/0184-drm-amdgpu-let-bo_list-handler-start-from-1.patch b/common/recipes-kernel/linux/files/0184-drm-amdgpu-let-bo_list-handler-start-from-1.patch
deleted file mode 100644
index 67534de3..00000000
--- a/common/recipes-kernel/linux/files/0184-drm-amdgpu-let-bo_list-handler-start-from-1.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From decee87a88c05980ebc545c19d4ff252052ddc3e Mon Sep 17 00:00:00 2001
-From: "monk.liu" <monk.liu@amd.com>
-Date: Mon, 27 Apr 2015 10:38:16 +0800
-Subject: [PATCH 0184/1050] drm/amdgpu: let bo_list handler start from 1
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-this could prevent mis-understanding, because libdrm side will consider
-no bo_list created if handleis zero
-
-Signed-off-by: monk.liu <monk.liu@amd.com>
-Reviewed-by: Christian König <christian.koenig@amd.com>
-Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
----
- drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c
-index 819fb86..36d34e0 100644
---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c
-+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c
-@@ -43,7 +43,7 @@ static int amdgpu_bo_list_create(struct amdgpu_fpriv *fpriv,
-
- mutex_lock(&fpriv->bo_list_lock);
- r = idr_alloc(&fpriv->bo_list_handles, *result,
-- 0, 0, GFP_KERNEL);
-+ 1, 0, GFP_KERNEL);
- if (r < 0) {
- mutex_unlock(&fpriv->bo_list_lock);
- kfree(*result);
---
-1.9.1
-