Home
last modified time | relevance | path

Searched refs:zbc_color (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dgp100.c39 if (gr->zbc_color[zbc].format) { in gp100_gr_zbc_clear_color()
40 nvkm_wr32(device, 0x418010 + zoff, gr->zbc_color[zbc].ds[0]); in gp100_gr_zbc_clear_color()
41 nvkm_wr32(device, 0x41804c + zoff, gr->zbc_color[zbc].ds[1]); in gp100_gr_zbc_clear_color()
42 nvkm_wr32(device, 0x418088 + zoff, gr->zbc_color[zbc].ds[2]); in gp100_gr_zbc_clear_color()
43 nvkm_wr32(device, 0x4180c4 + zoff, gr->zbc_color[zbc].ds[3]); in gp100_gr_zbc_clear_color()
48 gr->zbc_color[zbc].format << ((znum % 4) * 7)); in gp100_gr_zbc_clear_color()
Dgf100.c52 if (gr->zbc_color[zbc].format) { in gf100_gr_zbc_clear_color()
53 nvkm_wr32(device, 0x405804, gr->zbc_color[zbc].ds[0]); in gf100_gr_zbc_clear_color()
54 nvkm_wr32(device, 0x405808, gr->zbc_color[zbc].ds[1]); in gf100_gr_zbc_clear_color()
55 nvkm_wr32(device, 0x40580c, gr->zbc_color[zbc].ds[2]); in gf100_gr_zbc_clear_color()
56 nvkm_wr32(device, 0x405810, gr->zbc_color[zbc].ds[3]); in gf100_gr_zbc_clear_color()
58 nvkm_wr32(device, 0x405814, gr->zbc_color[zbc].format); in gf100_gr_zbc_clear_color()
71 if (gr->zbc_color[i].format) { in gf100_gr_zbc_color_get()
72 if (gr->zbc_color[i].format != format) in gf100_gr_zbc_color_get()
74 if (memcmp(gr->zbc_color[i].ds, ds, sizeof( in gf100_gr_zbc_color_get()
75 gr->zbc_color[i].ds))) in gf100_gr_zbc_color_get()
[all …]
Dgf100.h110 struct gf100_gr_zbc_color zbc_color[NVKM_LTC_MAX_ZBC_CNT]; member
/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/subdev/ltc/
Dbase.c45 memcpy(ltc->zbc_color[index], color, sizeof(ltc->zbc_color[index])); in nvkm_ltc_zbc_color_get()
101 ltc->func->zbc_clear_color(ltc, i, ltc->zbc_color[i]); in nvkm_ltc_init()
/Linux-v5.4/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dltc.h22 u32 zbc_color[NVKM_LTC_MAX_ZBC_CNT][4]; member