Home
last modified time | relevance | path

Searched refs:zcomp (Results 1 – 11 of 11) sorted by relevance

/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/fb/
H A Dnouveau_nvkm_subdev_fb_nv20.c54 if (!(flags & 2)) tile->zcomp = 0x00000000; /* Z16 */ in nv20_fb_tile_comp()
55 else tile->zcomp = 0x04000000; /* Z24S8 */ in nv20_fb_tile_comp()
56 tile->zcomp |= tile->tag->offset; in nv20_fb_tile_comp()
57 tile->zcomp |= 0x80000000; /* enable */ in nv20_fb_tile_comp()
59 tile->zcomp |= 0x08000000; in nv20_fb_tile_comp()
70 tile->zcomp = 0; in nv20_fb_tile_fini()
82 nvkm_wr32(device, 0x100300 + (i * 0x04), tile->zcomp); in nv20_fb_tile_prog()
H A Dnouveau_nvkm_subdev_fb_nv35.c41 if (flags & 2) tile->zcomp |= 0x04000000; /* Z16 */ in nv35_fb_tile_comp()
42 else tile->zcomp |= 0x08000000; /* Z24S8 */ in nv35_fb_tile_comp()
43 tile->zcomp |= ((tile->tag->offset ) >> 6); in nv35_fb_tile_comp()
44 tile->zcomp |= ((tile->tag->offset + tags - 1) >> 6) << 13; in nv35_fb_tile_comp()
46 tile->zcomp |= 0x40000000; in nv35_fb_tile_comp()
H A Dnouveau_nvkm_subdev_fb_nv36.c41 if (flags & 2) tile->zcomp |= 0x10000000; /* Z16 */ in nv36_fb_tile_comp()
42 else tile->zcomp |= 0x20000000; /* Z24S8 */ in nv36_fb_tile_comp()
43 tile->zcomp |= ((tile->tag->offset ) >> 6); in nv36_fb_tile_comp()
44 tile->zcomp |= ((tile->tag->offset + tags - 1) >> 6) << 14; in nv36_fb_tile_comp()
46 tile->zcomp |= 0x80000000; in nv36_fb_tile_comp()
H A Dnouveau_nvkm_subdev_fb_nv25.c41 if (!(flags & 2)) tile->zcomp = 0x00100000; /* Z16 */ in nv25_fb_tile_comp()
42 else tile->zcomp = 0x00200000; /* Z24S8 */ in nv25_fb_tile_comp()
43 tile->zcomp |= tile->tag->offset; in nv25_fb_tile_comp()
45 tile->zcomp |= 0x01000000; in nv25_fb_tile_comp()
H A Dnouveau_nvkm_subdev_fb_nv40.c42 tile->zcomp = 0x28000000; /* Z24S8_SPLIT_GRAD */ in nv40_fb_tile_comp()
43 tile->zcomp |= ((tile->tag->offset ) >> 8); in nv40_fb_tile_comp()
44 tile->zcomp |= ((tile->tag->offset + tags - 1) >> 8) << 13; in nv40_fb_tile_comp()
46 tile->zcomp |= 0x40000000; in nv40_fb_tile_comp()
H A Dnouveau_nvkm_subdev_fb_nv30.c60 if (flags & 2) tile->zcomp |= 0x01000000; /* Z16 */ in nv30_fb_tile_comp()
61 else tile->zcomp |= 0x02000000; /* Z24S8 */ in nv30_fb_tile_comp()
62 tile->zcomp |= ((tile->tag->offset ) >> 6); in nv30_fb_tile_comp()
63 tile->zcomp |= ((tile->tag->offset + tags - 1) >> 6) << 12; in nv30_fb_tile_comp()
65 tile->zcomp |= 0x10000000; in nv30_fb_tile_comp()
H A Dnouveau_nvkm_subdev_fb_nv41.c42 nvkm_wr32(device, 0x100700 + (i * 0x04), tile->zcomp); in nv41_fb_tile_prog()
H A Dnouveau_nvkm_subdev_fb_nv10.c49 tile->zcomp = 0; in nv10_fb_tile_fini()
/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/gr/
H A Dnouveau_nvkm_engine_gr_nv40.c203 nvkm_wr32(device, NV20_PGRAPH_ZCOMP(i), tile->zcomp); in nv40_gr_tile()
204 nvkm_wr32(device, NV40_PGRAPH_ZCOMP1(i), tile->zcomp); in nv40_gr_tile()
209 nvkm_wr32(device, NV41_PGRAPH_ZCOMP0(i), tile->zcomp); in nv40_gr_tile()
210 nvkm_wr32(device, NV41_PGRAPH_ZCOMP1(i), tile->zcomp); in nv40_gr_tile()
225 nvkm_wr32(device, NV47_PGRAPH_ZCOMP0(i), tile->zcomp); in nv40_gr_tile()
226 nvkm_wr32(device, NV47_PGRAPH_ZCOMP1(i), tile->zcomp); in nv40_gr_tile()
H A Dnouveau_nvkm_engine_gr_nv20.c176 nvkm_wr32(device, NV20_PGRAPH_ZCOMP(i), tile->zcomp); in nv20_gr_tile()
178 nvkm_wr32(device, NV10_PGRAPH_RDI_DATA, tile->zcomp); in nv20_gr_tile()
/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvkm/subdev/
H A Dfb.h31 u32 zcomp; member