Lines Matching refs:zbc
30 gp102_gr_zbc_clear_stencil(struct gf100_gr *gr, int zbc) in gp102_gr_zbc_clear_stencil() argument
33 const int znum = zbc - 1; in gp102_gr_zbc_clear_stencil()
36 if (gr->zbc_stencil[zbc].format) in gp102_gr_zbc_clear_stencil()
37 nvkm_wr32(device, 0x41815c + zoff, gr->zbc_stencil[zbc].ds); in gp102_gr_zbc_clear_stencil()
40 gr->zbc_stencil[zbc].format << ((znum % 4) * 7)); in gp102_gr_zbc_clear_stencil()
48 int zbc = -ENOSPC, i; in gp102_gr_zbc_stencil_get() local
62 zbc = (zbc < 0) ? i : zbc; in gp102_gr_zbc_stencil_get()
66 if (zbc < 0) in gp102_gr_zbc_stencil_get()
67 return zbc; in gp102_gr_zbc_stencil_get()
69 gr->zbc_stencil[zbc].format = format; in gp102_gr_zbc_stencil_get()
70 gr->zbc_stencil[zbc].ds = ds; in gp102_gr_zbc_stencil_get()
71 gr->zbc_stencil[zbc].l2 = l2; in gp102_gr_zbc_stencil_get()
72 nvkm_ltc_zbc_stencil_get(ltc, zbc, l2); in gp102_gr_zbc_stencil_get()
73 gr->func->zbc->clear_stencil(gr, zbc); in gp102_gr_zbc_stencil_get()
74 return zbc; in gp102_gr_zbc_stencil_get()
124 .zbc = &gp102_gr_zbc,