mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: remove unused GR hal operations
Below HAL operations are not being used anywhere, hence remove them g->ops.gr.program_active_tpc_counts() g->ops.gr.setup_alpha_beta_tables() Change-Id: I448ecd9aae104508d22011dc26ea70dd40a6b0f2 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2032675 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
8d4331e13e
commit
73621db660
@@ -998,10 +998,6 @@ int gr_gk20a_init_fs_state(struct gk20a *g)
|
||||
gpc_index = g->gr.sm_to_cluster[sm_id].gpc_index;
|
||||
|
||||
g->ops.gr.program_sm_id_numbering(g, gpc_index, tpc_index, sm_id);
|
||||
|
||||
if (g->ops.gr.program_active_tpc_counts != NULL) {
|
||||
g->ops.gr.program_active_tpc_counts(g, gpc_index);
|
||||
}
|
||||
}
|
||||
|
||||
for (reg_index = 0U, gpc_id = 0U;
|
||||
@@ -1032,9 +1028,6 @@ int gr_gk20a_init_fs_state(struct gk20a *g)
|
||||
|
||||
/* gr__setup_pd_mapping stubbed for gk20a */
|
||||
g->ops.gr.setup_rop_mapping(g, gr);
|
||||
if (g->ops.gr.setup_alpha_beta_tables != NULL) {
|
||||
g->ops.gr.setup_alpha_beta_tables(g, gr);
|
||||
}
|
||||
|
||||
for (gpc_index = 0;
|
||||
gpc_index < gr_pd_dist_skip_table__size_1_v() * 4U;
|
||||
|
||||
@@ -296,8 +296,6 @@ struct gpu_ops {
|
||||
u32 *num_ovr_perf_regs,
|
||||
u32 **ovr_perf_regsr);
|
||||
void (*set_hww_esr_report_mask)(struct gk20a *g);
|
||||
int (*setup_alpha_beta_tables)(struct gk20a *g,
|
||||
struct gr_gk20a *gr);
|
||||
void (*falcon_load_ucode)(struct gk20a *g,
|
||||
u64 addr_base,
|
||||
struct gk20a_ctxsw_ucode_segments *segments,
|
||||
@@ -436,7 +434,6 @@ struct gpu_ops {
|
||||
int (*load_smid_config)(struct gk20a *g);
|
||||
void (*program_sm_id_numbering)(struct gk20a *g,
|
||||
u32 gpc, u32 tpc, u32 smid);
|
||||
void (*program_active_tpc_counts)(struct gk20a *g, u32 gpc);
|
||||
int (*setup_rop_mapping)(struct gk20a *g, struct gr_gk20a *gr);
|
||||
int (*init_sw_veid_bundle)(struct gk20a *g);
|
||||
void (*program_zcull_mapping)(struct gk20a *g,
|
||||
|
||||
Reference in New Issue
Block a user