/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
H A D | gv100.c | 131 if (!(num_tpc_gpc = kcalloc(gr->gpc_nr, sizeof(*num_tpc_gpc), GFP_KERNEL))) in gv100_gr_scg_estimate_perf() 135 for (gpc = 0; gpc < gr->gpc_nr; gpc++) { in gv100_gr_scg_estimate_perf() 193 average_tpcs = scale_factor * average_tpcs / gr->gpc_nr; in gv100_gr_scg_estimate_perf() 194 for (gpc = 0; gpc < gr->gpc_nr; gpc++) { in gv100_gr_scg_estimate_perf() 202 deviation /= gr->gpc_nr; in gv100_gr_scg_estimate_perf() 234 gpc_tpc_mask = kcalloc(gr->gpc_nr, sizeof(*gpc_tpc_mask), GFP_KERNEL); in gv100_gr_oneinit_sm_id() 242 for (gpc = 0; gpc < gr->gpc_nr; gpc++) { in gv100_gr_oneinit_sm_id() 248 for (maxperf = -1, gpc = 0; gpc < gr->gpc_nr; gpc++) { in gv100_gr_oneinit_sm_id() 304 .gpc_nr = 6,
|
H A D | ctxgm200.c | 63 for (i = 0; i < gr->gpc_nr; i++) in gm200_grctx_generate_smid_config() 71 for (tmp = 0, i = 0; i < gr->gpc_nr; i++) in gm200_grctx_generate_tpc_mask() 89 for (gpc = 0; gpc < gr->gpc_nr; gpc++) { in gm200_grctx_generate_dist_skip_table()
|
H A D | gf117.c | 129 const u8 tile_nr = !gr->func->gpc_nr ? ALIGN(gr->tpc_total, 32) : in gf117_gr_init_zcull() 130 (gr->func->gpc_nr * gr->func->tpc_nr); in gf117_gr_init_zcull() 142 for (gpc = 0; gpc < gr->gpc_nr; gpc++) { in gf117_gr_init_zcull()
|
H A D | ctxgp100.c | 58 for (gpc = 0; gpc < gr->gpc_nr; gpc++) { in gp100_grctx_generate_attrib() 99 for (gpc = 0; gpc < gr->gpc_nr; gpc++) in gp100_grctx_generate_attrib_cb_size() 117 gpcs[gpc + (gr->func->gpc_nr * (tpc / 4))] |= sm << ((tpc % 4) * 8); in gp100_grctx_generate_smid_config()
|
H A D | ctxgm20b.c | 49 nvkm_wr32(device, 0x405b00, (gr->tpc_total << 8) | gr->gpc_nr); in gm20b_grctx_generate_main() 53 for (tmp = 0, i = 0; i < gr->gpc_nr; i++) in gm20b_grctx_generate_main()
|
H A D | tu102.c | 57 const u8 tile_nr = gr->func->gpc_nr * gr->func->tpc_nr; in tu102_gr_init_zcull() 69 for (gpc = 0; gpc < gr->gpc_nr; gpc++) { in tu102_gr_init_zcull() 119 .gpc_nr = 6,
|
H A D | ctxgk104.c | 918 nvkm_wr32(device, 0x405b00, (gr->tpc_total << 8) | gr->gpc_nr); in gk104_grctx_generate_gpc_tpc_nr() 933 for (gpc = 0; gpc < gr->gpc_nr; gpc++) { in gk104_grctx_generate_alpha_beta_tables() 961 for (j = 0; j < gr->gpc_nr; j += 4, amask >>= 32, bmask >>= 32) { in gk104_grctx_generate_alpha_beta_tables()
|
H A D | gm200.c | 167 if (gr->gpc_nr == 2 && gr->tpc_total == 8) { in gm200_gr_oneinit_tiles() 171 if (gr->gpc_nr == 4 && gr->tpc_total == 16) { in gm200_gr_oneinit_tiles() 175 if (gr->gpc_nr == 6 && gr->tpc_total == 24) { in gm200_gr_oneinit_tiles()
|
H A D | ctxgp102.c | 57 for (gpc = 0; gpc < gr->gpc_nr; gpc++) { in gp102_grctx_generate_attrib() 92 for (gpc = 0; gpc < gr->gpc_nr; gpc++) in gp102_grctx_generate_attrib_cb_size()
|
H A D | gp102.c | 91 for (gpc = 0; gpc < gr->gpc_nr; gpc++) { in gp102_gr_init_swdx_pes_mask() 123 .gpc_nr = 6,
|
H A D | gp107.c | 53 .gpc_nr = 2,
|
H A D | ctxgv100.c | 79 for (gpc = 0; gpc < gr->gpc_nr; gpc++) { in gv100_grctx_generate_attrib() 118 const u32 mapregs = DIV_ROUND_UP(gr->func->gpc_nr * gr->func->tpc_nr, 6); in gv100_grctx_generate_rop_mapping()
|
H A D | gp10b.c | 63 .gpc_nr = 1,
|
H A D | gp104.c | 51 .gpc_nr = 6,
|
H A D | gf100.c | 1165 cfg = (u32)gr->gpc_nr; in gf100_gr_units() 1503 for (gpc = 0; stat && gpc < gr->gpc_nr; gpc++) { in gf100_gr_trap_intr() 1900 for (gpc = 0; gpc < gr->gpc_nr; gpc++) { in gf100_gr_oneinit_sm_id() 1945 for (i = 0; i < gr->gpc_nr; i++) in gf100_gr_oneinit_tiles() 1962 mul_factor = gr->gpc_nr * gr->tpc_max; in gf100_gr_oneinit_tiles() 1970 for (i = 0; i < gr->gpc_nr; i++) { in gf100_gr_oneinit_tiles() 1977 for (j = 0; j < gr->gpc_nr; j++) { in gf100_gr_oneinit_tiles() 2010 for (i = 0; i < gr->gpc_nr; i++) { in gf100_gr_oneinit() 2244 for (gpc = 0; gpc < gr->gpc_nr; gpc++) { in gf100_gr_init_419cc0() 2303 for (gpc = 0; gpc < gr->gpc_nr; gpc++) { in gf100_gr_init_zcull() [all …]
|
H A D | ctxgk20a.c | 52 nvkm_wr32(device, 0x405b00, (gr->tpc_total << 8) | gr->gpc_nr); in gk20a_grctx_generate_main()
|
H A D | ctxgf108.c | 751 for (gpc = 0; gpc < gr->gpc_nr; gpc++) { in gf108_grctx_generate_attrib()
|
H A D | ctxgf100.c | 1042 for (gpc = 0; gpc < gr->gpc_nr; gpc++) { in gf100_grctx_generate_attrib() 1265 for (gpc = 0; atarget && gpc < gr->gpc_nr; gpc++) { in gf100_grctx_generate_alpha_beta_tables() 1273 for (gpc = 0; gpc < gr->gpc_nr; gpc++) { in gf100_grctx_generate_alpha_beta_tables()
|
H A D | gp100.c | 127 .gpc_nr = 6,
|
H A D | gf100.h | 106 u8 gpc_nr; member 194 int gpc_nr; member
|
H A D | ctxgf117.c | 259 for (gpc = 0; gpc < gr->gpc_nr; gpc++) { in gf117_grctx_generate_attrib()
|
H A D | gk104.c | 420 for (gpc = 0; gpc < gr->gpc_nr; gpc++) { in gk104_gr_init_ppc_exceptions()
|
H A D | ctxgm107.c | 914 for (gpc = 0; gpc < gr->gpc_nr; gpc++) { in gm107_grctx_generate_attrib()
|
H A D | ga102.c | 173 .gpc_nr = 7,
|