Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dgv100.c230 u32 *tpc_table, *gpc_table; in gv100_gr_oneinit_sm_id() local
235 gpc_table = kcalloc(gr->tpc_total, sizeof(*gpc_table), GFP_KERNEL); in gv100_gr_oneinit_sm_id()
237 if (!gpc_table || !tpc_table || !gpc_tpc_mask) { in gv100_gr_oneinit_sm_id()
257 gpc_table[gtpc] = gpc; in gv100_gr_oneinit_sm_id()
263 gpc_tpc_mask[gpc_table[gtpc]] &= ~BIT(tpc_table[gtpc]); in gv100_gr_oneinit_sm_id()
268 gr->sm[gtpc].gpc = gpc_table[gtpc]; in gv100_gr_oneinit_sm_id()
274 kfree(gpc_table); in gv100_gr_oneinit_sm_id()