aboutsummaryrefslogtreecommitdiffstats
path: root/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1621-drm-amdgpu-Fixed-memory-leak-in-amdgpu_bo_create_res.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1621-drm-amdgpu-Fixed-memory-leak-in-amdgpu_bo_create_res.patch')
-rw-r--r--meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1621-drm-amdgpu-Fixed-memory-leak-in-amdgpu_bo_create_res.patch39
1 files changed, 0 insertions, 39 deletions
diff --git a/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1621-drm-amdgpu-Fixed-memory-leak-in-amdgpu_bo_create_res.patch b/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1621-drm-amdgpu-Fixed-memory-leak-in-amdgpu_bo_create_res.patch
deleted file mode 100644
index 72d50e7c..00000000
--- a/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1621-drm-amdgpu-Fixed-memory-leak-in-amdgpu_bo_create_res.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From 3b7d1cd9ab3b1b870762a3e5c325fca31959dbff Mon Sep 17 00:00:00 2001
-From: ozeng <oak.zeng@amd.com>
-Date: Fri, 24 Mar 2017 18:17:04 -0500
-Subject: [PATCH 1621/4131] drm/amdgpu: Fixed memory leak in
- amdgpu_bo_create_restricted
-
-Change-Id: I0f930ea7a94c82bab1d7ee2c804f98168dc98184
-Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
----
- drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 6 ------
- 1 file changed, 6 deletions(-)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
-index 6215299..f503bcf 100755
---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
-+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
-@@ -339,7 +339,6 @@ int amdgpu_bo_create_restricted(struct amdgpu_device *adev,
- struct amdgpu_bo **bo_ptr)
- {
- struct amdgpu_bo *bo;
-- struct amdgpu_gem_object *gobj;
- enum ttm_bo_type type;
- unsigned long page_align;
- u64 initial_bytes_moved, bytes_moved;
-@@ -364,11 +363,6 @@ int amdgpu_bo_create_restricted(struct amdgpu_device *adev,
- bo = kzalloc(sizeof(struct amdgpu_bo), GFP_KERNEL);
- if (bo == NULL)
- return -ENOMEM;
-- gobj = kzalloc(sizeof(struct amdgpu_gem_object), GFP_KERNEL);
-- if (unlikely(!gobj)) {
-- amdgpu_bo_unref(&bo);
-- return -ENOMEM;
-- }
-
- INIT_LIST_HEAD(&bo->shadow_list);
- INIT_LIST_HEAD(&bo->va);
---
-2.7.4
-