Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amdgpu: Delete useless header file reference

Those header file includes are not needed.

Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Yong Zhao and committed by
Alex Deucher
1456482b 21889cec

-21
-6
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c
··· 22 22 #undef pr_fmt 23 23 #define pr_fmt(fmt) "kfd2kgd: " fmt 24 24 25 - #include <linux/module.h> 26 - #include <linux/fdtable.h> 27 - #include <linux/uaccess.h> 28 - #include <linux/firmware.h> 29 25 #include <linux/mmu_context.h> 30 26 #include "amdgpu.h" 31 27 #include "amdgpu_amdkfd.h" 32 - #include "amdgpu_ucode.h" 33 - #include "soc15_hw_ip.h" 34 28 #include "gc/gc_10_1_0_offset.h" 35 29 #include "gc/gc_10_1_0_sh_mask.h" 36 30 #include "navi10_enum.h"
-2
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c
··· 20 20 * OTHER DEALINGS IN THE SOFTWARE. 21 21 */ 22 22 23 - #include <linux/fdtable.h> 24 - #include <linux/uaccess.h> 25 23 #include <linux/mmu_context.h> 26 24 27 25 #include "amdgpu.h"
-3
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c
··· 20 20 * OTHER DEALINGS IN THE SOFTWARE. 21 21 */ 22 22 23 - #include <linux/module.h> 24 - #include <linux/fdtable.h> 25 - #include <linux/uaccess.h> 26 23 #include <linux/mmu_context.h> 27 24 28 25 #include "amdgpu.h"
-4
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c
··· 22 22 23 23 #define pr_fmt(fmt) "kfd2kgd: " fmt 24 24 25 - #include <linux/module.h> 26 - #include <linux/fdtable.h> 27 - #include <linux/uaccess.h> 28 25 #include <linux/mmu_context.h> 29 26 30 27 #include "amdgpu.h" 31 28 #include "amdgpu_amdkfd.h" 32 - #include "soc15_hw_ip.h" 33 29 #include "gc/gc_9_0_offset.h" 34 30 #include "gc/gc_9_0_sh_mask.h" 35 31 #include "vega10_enum.h"
-1
drivers/gpu/drm/amd/amdgpu/arct_reg_init.c
··· 24 24 #include "soc15.h" 25 25 26 26 #include "soc15_common.h" 27 - #include "soc15_hw_ip.h" 28 27 #include "arct_ip_offset.h" 29 28 30 29 int arct_reg_base_init(struct amdgpu_device *adev)
-1
drivers/gpu/drm/amd/amdgpu/navi10_reg_init.c
··· 24 24 #include "nv.h" 25 25 26 26 #include "soc15_common.h" 27 - #include "soc15_hw_ip.h" 28 27 #include "navi10_ip_offset.h" 29 28 30 29 int navi10_reg_base_init(struct amdgpu_device *adev)
-1
drivers/gpu/drm/amd/amdgpu/navi12_reg_init.c
··· 24 24 #include "nv.h" 25 25 26 26 #include "soc15_common.h" 27 - #include "soc15_hw_ip.h" 28 27 #include "navi12_ip_offset.h" 29 28 30 29 int navi12_reg_base_init(struct amdgpu_device *adev)
-1
drivers/gpu/drm/amd/amdgpu/navi14_reg_init.c
··· 24 24 #include "nv.h" 25 25 26 26 #include "soc15_common.h" 27 - #include "soc15_hw_ip.h" 28 27 #include "navi14_ip_offset.h" 29 28 30 29 int navi14_reg_base_init(struct amdgpu_device *adev)
-1
drivers/gpu/drm/amd/amdgpu/vega10_reg_init.c
··· 24 24 #include "soc15.h" 25 25 26 26 #include "soc15_common.h" 27 - #include "soc15_hw_ip.h" 28 27 #include "vega10_ip_offset.h" 29 28 30 29 int vega10_reg_base_init(struct amdgpu_device *adev)
-1
drivers/gpu/drm/amd/amdgpu/vega20_reg_init.c
··· 24 24 #include "soc15.h" 25 25 26 26 #include "soc15_common.h" 27 - #include "soc15_hw_ip.h" 28 27 #include "vega20_ip_offset.h" 29 28 30 29 int vega20_reg_base_init(struct amdgpu_device *adev)