summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c
diff options
context:
space:
mode:
authorRamesh Errabolu <Ramesh.Errabolu@amd.com>2020-11-06 13:01:20 -0600
committerAlex Deucher <alexander.deucher@amd.com>2020-11-10 14:15:29 -0500
commit3ac2bc7609f6844d8a911658749b8a4064ec5ccd (patch)
treec2ee39ea30e620dd0db4bd7d6adb287be1ab343c /drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c
parent9713158cb2a918c3f6f5522eed23cdeb61f22e75 (diff)
downloadlinux-3ac2bc7609f6844d8a911658749b8a4064ec5ccd.tar.gz
linux-3ac2bc7609f6844d8a911658749b8a4064ec5ccd.tar.bz2
linux-3ac2bc7609f6844d8a911658749b8a4064ec5ccd.zip
drm/amd/amdgpu: Import amdgpu_amdkfd_gfx_v9 header file into implementation
[Why] Prevent compiler warnings when building amdgpu kernel module [How] Add the include directive for amdgpu_amdkfd_gfx_v9 header file Fixes: aeee2a48ec9239 ("drm/amd/amdgpu: Enable arcturus devices to access the method kgd_gfx_v9_get_cu_occupancy that is already defined") Reviewed-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com> Signed-off-by: Ramesh Errabolu <Ramesh.Errabolu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Reported-by: kernel test robot <lkp@intel.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c
index 7d6c0013af35..b43e68fc1378 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c
@@ -37,6 +37,7 @@
#include "soc15.h"
#include "soc15d.h"
#include "gfx_v9_0.h"
+#include "amdgpu_amdkfd_gfx_v9.h"
enum hqd_dequeue_request_type {
NO_ACTION = 0,