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: baikal/mips/sdk5.9~12066^2^2~443 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=eacffe26618a8dc898ddcddc0345d7c0b810f20c;p=kernel.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: 8c37a284d3c425 ("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,