Home
last modified time | relevance | path

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

12

/drivers/gpu/drm/nouveau/nvkm/engine/gr/
A Dctxgf100.c1035 const struct gf100_grctx_func *grctx = gr->func->grctx; in gf100_grctx_generate_attrib() local
1062 const struct gf100_grctx_func *grctx = gr->func->grctx; in gf100_grctx_generate_attrib_cb_size() local
1346 const struct gf100_grctx_func *grctx = gr->func->grctx; in gf100_grctx_generate_main() local
1364 if (grctx->r419ea8) in gf100_grctx_generate_main()
1372 grctx->bundle(chan, chan->bundle_cb->addr, grctx->bundle_size); in gf100_grctx_generate_main()
1378 grctx->unknown(chan, chan->unknown->addr, grctx->unknown_size); in gf100_grctx_generate_main()
1379 grctx->unkn(gr); in gf100_grctx_generate_main()
1385 if (grctx->r400088) grctx->r400088(gr, false); in gf100_grctx_generate_main()
1403 if (grctx->r400088) grctx->r400088(gr, true); in gf100_grctx_generate_main()
1438 const struct gf100_grctx_func *grctx = gr->func->grctx; in gf100_grctx_generate() local
[all …]
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()
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()
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()
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()
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()
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()
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()
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()
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()
A Dgf100.c429 if (gr->func->grctx->unknown_size) { 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
2051 if (gr->func->grctx->unknown_size) { in gf100_gr_oneinit()
[all …]
A Dgp107.c56 .grctx = &gp107_grctx,
A Dgp10b.c66 .grctx = &gp100_grctx,
A Dgp104.c54 .grctx = &gp104_grctx,
A Dgf110.c111 .grctx = &gf110_grctx,
A Dgf104.c139 .grctx = &gf104_grctx,
A Dgk110b.c131 .grctx = &gk110b_grctx,
A Dgf108.c137 .grctx = &gf108_grctx,
A Dgf119.c202 .grctx = &gf119_grctx,
A Dgk208.c189 .grctx = &gk208_grctx,
A Dgf117.c178 .grctx = &gf117_grctx,
A Dgk110.c379 .grctx = &gk110_grctx,
A Dgp100.c130 .grctx = &gp100_grctx,
A Dgp102.c126 .grctx = &gp102_grctx,
/drivers/gpu/drm/nouveau/include/nvkm/engine/
A Dfifo.h45 struct nvkm_vctx *grctx; member

Completed in 41 milliseconds

12