mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 09:12:24 +03:00
gpu: nvgpu: Enable sm_l1tag_surface_cut_collector
This is enabling sm_l1tag_surface_cut_collector at gpu boot. This is done with adding new hal "set_sm_l1tag_surface_collector" that sets l1tag_surface_cut_collector in the sm_l1tag_ctrl register. Bug 2557724 Change-Id: I869e3bfa563db204259e7a464657229632f182d9 Signed-off-by: Dinesh T <dt@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2634878 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
41b7299201
commit
ad09e3e3cc
@@ -595,6 +595,7 @@ static const struct gops_gr_init ga100_ops_gr_init = {
|
||||
.gpc_mmu = ga10b_gr_init_gpc_mmu,
|
||||
.reset_gpcs = ga10b_gr_init_reset_gpcs,
|
||||
.fifo_access = gm20b_gr_init_fifo_access,
|
||||
.set_sm_l1tag_surface_collector = ga100_gr_init_set_sm_l1tag_surface_collector,
|
||||
#ifdef CONFIG_NVGPU_SET_FALCON_ACCESS_MAP
|
||||
.get_access_map = gv11b_gr_init_get_access_map,
|
||||
#endif
|
||||
@@ -1831,6 +1832,7 @@ int ga100_init_hal(struct gk20a *g)
|
||||
nvgpu_set_errata(g, NVGPU_ERRATA_200601972, true);
|
||||
nvgpu_set_errata(g, NVGPU_ERRATA_200391931, true);
|
||||
nvgpu_set_errata(g, NVGPU_ERRATA_SYNCPT_INVALID_ID_0, true);
|
||||
nvgpu_set_errata(g, NVGPU_ERRATA_2557724, true);
|
||||
|
||||
if (gops->fuse.fuse_opt_sm_ttu_en(g) != 0U) {
|
||||
nvgpu_set_enabled(g, NVGPU_SUPPORT_SM_TTU, true);
|
||||
|
||||
Reference in New Issue
Block a user