Lines Matching refs:grctx
881 const struct gf100_grctx_func *grctx = info->gr->func->grctx; in gm107_grctx_generate_bundle() local
882 const u32 state_limit = min(grctx->bundle_min_gpm_fifo_depth, in gm107_grctx_generate_bundle()
883 grctx->bundle_size / 0x20); in gm107_grctx_generate_bundle()
884 const u32 token_limit = grctx->bundle_token_limit; in gm107_grctx_generate_bundle()
886 const int b = mmio_vram(info, grctx->bundle_size, (1 << s), true); in gm107_grctx_generate_bundle()
888 mmio_wr32(info, 0x408008, 0x80000000 | (grctx->bundle_size >> s)); in gm107_grctx_generate_bundle()
890 mmio_wr32(info, 0x418e28, 0x80000000 | (grctx->bundle_size >> s)); in gm107_grctx_generate_bundle()
897 const struct gf100_grctx_func *grctx = info->gr->func->grctx; in gm107_grctx_generate_pagepool() local
899 const int b = mmio_vram(info, grctx->pagepool_size, (1 << s), true); in gm107_grctx_generate_pagepool()
912 const struct gf100_grctx_func *grctx = gr->func->grctx; in gm107_grctx_generate_attrib() local
913 const u32 alpha = grctx->alpha_nr; in gm107_grctx_generate_attrib()
914 const u32 attrib = grctx->attrib_nr; in gm107_grctx_generate_attrib()
915 const u32 size = 0x20 * (grctx->attrib_nr_max + grctx->alpha_nr_max); in gm107_grctx_generate_attrib()
920 u32 ao = bo + grctx->attrib_nr_max * gr->tpc_total; in gm107_grctx_generate_attrib()
939 bo += grctx->attrib_nr_max * gr->ppc_tpc_nr[gpc][ppc]; in gm107_grctx_generate_attrib()
942 ao += grctx->alpha_nr_max * gr->ppc_tpc_nr[gpc][ppc]; in gm107_grctx_generate_attrib()