Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk20a.c gk20a_grctx_generate_main() -> gf100_gr_mthd()

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->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->rop_mapping 4096-ptr_max
PARAM_VALUE 0 gr->func->grctx->unknown_size 0,524288
PARAM_VALUE 0 gr->func->ppc_nr 0-3
CAPPED_DATA 0 gr->func->ppc_nr 1
CAPPED_DATA 0 gr->sm_nr 1
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_main() -> gf100_gr_mthd()

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->mc 0,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->r400088 0,4464714173845749760
PARAM_VALUE 0 gr->func->grctx->r419ea8 0,5647239600684240896
PARAM_VALUE 0 gr->func->grctx->rop_mapping 4096-ptr_max
PARAM_VALUE 0 gr->func->grctx->sw_bundle64_init 0,553145407321018368
PARAM_VALUE 0 gr->func->grctx->unknown_size 0,524288
PARAM_VALUE 0 gr->func->init_419bd8 0,5252638374849769472
PARAM_VALUE 0 gr->func->ppc_nr 0-3
PARAM_VALUE 0 gr->method 1-u64max
PARAM_VALUE 1 p 1-u64max
CAPPED_DATA 0 gr->func->ppc_nr 1
CAPPED_DATA 0 gr->sm_nr 1
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_main() -> gf100_gr_mthd()

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->mc 0,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->r400088 0,4464714173845749760
PARAM_VALUE 0 gr->func->grctx->r419ea8 0,5647239600684240896
PARAM_VALUE 0 gr->func->grctx->rop_mapping 4096-ptr_max
PARAM_VALUE 0 gr->func->grctx->sw_bundle64_init 0,553145407321018368
PARAM_VALUE 0 gr->func->grctx->unknown_size 0,524288
PARAM_VALUE 0 gr->func->init_419bd8 0,5252638374849769472
PARAM_VALUE 0 gr->func->ppc_nr 0-3
PARAM_VALUE 0 gr->method 0
CAPPED_DATA 0 gr->func->ppc_nr 1
CAPPED_DATA 0 gr->sm_nr 1
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/ctxgm20b.c gm20b_grctx_generate_main() -> gf100_gr_mthd()

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->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->rop_mapping 4096-ptr_max
PARAM_VALUE 0 gr->func->grctx->unknown_size 0,524288
PARAM_VALUE 0 gr->func->ppc_nr 0-3
CAPPED_DATA 0 gr->func->ppc_nr 1
CAPPED_DATA 0 gr->gpc_nr 1
CAPPED_DATA 0 gr->sm_nr 1
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