]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
drm/amdgpu: Workaround build failure due to trace conflict
authorKuehling, Felix <Felix.Kuehling@amd.com>
Fri, 7 Dec 2018 22:07:20 +0000 (22:07 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 7 Dec 2018 22:53:47 +0000 (17:53 -0500)
Avoid including mmu_context.h in amdgpu_amdkfd.h since that may be
included in other header files that define traces. This leads to
conflicts due to traces defined in other headers included via
mmu_context.h.

Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c

index bcf587b4ba9809f40f2efa5e8c6d6c97db207bd5..86cf1a432ad49e2c6d936477852fc3364ee0e3ad 100644 (file)
@@ -27,7 +27,6 @@
 
 #include <linux/types.h>
 #include <linux/mm.h>
-#include <linux/mmu_context.h>
 #include <linux/workqueue.h>
 #include <kgd_kfd_interface.h>
 #include <drm/ttm/ttm_execbuf_util.h>
index 72a357dae07006d9ce46cd72df93d3b5cf201094..ff7fac7df34b5be7b7e46cabc1f743e3775a8761 100644 (file)
@@ -23,6 +23,7 @@
 #include <linux/fdtable.h>
 #include <linux/uaccess.h>
 #include <linux/firmware.h>
+#include <linux/mmu_context.h>
 #include <drm/drmP.h>
 #include "amdgpu.h"
 #include "amdgpu_amdkfd.h"
index 0e2a56b6a9b68ba557c149ddefaa41cfc482c783..56ea929f524b5c31831abdb8d50233aa01929636 100644 (file)
@@ -24,6 +24,7 @@
 #include <linux/fdtable.h>
 #include <linux/uaccess.h>
 #include <linux/firmware.h>
+#include <linux/mmu_context.h>
 #include <drm/drmP.h>
 #include "amdgpu.h"
 #include "amdgpu_amdkfd.h"
index 03b604c96d94e24618e5ef3b4baa741938c49204..5c51d4910650934752d22c5bd2b0f06c768708ee 100644 (file)
@@ -26,6 +26,7 @@
 #include <linux/fdtable.h>
 #include <linux/uaccess.h>
 #include <linux/firmware.h>
+#include <linux/mmu_context.h>
 #include <drm/drmP.h>
 #include "amdgpu.h"
 #include "amdgpu_amdkfd.h"