/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
H A D | ctxgf100.c | 1035 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 D | ctxgk20a.c | 32 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 D | ctxgp102.c | 43 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 D | ctxgm20b.c | 29 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 D | ctxgp100.c | 45 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 D | ctxgm107.c | 881 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 D | ctxgf108.c | 739 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 D | ctxgf117.c | 247 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 D | ctxgv100.c | 65 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 D | ctxgk104.c | 878 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 D | gf100.c | 429 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 D | gp107.c | 56 .grctx = &gp107_grctx,
|
H A D | gp10b.c | 66 .grctx = &gp100_grctx,
|
H A D | gp104.c | 54 .grctx = &gp104_grctx,
|
H A D | gf110.c | 111 .grctx = &gf110_grctx,
|
H A D | gf104.c | 139 .grctx = &gf104_grctx,
|
H A D | gk110b.c | 131 .grctx = &gk110b_grctx,
|
H A D | gf119.c | 202 .grctx = &gf119_grctx,
|
H A D | gf108.c | 137 .grctx = &gf108_grctx,
|
H A D | gk208.c | 189 .grctx = &gk208_grctx,
|
H A D | gf117.c | 178 .grctx = &gf117_grctx,
|
H A D | gk110.c | 379 .grctx = &gk110_grctx,
|
H A D | gp102.c | 126 .grctx = &gp102_grctx,
|
H A D | gp100.c | 130 .grctx = &gp100_grctx,
|
H A D | gm20b.c | 129 .grctx = &gm20b_grctx,
|