grctx 1042 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c const struct gf100_grctx_func *grctx = info->gr->func->grctx; grctx 1044 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c const int b = mmio_vram(info, grctx->bundle_size, (1 << s), true); grctx 1046 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c mmio_wr32(info, 0x408008, 0x80000000 | (grctx->bundle_size >> s)); grctx 1048 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c mmio_wr32(info, 0x41880c, 0x80000000 | (grctx->bundle_size >> s)); grctx 1054 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c const struct gf100_grctx_func *grctx = info->gr->func->grctx; grctx 1056 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c const int b = mmio_vram(info, grctx->pagepool_size, (1 << s), true); grctx 1067 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c const struct gf100_grctx_func *grctx = gr->func->grctx; grctx 1068 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c const u32 attrib = grctx->attrib_nr; grctx 1069 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c const u32 size = 0x20 * (grctx->attrib_nr_max + grctx->alpha_nr_max); grctx 1084 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c bo += grctx->attrib_nr_max; grctx 1328 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c const struct gf100_grctx_func *func = gr->func->grctx; grctx 1372 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c const struct gf100_grctx_func *grctx = gr->func->grctx; grctx 1378 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c gf100_gr_mmio(gr, grctx->hub); grctx 1379 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c gf100_gr_mmio(gr, grctx->gpc_0); grctx 1380 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c gf100_gr_mmio(gr, grctx->zcull); grctx 1381 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c gf100_gr_mmio(gr, grctx->gpc_1); grctx 1382 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c gf100_gr_mmio(gr, grctx->tpc); grctx 1383 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c gf100_gr_mmio(gr, grctx->ppc); grctx 1392 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c grctx->pagepool(info); grctx 1393 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c grctx->bundle(info); grctx 1394 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c grctx->attrib(info); grctx 1395 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c if (grctx->patch_ltc) grctx 1396 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c grctx->patch_ltc(info); grctx 1397 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c grctx->unkn(gr); grctx 1403 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c if (grctx->r400088) grctx->r400088(gr, false); grctx 1407 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c gf100_gr_icmd(gr, grctx->icmd); grctx 1408 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c if (grctx->sw_veid_bundle_init) grctx 1409 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c gf100_gr_icmd(gr, grctx->sw_veid_bundle_init); grctx 1410 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c if (grctx->r400088) grctx->r400088(gr, true); grctx 1417 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c gf100_gr_mthd(gr, grctx->mthd); grctx 1420 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c if (grctx->r419cb8) grctx 1421 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c grctx->r419cb8(gr); grctx 1422 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c if (grctx->r418800) grctx 1423 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c grctx->r418800(gr); grctx 1424 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c if (grctx->r419eb0) grctx 1425 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c grctx->r419eb0(gr); grctx 1426 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c if (grctx->r419e00) grctx 1427 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c grctx->r419e00(gr); grctx 1428 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c if (grctx->r418e94) grctx 1429 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c grctx->r418e94(gr); grctx 1430 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c if (grctx->r419a3c) grctx 1431 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c grctx->r419a3c(gr); grctx 1432 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c if (grctx->r408840) grctx 1433 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c grctx->r408840(gr); grctx 1441 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c const struct gf100_grctx_func *grctx = gr->func->grctx; grctx 1459 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c if (grctx->unkn88c) grctx 1460 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c grctx->unkn88c(gr, true); grctx 1469 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c if (grctx->unkn88c) grctx 1470 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c grctx->unkn88c(gr, false); grctx 1546 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c grctx->main(gr, &info); grctx 739 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf108.c const struct gf100_grctx_func *grctx = gr->func->grctx; grctx 740 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf108.c const u32 alpha = grctx->alpha_nr; grctx 741 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf108.c const u32 beta = grctx->attrib_nr; grctx 742 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf108.c const u32 size = 0x20 * (grctx->attrib_nr_max + grctx->alpha_nr_max); grctx 748 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf108.c u32 ao = bo + grctx->attrib_nr_max * gr->tpc_total; grctx 764 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf108.c bo += grctx->attrib_nr_max; grctx 766 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf108.c ao += grctx->alpha_nr_max; grctx 247 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf117.c const struct gf100_grctx_func *grctx = gr->func->grctx; grctx 248 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf117.c const u32 alpha = grctx->alpha_nr; grctx 249 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf117.c const u32 beta = grctx->attrib_nr; grctx 250 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf117.c const u32 size = 0x20 * (grctx->attrib_nr_max + grctx->alpha_nr_max); grctx 256 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf117.c u32 ao = bo + grctx->attrib_nr_max * gr->tpc_total; grctx 274 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf117.c bo += grctx->attrib_nr_max * gr->ppc_tpc_nr[gpc][ppc]; grctx 276 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf117.c ao += grctx->alpha_nr_max * gr->ppc_tpc_nr[gpc][ppc]; grctx 877 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk104.c const struct gf100_grctx_func *grctx = info->gr->func->grctx; grctx 878 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk104.c const u32 state_limit = min(grctx->bundle_min_gpm_fifo_depth, grctx 879 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk104.c grctx->bundle_size / 0x20); grctx 880 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk104.c const u32 token_limit = grctx->bundle_token_limit; grctx 882 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk104.c const int b = mmio_vram(info, grctx->bundle_size, (1 << s), true); grctx 884 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk104.c mmio_wr32(info, 0x408008, 0x80000000 | (grctx->bundle_size >> s)); grctx 886 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk104.c mmio_wr32(info, 0x41880c, 0x80000000 | (grctx->bundle_size >> s)); grctx 893 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk104.c const struct gf100_grctx_func *grctx = info->gr->func->grctx; grctx 895 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk104.c const int b = mmio_vram(info, grctx->pagepool_size, (1 << s), true); grctx 31 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk20a.c const struct gf100_grctx_func *grctx = gr->func->grctx; grctx 41 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk20a.c grctx->attrib(info); grctx 43 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk20a.c grctx->unkn(gr); grctx 63 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk20a.c grctx->pagepool(info); grctx 64 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk20a.c grctx->bundle(info); grctx 881 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm107.c const struct gf100_grctx_func *grctx = info->gr->func->grctx; grctx 882 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm107.c const u32 state_limit = min(grctx->bundle_min_gpm_fifo_depth, grctx 883 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm107.c grctx->bundle_size / 0x20); grctx 884 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm107.c const u32 token_limit = grctx->bundle_token_limit; grctx 886 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm107.c const int b = mmio_vram(info, grctx->bundle_size, (1 << s), true); grctx 888 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm107.c mmio_wr32(info, 0x408008, 0x80000000 | (grctx->bundle_size >> s)); grctx 890 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm107.c mmio_wr32(info, 0x418e28, 0x80000000 | (grctx->bundle_size >> s)); grctx 897 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm107.c const struct gf100_grctx_func *grctx = info->gr->func->grctx; grctx 899 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm107.c const int b = mmio_vram(info, grctx->pagepool_size, (1 << s), true); grctx 912 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm107.c const struct gf100_grctx_func *grctx = gr->func->grctx; grctx 913 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm107.c const u32 alpha = grctx->alpha_nr; grctx 914 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm107.c const u32 attrib = grctx->attrib_nr; grctx 915 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm107.c const u32 size = 0x20 * (grctx->attrib_nr_max + grctx->alpha_nr_max); grctx 920 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm107.c u32 ao = bo + grctx->attrib_nr_max * gr->tpc_total; grctx 939 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm107.c bo += grctx->attrib_nr_max * gr->ppc_tpc_nr[gpc][ppc]; grctx 942 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm107.c ao += grctx->alpha_nr_max * gr->ppc_tpc_nr[gpc][ppc]; grctx 28 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm20b.c const struct gf100_grctx_func *grctx = gr->func->grctx; grctx 38 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm20b.c grctx->attrib(info); grctx 40 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm20b.c grctx->unkn(gr); grctx 66 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm20b.c grctx->pagepool(info); grctx 67 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm20b.c grctx->bundle(info); grctx 35 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgp100.c const struct gf100_grctx_func *grctx = info->gr->func->grctx; grctx 37 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgp100.c const int b = mmio_vram(info, grctx->pagepool_size, (1 << s), true); grctx 48 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgp100.c const struct gf100_grctx_func *grctx = gr->func->grctx; grctx 49 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgp100.c const u32 alpha = grctx->alpha_nr; grctx 50 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgp100.c const u32 attrib = grctx->attrib_nr; grctx 53 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgp100.c u32 size = grctx->alpha_nr_max * gr->tpc_total; grctx 59 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgp100.c size += grctx->attrib_nr_max * gr->ppc_nr[gpc] * gr->ppc_tpc_max; grctx 83 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgp100.c bo += grctx->attrib_nr_max * gr->ppc_tpc_max; grctx 86 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgp100.c ao += grctx->alpha_nr_max * gr->ppc_tpc_nr[gpc][ppc]; grctx 43 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgp102.c const struct gf100_grctx_func *grctx = gr->func->grctx; grctx 44 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgp102.c const u32 alpha = grctx->alpha_nr; grctx 45 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgp102.c const u32 attrib = grctx->attrib_nr; grctx 46 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgp102.c const u32 gfxp = grctx->gfxp_nr; grctx 49 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgp102.c u32 size = grctx->alpha_nr_max * gr->tpc_total; grctx 55 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgp102.c size += grctx->gfxp_nr * gr->ppc_nr[gpc] * gr->ppc_tpc_max; grctx 85 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgp102.c ao += grctx->alpha_nr_max * gr->ppc_tpc_nr[gpc][ppc]; grctx 65 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgv100.c const struct gf100_grctx_func *grctx = gr->func->grctx; grctx 66 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgv100.c const u32 alpha = grctx->alpha_nr; grctx 67 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgv100.c const u32 attrib = grctx->attrib_nr; grctx 68 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgv100.c const u32 gfxp = grctx->gfxp_nr; grctx 71 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgv100.c u32 size = grctx->alpha_nr_max * gr->tpc_total; grctx 76 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgv100.c size += grctx->gfxp_nr * gr->tpc_total; grctx 104 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgv100.c ao += grctx->alpha_nr_max * gr->ppc_tpc_nr[gpc][ppc]; grctx 1777 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c const struct gf100_grctx_func *grctx = gr->func->grctx; grctx 1804 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gf100_gr_init_csdata(gr, grctx->hub, 0x409000, 0x000, 0x000000); grctx 1805 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gf100_gr_init_csdata(gr, grctx->gpc_0, 0x41a000, 0x000, 0x418000); grctx 1806 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gf100_gr_init_csdata(gr, grctx->gpc_1, 0x41a000, 0x000, 0x418000); grctx 1807 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gf100_gr_init_csdata(gr, grctx->tpc, 0x41a000, 0x004, 0x419800); grctx 1808 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gf100_gr_init_csdata(gr, grctx->ppc, 0x41a000, 0x008, 0x41be00); grctx 2471 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c .grctx = &gf100_grctx, grctx 200 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.h const struct gf100_grctx_func *grctx; grctx 136 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf104.c .grctx = &gf104_grctx, grctx 134 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf108.c .grctx = &gf108_grctx, grctx 108 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf110.c .grctx = &gf110_grctx, grctx 173 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf117.c .grctx = &gf117_grctx, grctx 199 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf119.c .grctx = &gf119_grctx, grctx 480 drivers/gpu/drm/nouveau/nvkm/engine/gr/gk104.c .grctx = &gk104_grctx, grctx 376 drivers/gpu/drm/nouveau/nvkm/engine/gr/gk110.c .grctx = &gk110_grctx, grctx 128 drivers/gpu/drm/nouveau/nvkm/engine/gr/gk110b.c .grctx = &gk110b_grctx, grctx 186 drivers/gpu/drm/nouveau/nvkm/engine/gr/gk208.c .grctx = &gk208_grctx, grctx 295 drivers/gpu/drm/nouveau/nvkm/engine/gr/gk20a.c .grctx = &gk20a_grctx, grctx 421 drivers/gpu/drm/nouveau/nvkm/engine/gr/gm107.c .grctx = &gm107_grctx, grctx 189 drivers/gpu/drm/nouveau/nvkm/engine/gr/gm200.c .grctx = &gm200_grctx, grctx 77 drivers/gpu/drm/nouveau/nvkm/engine/gr/gm20b.c .grctx = &gm20b_grctx, grctx 127 drivers/gpu/drm/nouveau/nvkm/engine/gr/gp100.c .grctx = &gp100_grctx, grctx 123 drivers/gpu/drm/nouveau/nvkm/engine/gr/gp102.c .grctx = &gp102_grctx, grctx 51 drivers/gpu/drm/nouveau/nvkm/engine/gr/gp104.c .grctx = &gp104_grctx, grctx 53 drivers/gpu/drm/nouveau/nvkm/engine/gr/gp107.c .grctx = &gp107_grctx, grctx 51 drivers/gpu/drm/nouveau/nvkm/engine/gr/gp10b.c .grctx = &gp102_grctx, grctx 112 drivers/gpu/drm/nouveau/nvkm/engine/gr/gv100.c .grctx = &gv100_grctx,