Home
last modified time | relevance | path

Searched refs:grctx (Results 1 – 25 of 33) sorted by relevance

12

/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dctxgf100.c1035 const struct gf100_grctx_func *grctx = gr->func->grctx; in gf100_grctx_generate_attrib() local
1036 const u32 attrib = grctx->attrib_nr; in gf100_grctx_generate_attrib()
1047 bo += grctx->attrib_nr_max; in gf100_grctx_generate_attrib()
1062 const struct gf100_grctx_func *grctx = gr->func->grctx; in gf100_grctx_generate_attrib_cb_size() local
1064 return 0x20 * (grctx->attrib_nr_max + grctx->alpha_nr_max) * gr->tpc_total; in gf100_grctx_generate_attrib_cb_size()
1305 const struct gf100_grctx_func *func = gr->func->grctx; in gf100_grctx_generate_floorsweep()
1346 const struct gf100_grctx_func *grctx = gr->func->grctx; in gf100_grctx_generate_main() local
1352 gf100_gr_mmio(gr, grctx->hub); in gf100_grctx_generate_main()
1353 gf100_gr_mmio(gr, grctx->gpc_0); in gf100_grctx_generate_main()
1354 gf100_gr_mmio(gr, grctx->zcull); in gf100_grctx_generate_main()
[all …]
H A Dctxgk20a.c32 const struct gf100_grctx_func *grctx = gr->func->grctx; in gk20a_grctx_generate_main() local
42 grctx->attrib_cb(chan, chan->attrib_cb->addr, grctx->attrib_cb_size(gr)); in gk20a_grctx_generate_main()
43 grctx->attrib(chan); in gk20a_grctx_generate_main()
45 grctx->unkn(gr); in gk20a_grctx_generate_main()
65 grctx->pagepool(chan, chan->pagepool->addr); in gk20a_grctx_generate_main()
66 grctx->bundle(chan, chan->bundle_cb->addr, grctx->bundle_size); in gk20a_grctx_generate_main()
H A Dctxgp102.c43 const struct gf100_grctx_func *grctx = gr->func->grctx; in gp102_grctx_generate_attrib() local
44 const u32 alpha = grctx->alpha_nr; in gp102_grctx_generate_attrib()
45 const u32 attrib = grctx->attrib_nr; in gp102_grctx_generate_attrib()
46 const u32 gfxp = grctx->gfxp_nr; in gp102_grctx_generate_attrib()
48 u32 size = grctx->alpha_nr_max * gr->tpc_total; in gp102_grctx_generate_attrib()
76 ao += grctx->alpha_nr_max * gr->ppc_tpc_nr[gpc][ppc]; in gp102_grctx_generate_attrib()
88 const struct gf100_grctx_func *grctx = gr->func->grctx; in gp102_grctx_generate_attrib_cb_size() local
89 u32 size = grctx->alpha_nr_max * gr->tpc_total; in gp102_grctx_generate_attrib_cb_size()
93 size += grctx->gfxp_nr * gr->func->ppc_nr * gr->ppc_tpc_max; in gp102_grctx_generate_attrib_cb_size()
H A Dctxgm20b.c29 const struct gf100_grctx_func *grctx = gr->func->grctx; in gm20b_grctx_generate_main() local
39 grctx->attrib_cb(chan, chan->attrib_cb->addr, grctx->attrib_cb_size(gr)); in gm20b_grctx_generate_main()
40 grctx->attrib(chan); in gm20b_grctx_generate_main()
42 grctx->unkn(gr); in gm20b_grctx_generate_main()
68 grctx->pagepool(chan, chan->pagepool->addr); in gm20b_grctx_generate_main()
69 grctx->bundle(chan, chan->bundle_cb->addr, grctx->bundle_size); in gm20b_grctx_generate_main()
H A Dctxgp100.c45 const struct gf100_grctx_func *grctx = gr->func->grctx; in gp100_grctx_generate_attrib() local
46 const u32 alpha = grctx->alpha_nr; in gp100_grctx_generate_attrib()
47 const u32 attrib = grctx->attrib_nr; in gp100_grctx_generate_attrib()
49 u32 size = grctx->alpha_nr_max * gr->tpc_total; in gp100_grctx_generate_attrib()
71 bo += grctx->attrib_nr_max * gr->ppc_tpc_max; in gp100_grctx_generate_attrib()
74 ao += grctx->alpha_nr_max * gr->ppc_tpc_nr[gpc][ppc]; in gp100_grctx_generate_attrib()
95 const struct gf100_grctx_func *grctx = gr->func->grctx; in gp100_grctx_generate_attrib_cb_size() local
96 u32 size = grctx->alpha_nr_max * gr->tpc_total; in gp100_grctx_generate_attrib_cb_size()
100 size += grctx->attrib_nr_max * gr->func->ppc_nr * gr->ppc_tpc_max; in gp100_grctx_generate_attrib_cb_size()
H A Dctxgm107.c881 const struct gf100_grctx_func *grctx = chan->gr->func->grctx; in gm107_grctx_generate_bundle() local
882 const u32 state_limit = min(grctx->bundle_min_gpm_fifo_depth, size / 0x20); in gm107_grctx_generate_bundle()
883 const u32 token_limit = grctx->bundle_token_limit; in gm107_grctx_generate_bundle()
903 const struct gf100_grctx_func *grctx = gr->func->grctx; in gm107_grctx_generate_attrib() local
904 const u32 alpha = grctx->alpha_nr; in gm107_grctx_generate_attrib()
905 const u32 attrib = grctx->attrib_nr; in gm107_grctx_generate_attrib()
908 u32 ao = bo + grctx->attrib_nr_max * gr->tpc_total; in gm107_grctx_generate_attrib()
926 bo += grctx->attrib_nr_max * gr->ppc_tpc_nr[gpc][ppc]; in gm107_grctx_generate_attrib()
929 ao += grctx->alpha_nr_max * gr->ppc_tpc_nr[gpc][ppc]; in gm107_grctx_generate_attrib()
H A Dctxgf108.c739 const struct gf100_grctx_func *grctx = gr->func->grctx; in gf108_grctx_generate_attrib() local
740 const u32 alpha = grctx->alpha_nr; in gf108_grctx_generate_attrib()
741 const u32 beta = grctx->attrib_nr; in gf108_grctx_generate_attrib()
745 u32 ao = bo + grctx->attrib_nr_max * gr->tpc_total; in gf108_grctx_generate_attrib()
759 bo += grctx->attrib_nr_max; in gf108_grctx_generate_attrib()
761 ao += grctx->alpha_nr_max; in gf108_grctx_generate_attrib()
H A Dctxgf117.c247 const struct gf100_grctx_func *grctx = gr->func->grctx; in gf117_grctx_generate_attrib() local
248 const u32 alpha = grctx->alpha_nr; in gf117_grctx_generate_attrib()
249 const u32 beta = grctx->attrib_nr; in gf117_grctx_generate_attrib()
253 u32 ao = bo + grctx->attrib_nr_max * gr->tpc_total; in gf117_grctx_generate_attrib()
270 bo += grctx->attrib_nr_max * gr->ppc_tpc_nr[gpc][ppc]; in gf117_grctx_generate_attrib()
272 ao += grctx->alpha_nr_max * gr->ppc_tpc_nr[gpc][ppc]; in gf117_grctx_generate_attrib()
H A Dctxgv100.c65 const struct gf100_grctx_func *grctx = gr->func->grctx; in gv100_grctx_generate_attrib() local
66 const u32 alpha = grctx->alpha_nr; in gv100_grctx_generate_attrib()
67 const u32 attrib = grctx->attrib_nr; in gv100_grctx_generate_attrib()
68 const u32 gfxp = grctx->gfxp_nr; in gv100_grctx_generate_attrib()
70 u32 size = grctx->alpha_nr_max * gr->tpc_total; in gv100_grctx_generate_attrib()
96 ao += grctx->alpha_nr_max * gr->ppc_tpc_nr[gpc][ppc]; in gv100_grctx_generate_attrib()
H A Dctxgk104.c878 const struct gf100_grctx_func *grctx = chan->gr->func->grctx; in gk104_grctx_generate_bundle() local
879 const u32 state_limit = min(grctx->bundle_min_gpm_fifo_depth, size / 0x20); in gk104_grctx_generate_bundle()
880 const u32 token_limit = grctx->bundle_token_limit; in gk104_grctx_generate_bundle()
H A Dgf100.c429 if (gr->func->grctx->unknown_size) { in gf100_gr_chan_new()
472 gr->func->grctx->pagepool(chan, chan->pagepool->addr); in gf100_gr_chan_new()
473 gr->func->grctx->bundle(chan, chan->bundle_cb->addr, gr->func->grctx->bundle_size); in gf100_gr_chan_new()
474 gr->func->grctx->attrib_cb(chan, chan->attrib_cb->addr, gr->func->grctx->attrib_cb_size(gr)); in gf100_gr_chan_new()
475 gr->func->grctx->attrib(chan); in gf100_gr_chan_new()
476 if (gr->func->grctx->patch_ltc) in gf100_gr_chan_new()
477 gr->func->grctx->patch_ltc(chan); in gf100_gr_chan_new()
478 if (gr->func->grctx->unknown_size) in gf100_gr_chan_new()
479 gr->func->grctx->unknown(chan, chan->unknown->addr, gr->func->grctx->unknown_size); in gf100_gr_chan_new()
1834 const struct gf100_grctx_func *grctx = gr->func->grctx; in gf100_gr_init_ctxctl_int() local
[all …]
H A Dgp107.c56 .grctx = &gp107_grctx,
H A Dgp10b.c66 .grctx = &gp100_grctx,
H A Dgp104.c54 .grctx = &gp104_grctx,
H A Dgf110.c111 .grctx = &gf110_grctx,
H A Dgf104.c139 .grctx = &gf104_grctx,
H A Dgk110b.c131 .grctx = &gk110b_grctx,
H A Dgf119.c202 .grctx = &gf119_grctx,
H A Dgf108.c137 .grctx = &gf108_grctx,
H A Dgk208.c189 .grctx = &gk208_grctx,
H A Dgf117.c178 .grctx = &gf117_grctx,
H A Dgk110.c379 .grctx = &gk110_grctx,
H A Dgp102.c126 .grctx = &gp102_grctx,
H A Dgp100.c130 .grctx = &gp100_grctx,
H A Dgm20b.c129 .grctx = &gm20b_grctx,

12