/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/gr/ |
nouveau_nvkm_engine_gr_ctxgk20a.c | 36 const struct gf100_grctx_func *grctx = gr->func->grctx; local in function:gk20a_grctx_generate_main 46 grctx->attrib(info); 48 grctx->unkn(gr); 68 grctx->pagepool(info); 69 grctx->bundle(info);
|
nouveau_nvkm_engine_gr_ctxgm20b.c | 33 const struct gf100_grctx_func *grctx = gr->func->grctx; local in function:gm20b_grctx_generate_main 43 grctx->attrib(info); 45 grctx->unkn(gr); 71 grctx->pagepool(info); 72 grctx->bundle(info);
|
nouveau_nvkm_engine_gr_ctxgp100.c | 40 const struct gf100_grctx_func *grctx = info->gr->func->grctx; local in function:gp100_grctx_generate_pagepool 42 const int b = mmio_vram(info, grctx->pagepool_size, (1 << s), true); 53 const struct gf100_grctx_func *grctx = gr->func->grctx; local in function:gp100_grctx_generate_attrib 54 const u32 alpha = grctx->alpha_nr; 55 const u32 attrib = grctx->attrib_nr; 58 u32 size = grctx->alpha_nr_max * gr->tpc_total; 64 size += grctx->attrib_nr_max * gr->ppc_nr[gpc] * gr->ppc_tpc_max; 88 bo += grctx->attrib_nr_max * gr->ppc_tpc_max [all...] |
nouveau_nvkm_engine_gr_ctxgp102.c | 48 const struct gf100_grctx_func *grctx = gr->func->grctx; local in function:gp102_grctx_generate_attrib 49 const u32 alpha = grctx->alpha_nr; 50 const u32 attrib = grctx->attrib_nr; 51 const u32 gfxp = grctx->gfxp_nr; 54 u32 size = grctx->alpha_nr_max * gr->tpc_total; 60 size += grctx->gfxp_nr * gr->ppc_nr[gpc] * gr->ppc_tpc_max; 90 ao += grctx->alpha_nr_max * gr->ppc_tpc_nr[gpc][ppc];
|
nouveau_nvkm_engine_gr_ctxgf108.c | 744 const struct gf100_grctx_func *grctx = gr->func->grctx; local in function:gf108_grctx_generate_attrib 745 const u32 alpha = grctx->alpha_nr; 746 const u32 beta = grctx->attrib_nr; 747 const u32 size = 0x20 * (grctx->attrib_nr_max + grctx->alpha_nr_max); 753 u32 ao = bo + grctx->attrib_nr_max * gr->tpc_total; 769 bo += grctx->attrib_nr_max; 771 ao += grctx->alpha_nr_max;
|
nouveau_nvkm_engine_gr_ctxgf117.c | 252 const struct gf100_grctx_func *grctx = gr->func->grctx; local in function:gf117_grctx_generate_attrib 253 const u32 alpha = grctx->alpha_nr; 254 const u32 beta = grctx->attrib_nr; 255 const u32 size = 0x20 * (grctx->attrib_nr_max + grctx->alpha_nr_max); 261 u32 ao = bo + grctx->attrib_nr_max * gr->tpc_total; 279 bo += grctx->attrib_nr_max * gr->ppc_tpc_nr[gpc][ppc]; 281 ao += grctx->alpha_nr_max * gr->ppc_tpc_nr[gpc][ppc];
|
nouveau_nvkm_engine_gr_ctxgv100.c | 70 const struct gf100_grctx_func *grctx = gr->func->grctx; local in function:gv100_grctx_generate_attrib 71 const u32 alpha = grctx->alpha_nr; 72 const u32 attrib = grctx->attrib_nr; 73 const u32 gfxp = grctx->gfxp_nr; 75 u32 size = grctx->alpha_nr_max * gr->tpc_total; 81 size += grctx->gfxp_nr * gr->ppc_nr[gpc] * gr->ppc_tpc_max; 108 ao += grctx->alpha_nr_max * gr->ppc_tpc_nr[gpc][ppc];
|
nouveau_nvkm_engine_gr_ctxgk104.c | 882 const struct gf100_grctx_func *grctx = info->gr->func->grctx; local in function:gk104_grctx_generate_bundle 883 const u32 state_limit = min(grctx->bundle_min_gpm_fifo_depth, 884 grctx->bundle_size / 0x20); 885 const u32 token_limit = grctx->bundle_token_limit; 887 const int b = mmio_vram(info, grctx->bundle_size, (1 << s), true); 889 mmio_wr32(info, 0x408008, 0x80000000 | (grctx->bundle_size >> s)); 891 mmio_wr32(info, 0x41880c, 0x80000000 | (grctx->bundle_size >> s)); 898 const struct gf100_grctx_func *grctx = info->gr->func->grctx; local in function:gk104_grctx_generate_pagepool [all...] |
nouveau_nvkm_engine_gr_ctxgm107.c | 886 const struct gf100_grctx_func *grctx = info->gr->func->grctx; local in function:gm107_grctx_generate_bundle 887 const u32 state_limit = min(grctx->bundle_min_gpm_fifo_depth, 888 grctx->bundle_size / 0x20); 889 const u32 token_limit = grctx->bundle_token_limit; 891 const int b = mmio_vram(info, grctx->bundle_size, (1 << s), true); 893 mmio_wr32(info, 0x408008, 0x80000000 | (grctx->bundle_size >> s)); 895 mmio_wr32(info, 0x418e28, 0x80000000 | (grctx->bundle_size >> s)); 902 const struct gf100_grctx_func *grctx = info->gr->func->grctx; local in function:gm107_grctx_generate_pagepool 917 const struct gf100_grctx_func *grctx = gr->func->grctx; local in function:gm107_grctx_generate_attrib [all...] |
nouveau_nvkm_engine_gr_ctxgf100.c | 1047 const struct gf100_grctx_func *grctx = info->gr->func->grctx; local in function:gf100_grctx_generate_bundle 1049 const int b = mmio_vram(info, grctx->bundle_size, (1 << s), true); 1051 mmio_wr32(info, 0x408008, 0x80000000 | (grctx->bundle_size >> s)); 1053 mmio_wr32(info, 0x41880c, 0x80000000 | (grctx->bundle_size >> s)); 1059 const struct gf100_grctx_func *grctx = info->gr->func->grctx; local in function:gf100_grctx_generate_pagepool 1061 const int b = mmio_vram(info, grctx->pagepool_size, (1 << s), true); 1072 const struct gf100_grctx_func *grctx = gr->func->grctx; local in function:gf100_grctx_generate_attrib 1372 const struct gf100_grctx_func *grctx = gr->func->grctx; local in function:gf100_grctx_generate_main 1443 const struct gf100_grctx_func *grctx = gr->func->grctx; local in function:gf100_grctx_generate [all...] |
gf100.h | 194 const struct gf100_grctx_func *grctx; member in struct:gf100_gr_func
|
nouveau_nvkm_engine_gr_gf100.c | 1788 const struct gf100_grctx_func *grctx = gr->func->grctx; local in function:gf100_gr_init_ctxctl_int 1815 gf100_gr_init_csdata(gr, grctx->hub, 0x409000, 0x000, 0x000000); 1816 gf100_gr_init_csdata(gr, grctx->gpc_0, 0x41a000, 0x000, 0x418000); 1817 gf100_gr_init_csdata(gr, grctx->gpc_1, 0x41a000, 0x000, 0x418000); 1818 gf100_gr_init_csdata(gr, grctx->tpc, 0x41a000, 0x004, 0x419800); 1819 gf100_gr_init_csdata(gr, grctx->ppc, 0x41a000, 0x008, 0x41be00); 2398 .grctx = &gf100_grctx,
|