aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0581-drm-amdgpu-add-TOPDOWN-flag-to-the-whole-vram.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0581-drm-amdgpu-add-TOPDOWN-flag-to-the-whole-vram.patch')
-rw-r--r--common/recipes-kernel/linux/files/0581-drm-amdgpu-add-TOPDOWN-flag-to-the-whole-vram.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/common/recipes-kernel/linux/files/0581-drm-amdgpu-add-TOPDOWN-flag-to-the-whole-vram.patch b/common/recipes-kernel/linux/files/0581-drm-amdgpu-add-TOPDOWN-flag-to-the-whole-vram.patch
deleted file mode 100644
index 3c7b1c8c..00000000
--- a/common/recipes-kernel/linux/files/0581-drm-amdgpu-add-TOPDOWN-flag-to-the-whole-vram.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From 95d7918323be0090a1cc36f0ebdd1d3af88f2335 Mon Sep 17 00:00:00 2001
-From: Chunming Zhou <david1.zhou@amd.com>
-Date: Wed, 23 Sep 2015 17:22:43 +0800
-Subject: [PATCH 0581/1565] drm/amdgpu: add TOPDOWN flag to the whole vram
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-need to decrease visible vram usage by default.
-
-Signed-off-by: Chunming Zhou <david1.zhou@amd.com>
-Reviewed-by: monk.liu <monk.liu@amd.com>
-Reviewed-by: Christian König <christian.koenig@amd.com>
----
- drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
-index 1a7708f..0d52438 100644
---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
-+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
-@@ -132,6 +132,8 @@ static void amdgpu_ttm_placement_init(struct amdgpu_device *adev,
- placements[c].fpfn = 0;
- placements[c++].flags = TTM_PL_FLAG_WC | TTM_PL_FLAG_UNCACHED |
- TTM_PL_FLAG_VRAM;
-+ if (!(flags & AMDGPU_GEM_CREATE_CPU_ACCESS_REQUIRED))
-+ placements[c - 1].flags |= TTM_PL_FLAG_TOPDOWN;
- }
-
- if (domain & AMDGPU_GEM_DOMAIN_GTT) {
---
-1.9.1
-