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