aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2695-drm-amdgpu-remove-unnecessary-forward-declaration.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2695-drm-amdgpu-remove-unnecessary-forward-declaration.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2695-drm-amdgpu-remove-unnecessary-forward-declaration.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2695-drm-amdgpu-remove-unnecessary-forward-declaration.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2695-drm-amdgpu-remove-unnecessary-forward-declaration.patch
new file mode 100644
index 00000000..78dd08d8
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2695-drm-amdgpu-remove-unnecessary-forward-declaration.patch
@@ -0,0 +1,30 @@
+From 8cd97ae77302a58e01d1e77952e589ba5f235dce Mon Sep 17 00:00:00 2001
+From: Felix Kuehling <Felix.Kuehling@amd.com>
+Date: Fri, 24 Aug 2018 18:24:53 -0400
+Subject: [PATCH 2695/2940] drm/amdgpu: remove unnecessary forward declaration
+
+struct vi_sdma_mqd is defined in vi_structs.h.
+
+Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
+Acked-by: Alex Deucher <alexander.deucher@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c
+index d856c3a87f59..1a55096e0fe7 100644
+--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c
++++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c
+@@ -46,8 +46,6 @@ enum hqd_dequeue_request_type {
+ RESET_WAVES
+ };
+
+-struct vi_sdma_mqd;
+-
+ /*
+ * Register access functions
+ */
+--
+2.17.1
+