aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.14.71/4379-drm-amdgpu-drop-printing-the-BO-offset-in-the-gem-de.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/4379-drm-amdgpu-drop-printing-the-BO-offset-in-the-gem-de.patch')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.14.71/4379-drm-amdgpu-drop-printing-the-BO-offset-in-the-gem-de.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/4379-drm-amdgpu-drop-printing-the-BO-offset-in-the-gem-de.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/4379-drm-amdgpu-drop-printing-the-BO-offset-in-the-gem-de.patch
new file mode 100644
index 00000000..0abc2aa9
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/4379-drm-amdgpu-drop-printing-the-BO-offset-in-the-gem-de.patch
@@ -0,0 +1,35 @@
+From b64ebf4c09c4088d8f28e4b9b9f94970171287d5 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Christian=20K=C3=B6nig?= <christian.koenig@amd.com>
+Date: Fri, 11 May 2018 23:13:39 +0800
+Subject: [PATCH 4379/5725] drm/amdgpu: drop printing the BO offset in the gem
+ debugfs
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+It is meaningless anyway.
+
+Signed-off-by: Christian König <christian.koenig@amd.com>
+Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 4 ----
+ 1 file changed, 4 deletions(-)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
+index 3621ff0..22e1298 100644
+--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
++++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
+@@ -960,10 +960,6 @@ static int amdgpu_debugfs_gem_bo_info(int id, void *ptr, void *data)
+ seq_printf(m, "\t0x%08x: %12ld byte %s",
+ id, amdgpu_bo_size(bo), placement);
+
+- offset = READ_ONCE(bo->tbo.mem.start);
+- if (offset != AMDGPU_BO_INVALID_OFFSET)
+- seq_printf(m, " @ 0x%010Lx", offset);
+-
+ pin_count = READ_ONCE(bo->pin_count);
+ if (pin_count)
+ seq_printf(m, " pin count %d", pin_count);
+--
+2.7.4
+