Lines Matching refs:grctx
866 const struct gf100_grctx_func *grctx = info->gr->func->grctx; in gm107_grctx_generate_bundle() local
867 const u32 state_limit = min(grctx->bundle_min_gpm_fifo_depth, in gm107_grctx_generate_bundle()
868 grctx->bundle_size / 0x20); in gm107_grctx_generate_bundle()
869 const u32 token_limit = grctx->bundle_token_limit; in gm107_grctx_generate_bundle()
872 const int b = mmio_vram(info, grctx->bundle_size, (1 << s), access); in gm107_grctx_generate_bundle()
874 mmio_wr32(info, 0x408008, 0x80000000 | (grctx->bundle_size >> s)); in gm107_grctx_generate_bundle()
876 mmio_wr32(info, 0x418e28, 0x80000000 | (grctx->bundle_size >> s)); in gm107_grctx_generate_bundle()
883 const struct gf100_grctx_func *grctx = info->gr->func->grctx; in gm107_grctx_generate_pagepool() local
886 const int b = mmio_vram(info, grctx->pagepool_size, (1 << s), access); in gm107_grctx_generate_pagepool()
899 const struct gf100_grctx_func *grctx = gr->func->grctx; in gm107_grctx_generate_attrib() local
900 const u32 alpha = grctx->alpha_nr; in gm107_grctx_generate_attrib()
901 const u32 attrib = grctx->attrib_nr; in gm107_grctx_generate_attrib()
902 const u32 size = 0x20 * (grctx->attrib_nr_max + grctx->alpha_nr_max); in gm107_grctx_generate_attrib()
908 u32 ao = bo + grctx->attrib_nr_max * gr->tpc_total; in gm107_grctx_generate_attrib()
925 bo += grctx->attrib_nr_max * gr->ppc_tpc_nr[gpc][ppc]; in gm107_grctx_generate_attrib()
928 ao += grctx->alpha_nr_max * gr->ppc_tpc_nr[gpc][ppc]; in gm107_grctx_generate_attrib()
959 const struct gf100_grctx_func *grctx = gr->func->grctx; in gm107_grctx_generate_main() local
962 gf100_gr_mmio(gr, grctx->hub); in gm107_grctx_generate_main()
963 gf100_gr_mmio(gr, grctx->gpc); in gm107_grctx_generate_main()
964 gf100_gr_mmio(gr, grctx->zcull); in gm107_grctx_generate_main()
965 gf100_gr_mmio(gr, grctx->tpc); in gm107_grctx_generate_main()
966 gf100_gr_mmio(gr, grctx->ppc); in gm107_grctx_generate_main()
970 grctx->bundle(info); in gm107_grctx_generate_main()
971 grctx->pagepool(info); in gm107_grctx_generate_main()
972 grctx->attrib(info); in gm107_grctx_generate_main()
973 grctx->unkn(gr); in gm107_grctx_generate_main()
989 gf100_gr_icmd(gr, grctx->icmd); in gm107_grctx_generate_main()
991 gf100_gr_mthd(gr, grctx->mthd); in gm107_grctx_generate_main()