From: Ramesh Errabolu Date: Fri, 6 Nov 2020 19:01:20 +0000 (-0600) Subject: drm/amd/amdgpu: Import amdgpu_amdkfd_gfx_v9 header file into implementation X-Git-Tag: v5.11-rc1~206^2^2~443 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3ac2bc7609f6844d8a911658749b8a4064ec5ccd;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Ramesh Errabolu Signed-off-by: Alex Deucher Reported-by: kernel test robot --- 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 7d6c0013af359..b43e68fc13782 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,