Home
last modified time | relevance | path

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

12

/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/
A Dctxgf100.c1042 const struct gf100_grctx_func *grctx = info->gr->func->grctx; in gf100_grctx_generate_bundle() local
1054 const struct gf100_grctx_func *grctx = info->gr->func->grctx; in gf100_grctx_generate_pagepool() local
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; in gf100_grctx_generate_main() local
1392 grctx->unkn(gr); in gf100_grctx_generate_main()
1398 if (grctx->r400088) grctx->r400088(gr, false); in gf100_grctx_generate_main()
1405 if (grctx->r400088) grctx->r400088(gr, true); in gf100_grctx_generate_main()
1415 if (grctx->r419cb8) in gf100_grctx_generate_main()
1417 if (grctx->r418800) in gf100_grctx_generate_main()
1419 if (grctx->r419eb0) in gf100_grctx_generate_main()
[all …]
A Dctxgm107.c881 const struct gf100_grctx_func *grctx = info->gr->func->grctx; in gm107_grctx_generate_bundle() local
883 grctx->bundle_size / 0x20); in gm107_grctx_generate_bundle()
884 const u32 token_limit = grctx->bundle_token_limit; 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; in gm107_grctx_generate_attrib() local
913 const u32 alpha = grctx->alpha_nr; in gm107_grctx_generate_attrib()
914 const u32 attrib = grctx->attrib_nr; in gm107_grctx_generate_attrib()
915 const u32 size = 0x20 * (grctx->attrib_nr_max + grctx->alpha_nr_max); in gm107_grctx_generate_attrib()
920 u32 ao = bo + grctx->attrib_nr_max * gr->tpc_total; in gm107_grctx_generate_attrib()
939 bo += grctx->attrib_nr_max * gr->ppc_tpc_nr[gpc][ppc]; in gm107_grctx_generate_attrib()
[all …]
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->attrib_nr_max * gr->ppc_tpc_max; in gp100_grctx_generate_attrib()
86 ao += grctx->alpha_nr_max * gr->ppc_tpc_nr[gpc][ppc]; in gp100_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()
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()
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()
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
895 const int b = mmio_vram(info, grctx->pagepool_size, (1 << s), true); in gk104_grctx_generate_pagepool()
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()
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()
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()
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()
A Dgp107.c53 .grctx = &gp107_grctx,
A Dgp104.c51 .grctx = &gp104_grctx,
A Dgp10b.c63 .grctx = &gp100_grctx,
A Dgf104.c136 .grctx = &gf104_grctx,
A Dgf110.c108 .grctx = &gf110_grctx,
A Dgk110b.c128 .grctx = &gk110b_grctx,
A Dgf108.c134 .grctx = &gf108_grctx,
A Dgf119.c199 .grctx = &gf119_grctx,
A Dgk208.c186 .grctx = &gk208_grctx,
A Dgf117.c173 .grctx = &gf117_grctx,
A Dgp102.c123 .grctx = &gp102_grctx,
A Dgv100.c112 .grctx = &gv100_grctx,
A Dgk110.c376 .grctx = &gk110_grctx,
A Dgp100.c127 .grctx = &gp100_grctx,
A Dgf100.c1781 const struct gf100_grctx_func *grctx = gr->func->grctx; in gf100_gr_init_ctxctl_int() local
1808 gf100_gr_init_csdata(gr, grctx->hub, 0x409000, 0x000, 0x000000); in gf100_gr_init_ctxctl_int()
1809 gf100_gr_init_csdata(gr, grctx->gpc_0, 0x41a000, 0x000, 0x418000); in gf100_gr_init_ctxctl_int()
1810 gf100_gr_init_csdata(gr, grctx->gpc_1, 0x41a000, 0x000, 0x418000); in gf100_gr_init_ctxctl_int()
1811 gf100_gr_init_csdata(gr, grctx->tpc, 0x41a000, 0x004, 0x419800); in gf100_gr_init_ctxctl_int()
1812 gf100_gr_init_csdata(gr, grctx->ppc, 0x41a000, 0x008, 0x41be00); in gf100_gr_init_ctxctl_int()
2415 .grctx = &gf100_grctx,

Completed in 36 milliseconds

12