mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 18:42:29 +03:00
These two files contained the init_characteristics functions for these two chips. move these to the hal_<chip>.c files for now. This allows the gv11b.c and gp10b.c to be deleted and a bunch of header includes removed. The vGPU code required a slight update to the headers (moving the <nvgpu/...> headers to before all the "common/..." and "hal/..." includes since some of those headers make assumptions about what is already present. Also, delete the gv100/gv100.h header file and make the gv100 init_characteristics function static to be inline with the way the gv11b and gp10b code now works. This further redecues the number of sourece files and reduces needless complexity. JIRA NVGPU-971 JIRA NVGPU-3074 Change-Id: Ic0ed722612ef9843e6219c7a00144ead12a73e78 Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2090978 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>