aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0435-drm-amdgpu-total-vram-size-also-reduces-pin-size.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0435-drm-amdgpu-total-vram-size-also-reduces-pin-size.patch')
-rw-r--r--common/recipes-kernel/linux/files/0435-drm-amdgpu-total-vram-size-also-reduces-pin-size.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/common/recipes-kernel/linux/files/0435-drm-amdgpu-total-vram-size-also-reduces-pin-size.patch b/common/recipes-kernel/linux/files/0435-drm-amdgpu-total-vram-size-also-reduces-pin-size.patch
deleted file mode 100644
index 0a1c46a7..00000000
--- a/common/recipes-kernel/linux/files/0435-drm-amdgpu-total-vram-size-also-reduces-pin-size.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 19b4a59ce20163bac0cf431ca82e19d0fc3cb39e Mon Sep 17 00:00:00 2001
-From: Chunming Zhou <David1.Zhou@amd.com>
-Date: Fri, 1 Apr 2016 17:05:30 +0800
-Subject: [PATCH 0435/1110] drm/amdgpu: total vram size also reduces pin size
-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>
----
- drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
-index c825880..8efe335 100644
---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
-+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
-@@ -382,6 +382,7 @@ static int amdgpu_info_ioctl(struct drm_device *dev, void *data, struct drm_file
- struct drm_amdgpu_info_vram_gtt vram_gtt;
-
- vram_gtt.vram_size = adev->mc.real_vram_size;
-+ vram_gtt.vram_size -= adev->vram_pin_size;
- vram_gtt.vram_cpu_accessible_size = adev->mc.visible_vram_size;
- vram_gtt.vram_cpu_accessible_size -= adev->vram_pin_size;
- vram_gtt.gtt_size = adev->mc.gtt_size;
---
-2.7.4
-