Home
last modified time | relevance | path

Searched refs:num_tpc_gpc (Results 1 – 1 of 1) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dgv100.c128 u32 *num_tpc_gpc; in gv100_gr_scg_estimate_perf() local
131 if (!(num_tpc_gpc = kcalloc(gr->gpc_nr, sizeof(*num_tpc_gpc), GFP_KERNEL))) in gv100_gr_scg_estimate_perf()
149 num_tpc_gpc[gpc] = hweight32(num_tpc_mask); in gv100_gr_scg_estimate_perf()
150 average_tpcs += num_tpc_gpc[gpc]; in gv100_gr_scg_estimate_perf()
153 max_tpc_gpc = num_tpc_gpc[gpc] > max_tpc_gpc ? num_tpc_gpc[gpc] : max_tpc_gpc; in gv100_gr_scg_estimate_perf()
160 scg_gpc_pix_perf = scale_factor * num_tpc_gpc[gpc] / gr->tpc_nr[gpc]; in gv100_gr_scg_estimate_perf()
195 diff = average_tpcs - scale_factor * num_tpc_gpc[gpc]; in gv100_gr_scg_estimate_perf()
222 kfree(num_tpc_gpc); in gv100_gr_scg_estimate_perf()