Home
last modified time | relevance | path

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

12

/drivers/gpu/drm/nouveau/nvkm/engine/gr/
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
1068 const u32 attrib = grctx->attrib_nr; in gf100_grctx_generate_attrib()
1069 const u32 size = 0x20 * (grctx->attrib_nr_max + grctx->alpha_nr_max); in gf100_grctx_generate_attrib()
1084 bo += grctx->attrib_nr_max; in gf100_grctx_generate_attrib()
[all …]
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
899 const int b = mmio_vram(info, grctx->pagepool_size, (1 << s), true); in gm107_grctx_generate_pagepool()
912 const struct gf100_grctx_func *grctx = gr->func->grctx; in gm107_grctx_generate_attrib() local
[all …]
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()
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()
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()
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()
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()
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()
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()
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()
Dgp107.c53 .grctx = &gp107_grctx,
Dgp104.c51 .grctx = &gp104_grctx,
Dgp10b.c63 .grctx = &gp100_grctx,
Dgf104.c136 .grctx = &gf104_grctx,
Dgf110.c108 .grctx = &gf110_grctx,
Dgk110b.c128 .grctx = &gk110b_grctx,
Dgf119.c199 .grctx = &gf119_grctx,
Dgf108.c134 .grctx = &gf108_grctx,
Dgk208.c186 .grctx = &gk208_grctx,
Dgf117.c173 .grctx = &gf117_grctx,
Dgv100.c112 .grctx = &gv100_grctx,
Dgp102.c123 .grctx = &gp102_grctx,
Dgp100.c127 .grctx = &gp100_grctx,
Dgk110.c376 .grctx = &gk110_grctx,
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,

12