Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dctxgm107.c866 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 …]
Dctxgf117.c186 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 …]
Dctxgk104.c846 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 …]
Dctxgf100.c1030 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 …]
Dctxgm204.c984 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 …]
Dctxgf108.c734 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()
Dctxgk20a.c31 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()
Dctxgm20b.c42 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()
Dgm206.c34 .grctx = &gm206_grctx,
Dgk110b.c110 .grctx = &gk110b_grctx,
Dgf104.c121 .grctx = &gf104_grctx,
Dgf110.c93 .grctx = &gf110_grctx,
Dgf108.c112 .grctx = &gf108_grctx,
Dgf119.c184 .grctx = &gf119_grctx,
Dgm20b.c69 .grctx = &gm20b_grctx,
Dgk208.c169 .grctx = &gk208_grctx,
Dgf117.c130 .grctx = &gf117_grctx,
Dgk110.c190 .grctx = &gk110_grctx,
Dgf100.c1337 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,
Dgf100.h133 const struct gf100_grctx_func *grctx; member
Dgm204.c359 .grctx = &gm204_grctx,
Dgk104.c316 .grctx = &gk104_grctx,
Dgm107.c445 .grctx = &gm107_grctx,
Dgk20a.c342 .grctx = &gk20a_grctx,