mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 01:50:07 +03:00
Moved following ltc related data to struct nvgpu_ltc and has a reference to it from struct gk20a: struct nvgpu_spinlock ltc_enabled_lock; u32 max_ltc_count; u32 ltc_count; u32 slices_per_ltc; u32 cacheline_size; Added function remove_support for ltc and it is called during nvgpu remove sequence. Added following helper functions in ltc.h: u32 nvgpu_ltc_get_ltc_count(struct gk20a *g); u32 nvgpu_ltc_get_slices_per_ltc(struct gk20a *g); u32 nvgpu_ltc_get_cacheline_size(struct gk20a *g); Removed redudnant ltc.init_fs_state call from vgpu init sequence since it is getting called from nvgpu_init_ltc_support. NVGPU-2044 Change-Id: I3c256dc3866f894c38715aa2609e85bd2e5cfe5a Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2073417 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
50 KiB
50 KiB