Home
last modified time | relevance | path

Searched refs:grctx (Results 1 - 25 of 65) sorted by relevance

123

/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/gr/
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 in gp102_grctx_generate_attrib_cb_size()
[all...]
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 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 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 in gp100_grctx_generate_attrib_cb_size()
[all...]
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 in gf100_grctx_generate_main() local
1438 const struct gf100_grctx_func *grctx = gr->func->grctx; gf100_grctx_generate() local
[all...]
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 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 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 in gm107_grctx_generate_attrib()
[all...]
H A Dgf100.c429 if (gr->func->grctx->unknown_size) { in gf100_gr_chan_new()
471 gr->func->grctx->pagepool(chan, chan->pagepool->addr); in gf100_gr_chan_new()
472 gr->func->grctx->bundle(chan, chan->bundle_cb->addr, gr->func->grctx->bundle_size); in gf100_gr_chan_new()
473 gr->func->grctx->attrib_cb(chan, chan->attrib_cb->addr, gr->func->grctx->attrib_cb_size(gr)); in gf100_gr_chan_new()
474 gr->func->grctx->attrib(chan); in gf100_gr_chan_new()
475 if (gr->func->grctx->patch_ltc) in gf100_gr_chan_new()
476 gr->func->grctx->patch_ltc(chan); in gf100_gr_chan_new()
477 if (gr->func->grctx in gf100_gr_chan_new()
1833 const struct gf100_grctx_func *grctx = gr->func->grctx; gf100_gr_init_ctxctl_int() local
[all...]
H A Dgp10b.c66 .grctx = &gp100_grctx,
H A Dgp104.c54 .grctx = &gp104_grctx,
H A Dgp107.c56 .grctx = &gp107_grctx,
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dctxgp100.c35 const struct gf100_grctx_func *grctx = info->gr->func->grctx; in gp100_grctx_generate_pagepool() local
37 const int b = mmio_vram(info, grctx->pagepool_size, (1 << s), true); in gp100_grctx_generate_pagepool()
48 const struct gf100_grctx_func *grctx = gr->func->grctx; in gp100_grctx_generate_attrib() local
49 const u32 alpha = grctx->alpha_nr; in gp100_grctx_generate_attrib()
50 const u32 attrib = grctx->attrib_nr; in gp100_grctx_generate_attrib()
53 u32 size = grctx->alpha_nr_max * gr->tpc_total; in gp100_grctx_generate_attrib()
59 size += grctx->attrib_nr_max * gr->ppc_nr[gpc] * gr->ppc_tpc_max; in gp100_grctx_generate_attrib()
83 bo += grctx in gp100_grctx_generate_attrib()
[all...]
H A Dctxgm20b.c28 const struct gf100_grctx_func *grctx = gr->func->grctx; in gm20b_grctx_generate_main() local
38 grctx->attrib(info); in gm20b_grctx_generate_main()
40 grctx->unkn(gr); in gm20b_grctx_generate_main()
66 grctx->pagepool(info); in gm20b_grctx_generate_main()
67 grctx->bundle(info); in gm20b_grctx_generate_main()
H A Dctxgk20a.c31 const struct gf100_grctx_func *grctx = gr->func->grctx; in gk20a_grctx_generate_main() local
41 grctx->attrib(info); in gk20a_grctx_generate_main()
43 grctx->unkn(gr); in gk20a_grctx_generate_main()
63 grctx->pagepool(info); in gk20a_grctx_generate_main()
64 grctx->bundle(info); in gk20a_grctx_generate_main()
H A Dctxgf100.c1042 const struct gf100_grctx_func *grctx = info->gr->func->grctx; in gf100_grctx_generate_bundle() local
1044 const int b = mmio_vram(info, grctx->bundle_size, (1 << s), true); in gf100_grctx_generate_bundle()
1046 mmio_wr32(info, 0x408008, 0x80000000 | (grctx->bundle_size >> s)); in gf100_grctx_generate_bundle()
1048 mmio_wr32(info, 0x41880c, 0x80000000 | (grctx->bundle_size >> s)); in gf100_grctx_generate_bundle()
1054 const struct gf100_grctx_func *grctx = info->gr->func->grctx; in gf100_grctx_generate_pagepool() local
1056 const int b = mmio_vram(info, grctx->pagepool_size, (1 << s), true); in gf100_grctx_generate_pagepool()
1067 const struct gf100_grctx_func *grctx = gr->func->grctx; in gf100_grctx_generate_attrib() local
1367 const struct gf100_grctx_func *grctx = gr->func->grctx; gf100_grctx_generate_main() local
1438 const struct gf100_grctx_func *grctx = gr->func->grctx; gf100_grctx_generate() local
[all...]
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()
49 u32 size = grctx->alpha_nr_max * gr->tpc_total; in gp102_grctx_generate_attrib()
55 size += grctx->gfxp_nr * gr->ppc_nr[gpc] * gr->ppc_tpc_max; in gp102_grctx_generate_attrib()
85 ao += grctx->alpha_nr_max * gr->ppc_tpc_nr[gpc][ppc]; in gp102_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()
250 const u32 size = 0x20 * (grctx->attrib_nr_max + grctx->alpha_nr_max); in gf117_grctx_generate_attrib()
256 u32 ao = bo + grctx->attrib_nr_max * gr->tpc_total; in gf117_grctx_generate_attrib()
274 bo += grctx->attrib_nr_max * gr->ppc_tpc_nr[gpc][ppc]; in gf117_grctx_generate_attrib()
276 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()
76 size += grctx->gfxp_nr * gr->ppc_nr[gpc] * gr->ppc_tpc_max; in gv100_grctx_generate_attrib()
103 ao += grctx->alpha_nr_max * gr->ppc_tpc_nr[gpc][ppc]; in gv100_grctx_generate_attrib()
H A Dctxgm107.c881 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
912 const struct gf100_grctx_func *grctx = gr->func->grctx; gm107_grctx_generate_attrib() local
[all...]
H A Dctxgk104.c877 const struct gf100_grctx_func *grctx = info->gr->func->grctx; in gk104_grctx_generate_bundle() local
878 const u32 state_limit = min(grctx->bundle_min_gpm_fifo_depth, in gk104_grctx_generate_bundle()
879 grctx->bundle_size / 0x20); in gk104_grctx_generate_bundle()
880 const u32 token_limit = grctx->bundle_token_limit; in gk104_grctx_generate_bundle()
882 const int b = mmio_vram(info, grctx->bundle_size, (1 << s), true); in gk104_grctx_generate_bundle()
884 mmio_wr32(info, 0x408008, 0x80000000 | (grctx->bundle_size >> s)); in gk104_grctx_generate_bundle()
886 mmio_wr32(info, 0x41880c, 0x80000000 | (grctx->bundle_size >> s)); in gk104_grctx_generate_bundle()
893 const struct gf100_grctx_func *grctx = info->gr->func->grctx; in gk104_grctx_generate_pagepool() local
[all...]
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()
742 const u32 size = 0x20 * (grctx->attrib_nr_max + grctx->alpha_nr_max); in gf108_grctx_generate_attrib()
748 u32 ao = bo + grctx->attrib_nr_max * gr->tpc_total; in gf108_grctx_generate_attrib()
764 bo += grctx->attrib_nr_max; in gf108_grctx_generate_attrib()
766 ao += grctx->alpha_nr_max; in gf108_grctx_generate_attrib()
H A Dgp10b.c63 .grctx = &gp100_grctx,
H A Dgp104.c51 .grctx = &gp104_grctx,
H A Dgp107.c53 .grctx = &gp107_grctx,

Completed in 14 milliseconds

123