aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-graphics/drm/libdrm-2.4.66/0122-amdgpu-add-info-about-vram-and-gtt-max-allocation-si.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-graphics/drm/libdrm-2.4.66/0122-amdgpu-add-info-about-vram-and-gtt-max-allocation-si.patch')
-rw-r--r--common/recipes-graphics/drm/libdrm-2.4.66/0122-amdgpu-add-info-about-vram-and-gtt-max-allocation-si.patch44
1 files changed, 0 insertions, 44 deletions
diff --git a/common/recipes-graphics/drm/libdrm-2.4.66/0122-amdgpu-add-info-about-vram-and-gtt-max-allocation-si.patch b/common/recipes-graphics/drm/libdrm-2.4.66/0122-amdgpu-add-info-about-vram-and-gtt-max-allocation-si.patch
deleted file mode 100644
index ca6f16c5..00000000
--- a/common/recipes-graphics/drm/libdrm-2.4.66/0122-amdgpu-add-info-about-vram-and-gtt-max-allocation-si.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-From 25b333c8535f53a7763655332e6dd6fc61e6407c Mon Sep 17 00:00:00 2001
-From: Junwei Zhang <Jerry.Zhang@amd.com>
-Date: Wed, 21 Sep 2016 10:47:04 +0800
-Subject: [PATCH 05/10] amdgpu: add info about vram and gtt max allocation size
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Change-Id: I40d3be59d10e6c6a199b53b8d9e2d432943762dc
-Signed-off-by: Junwei Zhang <Jerry.Zhang@amd.com>
-Reviewed-by: Christian König <christian.koenig@amd.com>
----
- include/drm/amdgpu_drm.h | 8 ++++++++
- 1 file changed, 8 insertions(+)
-
-diff --git a/include/drm/amdgpu_drm.h b/include/drm/amdgpu_drm.h
-index bf5f849..81a82c7 100644
---- a/include/drm/amdgpu_drm.h
-+++ b/include/drm/amdgpu_drm.h
-@@ -541,6 +541,8 @@ struct drm_amdgpu_cs_chunk_data {
- #define AMDGPU_INFO_VIRTUAL_RANGE 0x18
- /* Query the total size of VRAM and GTT domains */
- #define AMDGPU_INFO_VRAM_GTT_TOTAL 0x19
-+/* Query the max allocation size of VRAM and GTT domains */
-+#define AMDGPU_INFO_VRAM_GTT_MAX 0x1a
-
- /* gpu capability */
- #define AMDGPU_INFO_CAPABILITY 0x50
-@@ -639,6 +641,12 @@ struct drm_amdgpu_info_vram_gtt_total {
- uint64_t gtt_total_size;
- };
-
-+struct drm_amdgpu_info_vram_gtt_max {
-+ uint64_t vram_max_size;
-+ uint64_t vram_cpu_accessible_max_size;
-+ uint64_t gtt_max_size;
-+};
-+
- struct drm_amdgpu_info_firmware {
- uint32_t ver;
- uint32_t feature;
---
-2.7.4
-