Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c
- drivers/gpu/drm/nouveau/nvkm/engine/gr/tu102.c, line 51
Smatch caller information:
drivers/gpu/drm/nouveau/nvkm/engine/gr/tu102.c tu102_gr_init_fs() -> gf100_gr_init_num_tpc_per_gpc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gr | 3774636541669961720 |
| PARAM_VALUE | 0 | gr->base.engine.subdev.device | 4096-ptr_max |
| PARAM_VALUE | 0 | gr->base.engine.subdev.device->fifo | 4096-ptr_max |
| PARAM_VALUE | 0 | gr->base.engine.subdev.device->pmu | 0,4096-ptr_max |
| PARAM_VALUE | 0 | gr->base.engine.subdev.device->pri | 4096-ptr_max |
| PARAM_VALUE | 0 | gr->fecs.falcon.addr | 1-u32max |
| PARAM_VALUE | 0 | gr->fecs.falcon.code.limit | 0,256-130816 |
| PARAM_VALUE | 0 | gr->fecs.falcon.code.ports | 0-15 |
| PARAM_VALUE | 0 | gr->fecs.falcon.data.limit | 0-130816 |
| PARAM_VALUE | 0 | gr->fecs.falcon.data.ports | 0-15 |
| PARAM_VALUE | 0 | gr->fecs.falcon.secret | 0-3 |
| PARAM_VALUE | 0 | gr->fecs.falcon.user | 3774636541669961744 |
| PARAM_VALUE | 0 | gr->fecs.falcon.version | 0-15 |
| PARAM_VALUE | 0 | gr->func | 4096-ptr_max |
| PARAM_VALUE | 0 | gr->func->clkgate_pack | 0,5255829408938201088,8515029415389167616 |
| PARAM_VALUE | 0 | gr->func->gpc_nr | 0-2,6-7 |
| PARAM_VALUE | 0 | gr->func->init_bios | 0,7970024561938956288 |
| PARAM_VALUE | 0 | gr->func->init_bios_2 | 0,5257918595666821120 |
| PARAM_VALUE | 0 | gr->func->init_fs | 8381927810780483584 |
| PARAM_VALUE | 0 | gr->func->init_r405a14 | 0,6344481244692819968 |
| PARAM_VALUE | 0 | gr->func->init_rop_active_fbps | 0,4917246369667620864,6128741058482388992,7701341806559985664 |
| PARAM_VALUE | 0 | gr->func->init_swdx_pes_mask | 0,2589622149275865088 |
| PARAM_VALUE | 0 | gr->func->mmio | 0,4096-ptr_max |
| PARAM_VALUE | 0 | gr->gpccs.falcon.addr | 1-u32max |
| PARAM_VALUE | 0 | gr->gpccs.falcon.code.limit | 0,256-130816 |
| PARAM_VALUE | 0 | gr->gpccs.falcon.code.ports | 0-15 |
| PARAM_VALUE | 0 | gr->gpccs.falcon.data.limit | 0-130816 |
| PARAM_VALUE | 0 | gr->gpccs.falcon.data.ports | 0-15 |
| PARAM_VALUE | 0 | gr->gpccs.falcon.secret | 0-3 |
| PARAM_VALUE | 0 | gr->gpccs.falcon.user | 3774636541669961744 |
| PARAM_VALUE | 0 | gr->gpccs.falcon.version | 0-15 |
| PARAM_VALUE | 0 | gr->sw_nonctx | 0,4096-ptr_max |
| PARAM_VALUE | 0 | gr->sw_nonctx1 | 0,4096-ptr_max |
| PARAM_VALUE | 1 | pd | 1 |
| PARAM_VALUE | 2 | ds | 1 |
| CAPPED_DATA | 0 | gr->func->ppc_nr | 1 |
| CAPPED_DATA | 0 | gr->gpc_nr | 1 |
| CAPPED_DATA | 0 | gr->sm_nr | 1 |
| DATA_SOURCE | 0 | gr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | gr->fecs.falcon.version | 0-15 |
| HOST_DATA | 0 | gr->gpccs.falcon.code.limit | 0,256-130816[c] |
| HOST_DATA | 0 | gr->gpccs.falcon.code.ports | 0-15 |
| HOST_DATA | 0 | gr->gpccs.falcon.data.limit | 0-130816[c] |
| HOST_DATA | 0 | gr->gpccs.falcon.data.ports | 0-15 |
| HOST_DATA | 0 | gr->gpccs.falcon.debug | 0-1 |
| HOST_DATA | 0 | gr->gpccs.falcon.secret | 0-3 |
| HOST_DATA | 0 | gr->gpccs.falcon.version | 0-15 |
| HALF_LOCKED2 | &subdev->use.mutex | ||
| HALF_LOCKED2 | flags |
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c gf100_grctx_generate_floorsweep() -> gf100_gr_init_num_tpc_per_gpc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gr | 4460413818444759032 |
| PARAM_VALUE | 0 | gr->base.engine.subdev.device | 4096-ptr_max |
| PARAM_VALUE | 0 | gr->base.engine.subdev.device->fifo | 4096-ptr_max |
| PARAM_VALUE | 0 | gr->base.engine.subdev.device->pri | 4096-ptr_max |
| PARAM_VALUE | 0 | gr->func | 4096-ptr_max |
| PARAM_VALUE | 0 | gr->func->grctx | 4096-ptr_max |
| PARAM_VALUE | 0 | gr->func->grctx->alpha_nr | 0,536,804,1608,2048,4096 |
| PARAM_VALUE | 0 | gr->func->grctx->attrib_nr | 536,576,800,1024,1088,1152,1185,1344,1792,2720 |
| PARAM_VALUE | 0 | gr->func->grctx->bundle_min_gpm_fifo_depth | 0,98,194,384,386 |
| PARAM_VALUE | 0 | gr->func->grctx->bundle_token_limit | 0,256,448,512,704,768,1536,1920,1984,2304,2688,4224,4416,5760 |
| PARAM_VALUE | 0 | gr->func->grctx->gfxp_nr | 0,2984,3344,3368,3732,4008 |
| PARAM_VALUE | 0 | gr->func->grctx->patch_ltc | 0,8785339782301515776 |
| PARAM_VALUE | 0 | gr->func->grctx->r419ea8 | 0,5647239600684240896 |
| PARAM_VALUE | 0 | gr->func->grctx->tpc_nr | 0,3052704018609979392 |
| PARAM_VALUE | 0 | gr->func->grctx->unknown_size | 0,524288 |
| PARAM_VALUE | 0 | gr->func->init_419bd8 | 0,5252638374849769472 |
| PARAM_VALUE | 1 | pd | 0 |
| PARAM_VALUE | 2 | ds | 1 |
| CAPPED_DATA | 0 | gr->sm_nr | 1 |
| DATA_SOURCE | 0 | gr | $0 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &cgrp->mutex | ||
| LOCK2 | &gr->fecs.mutex | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &svmm->mutex | ||
| TYPE_LOCK | (struct gf100_gr)->fecs.mutex | ||
| TYPE_LOCK | (struct nvkm_cgrp)->mutex |
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c gf100_grctx_generate_floorsweep() -> gf100_gr_init_num_tpc_per_gpc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gr | 4460413818444759032 |
| PARAM_VALUE | 0 | gr->base.engine.subdev.device | 4096-ptr_max |
| PARAM_VALUE | 0 | gr->base.engine.subdev.device->fifo | 4096-ptr_max |
| PARAM_VALUE | 0 | gr->base.engine.subdev.device->pri | 4096-ptr_max |
| PARAM_VALUE | 0 | gr->func | 4096-ptr_max |
| PARAM_VALUE | 0 | gr->func->grctx | 4096-ptr_max |
| PARAM_VALUE | 0 | gr->func->grctx->alpha_nr | 0,536,804,1608,2048,4096 |
| PARAM_VALUE | 0 | gr->func->grctx->attrib_nr | 536,576,800,1024,1088,1152,1185,1344,1792,2720 |
| PARAM_VALUE | 0 | gr->func->grctx->bundle_min_gpm_fifo_depth | 0,98,194,384,386 |
| PARAM_VALUE | 0 | gr->func->grctx->bundle_token_limit | 0,256,448,512,704,768,1536,1920,1984,2304,2688,4224,4416,5760 |
| PARAM_VALUE | 0 | gr->func->grctx->gfxp_nr | 0,2984,3344,3368,3732,4008 |
| PARAM_VALUE | 0 | gr->func->grctx->patch_ltc | 0,8785339782301515776 |
| PARAM_VALUE | 0 | gr->func->grctx->r419ea8 | 0,5647239600684240896 |
| PARAM_VALUE | 0 | gr->func->grctx->tpc_nr | 0,3052704018609979392 |
| PARAM_VALUE | 0 | gr->func->grctx->unknown_size | 0,524288 |
| PARAM_VALUE | 0 | gr->func->init_419bd8 | 0,5252638374849769472 |
| PARAM_VALUE | 1 | pd | 1 |
| PARAM_VALUE | 2 | ds | 0 |
| CAPPED_DATA | 0 | gr->sm_nr | 1 |
| DATA_SOURCE | 0 | gr | $0 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &cgrp->mutex | ||
| LOCK2 | &gr->fecs.mutex | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &svmm->mutex | ||
| TYPE_LOCK | (struct gf100_gr)->fecs.mutex | ||
| TYPE_LOCK | (struct nvkm_cgrp)->mutex |