/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
A D | ctxgf100.c | 1042 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 D | ctxgm107.c | 881 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 D | ctxgp100.c | 35 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 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() 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 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() 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 D | ctxgk104.c | 877 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 D | ctxgk20a.c | 31 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 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() 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 D | ctxgm20b.c | 28 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 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() 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 D | gp107.c | 53 .grctx = &gp107_grctx,
|
A D | gp104.c | 51 .grctx = &gp104_grctx,
|
A D | gp10b.c | 63 .grctx = &gp100_grctx,
|
A D | gf104.c | 136 .grctx = &gf104_grctx,
|
A D | gf110.c | 108 .grctx = &gf110_grctx,
|
A D | gk110b.c | 128 .grctx = &gk110b_grctx,
|
A D | gf108.c | 134 .grctx = &gf108_grctx,
|
A D | gf119.c | 199 .grctx = &gf119_grctx,
|
A D | gk208.c | 186 .grctx = &gk208_grctx,
|
A D | gf117.c | 173 .grctx = &gf117_grctx,
|
A D | gp102.c | 123 .grctx = &gp102_grctx,
|
A D | gv100.c | 112 .grctx = &gv100_grctx,
|
A D | gk110.c | 376 .grctx = &gk110_grctx,
|
A D | gp100.c | 127 .grctx = &gp100_grctx,
|
A D | gf100.c | 1781 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,
|