| /linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
| D | ctxgm107.c | 866 const struct gf100_grctx_func *grctx = info->gr->func->grctx; in gm107_grctx_generate_bundle() local 867 const u32 state_limit = min(grctx->bundle_min_gpm_fifo_depth, in gm107_grctx_generate_bundle() 868 grctx->bundle_size / 0x20); in gm107_grctx_generate_bundle() 869 const u32 token_limit = grctx->bundle_token_limit; in gm107_grctx_generate_bundle() 872 const int b = mmio_vram(info, grctx->bundle_size, (1 << s), access); in gm107_grctx_generate_bundle() 874 mmio_wr32(info, 0x408008, 0x80000000 | (grctx->bundle_size >> s)); in gm107_grctx_generate_bundle() 876 mmio_wr32(info, 0x418e28, 0x80000000 | (grctx->bundle_size >> s)); in gm107_grctx_generate_bundle() 883 const struct gf100_grctx_func *grctx = info->gr->func->grctx; in gm107_grctx_generate_pagepool() local 886 const int b = mmio_vram(info, grctx->pagepool_size, (1 << s), access); in gm107_grctx_generate_pagepool() 899 const struct gf100_grctx_func *grctx = gr->func->grctx; in gm107_grctx_generate_attrib() local [all …]
|
| D | ctxgf117.c | 186 const struct gf100_grctx_func *grctx = gr->func->grctx; in gf117_grctx_generate_attrib() local 187 const u32 alpha = grctx->alpha_nr; in gf117_grctx_generate_attrib() 188 const u32 beta = grctx->attrib_nr; in gf117_grctx_generate_attrib() 189 const u32 size = 0x20 * (grctx->attrib_nr_max + grctx->alpha_nr_max); in gf117_grctx_generate_attrib() 196 u32 ao = bo + grctx->attrib_nr_max * gr->tpc_total; in gf117_grctx_generate_attrib() 214 bo += grctx->attrib_nr_max * gr->ppc_tpc_nr[gpc][ppc]; in gf117_grctx_generate_attrib() 216 ao += grctx->alpha_nr_max * gr->ppc_tpc_nr[gpc][ppc]; in gf117_grctx_generate_attrib() 225 const struct gf100_grctx_func *grctx = gr->func->grctx; in gf117_grctx_generate_main() local 230 gf100_gr_mmio(gr, grctx->hub); in gf117_grctx_generate_main() 231 gf100_gr_mmio(gr, grctx->gpc); in gf117_grctx_generate_main() [all …]
|
| D | ctxgk104.c | 846 const struct gf100_grctx_func *grctx = info->gr->func->grctx; in gk104_grctx_generate_bundle() local 847 const u32 state_limit = min(grctx->bundle_min_gpm_fifo_depth, in gk104_grctx_generate_bundle() 848 grctx->bundle_size / 0x20); in gk104_grctx_generate_bundle() 849 const u32 token_limit = grctx->bundle_token_limit; in gk104_grctx_generate_bundle() 852 const int b = mmio_vram(info, grctx->bundle_size, (1 << s), access); in gk104_grctx_generate_bundle() 854 mmio_wr32(info, 0x408008, 0x80000000 | (grctx->bundle_size >> s)); in gk104_grctx_generate_bundle() 856 mmio_wr32(info, 0x41880c, 0x80000000 | (grctx->bundle_size >> s)); in gk104_grctx_generate_bundle() 863 const struct gf100_grctx_func *grctx = info->gr->func->grctx; in gk104_grctx_generate_pagepool() local 866 const int b = mmio_vram(info, grctx->pagepool_size, (1 << s), access); in gk104_grctx_generate_pagepool() 958 const struct gf100_grctx_func *grctx = gr->func->grctx; in gk104_grctx_generate_main() local [all …]
|
| D | ctxgf100.c | 1030 const struct gf100_grctx_func *grctx = info->gr->func->grctx; in gf100_grctx_generate_bundle() local 1033 const int b = mmio_vram(info, grctx->bundle_size, (1 << s), access); in gf100_grctx_generate_bundle() 1035 mmio_wr32(info, 0x408008, 0x80000000 | (grctx->bundle_size >> s)); in gf100_grctx_generate_bundle() 1037 mmio_wr32(info, 0x41880c, 0x80000000 | (grctx->bundle_size >> s)); in gf100_grctx_generate_bundle() 1043 const struct gf100_grctx_func *grctx = info->gr->func->grctx; in gf100_grctx_generate_pagepool() local 1046 const int b = mmio_vram(info, grctx->pagepool_size, (1 << s), access); in gf100_grctx_generate_pagepool() 1057 const struct gf100_grctx_func *grctx = gr->func->grctx; in gf100_grctx_generate_attrib() local 1058 const u32 attrib = grctx->attrib_nr; in gf100_grctx_generate_attrib() 1059 const u32 size = 0x20 * (grctx->attrib_nr_max + grctx->alpha_nr_max); in gf100_grctx_generate_attrib() 1075 bo += grctx->attrib_nr_max; in gf100_grctx_generate_attrib() [all …]
|
| D | ctxgm204.c | 984 const struct gf100_grctx_func *grctx = gr->func->grctx; in gm204_grctx_generate_main() local 988 gf100_gr_mmio(gr, grctx->hub); in gm204_grctx_generate_main() 989 gf100_gr_mmio(gr, grctx->gpc); in gm204_grctx_generate_main() 990 gf100_gr_mmio(gr, grctx->zcull); in gm204_grctx_generate_main() 991 gf100_gr_mmio(gr, grctx->tpc); in gm204_grctx_generate_main() 992 gf100_gr_mmio(gr, grctx->ppc); in gm204_grctx_generate_main() 996 grctx->bundle(info); in gm204_grctx_generate_main() 997 grctx->pagepool(info); in gm204_grctx_generate_main() 998 grctx->attrib(info); in gm204_grctx_generate_main() 999 grctx->unkn(gr); in gm204_grctx_generate_main() [all …]
|
| D | ctxgf108.c | 734 const struct gf100_grctx_func *grctx = gr->func->grctx; in gf108_grctx_generate_attrib() local 735 const u32 alpha = grctx->alpha_nr; in gf108_grctx_generate_attrib() 736 const u32 beta = grctx->attrib_nr; in gf108_grctx_generate_attrib() 737 const u32 size = 0x20 * (grctx->attrib_nr_max + grctx->alpha_nr_max); in gf108_grctx_generate_attrib() 744 u32 ao = bo + grctx->attrib_nr_max * gr->tpc_total; in gf108_grctx_generate_attrib() 760 bo += grctx->attrib_nr_max; in gf108_grctx_generate_attrib() 762 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 42 grctx->attrib(info); in gk20a_grctx_generate_main() 44 grctx->unkn(gr); in gk20a_grctx_generate_main() 69 grctx->pagepool(info); in gk20a_grctx_generate_main() 70 grctx->bundle(info); in gk20a_grctx_generate_main()
|
| D | ctxgm20b.c | 42 const struct gf100_grctx_func *grctx = gr->func->grctx; in gm20b_grctx_generate_main() local 53 grctx->attrib(info); in gm20b_grctx_generate_main() 55 grctx->unkn(gr); in gm20b_grctx_generate_main() 84 grctx->pagepool(info); in gm20b_grctx_generate_main() 85 grctx->bundle(info); in gm20b_grctx_generate_main()
|
| D | gm206.c | 34 .grctx = &gm206_grctx,
|
| D | gk110b.c | 110 .grctx = &gk110b_grctx,
|
| D | gf104.c | 121 .grctx = &gf104_grctx,
|
| D | gf110.c | 93 .grctx = &gf110_grctx,
|
| D | gf108.c | 112 .grctx = &gf108_grctx,
|
| D | gf119.c | 184 .grctx = &gf119_grctx,
|
| D | gm20b.c | 69 .grctx = &gm20b_grctx,
|
| D | gk208.c | 169 .grctx = &gk208_grctx,
|
| D | gf117.c | 130 .grctx = &gf117_grctx,
|
| D | gk110.c | 190 .grctx = &gk110_grctx,
|
| D | gf100.c | 1337 const struct gf100_grctx_func *grctx = gr->func->grctx; in gf100_gr_init_ctxctl() local 1468 gf100_gr_init_csdata(gr, grctx->hub, 0x409000, 0x000, 0x000000); in gf100_gr_init_ctxctl() 1469 gf100_gr_init_csdata(gr, grctx->gpc, 0x41a000, 0x000, 0x418000); in gf100_gr_init_ctxctl() 1470 gf100_gr_init_csdata(gr, grctx->tpc, 0x41a000, 0x004, 0x419800); in gf100_gr_init_ctxctl() 1471 gf100_gr_init_csdata(gr, grctx->ppc, 0x41a000, 0x008, 0x41be00); in gf100_gr_init_ctxctl() 1834 .grctx = &gf100_grctx,
|
| D | gf100.h | 133 const struct gf100_grctx_func *grctx; member
|
| D | gm204.c | 359 .grctx = &gm204_grctx,
|
| D | gk104.c | 316 .grctx = &gk104_grctx,
|
| D | gm107.c | 445 .grctx = &gm107_grctx,
|
| D | gk20a.c | 342 .grctx = &gk20a_grctx,
|