Home
last modified time | relevance | path

Searched refs:vramsz (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dnv40.c292 u32 vramsz; in nv40_gr_init() local
389 vramsz = device->func->resource_size(device, 1) - 1; in nv40_gr_init()
398 nvkm_wr32(device, 0x400864, vramsz); in nv40_gr_init()
399 nvkm_wr32(device, 0x400868, vramsz); in nv40_gr_init()
422 nvkm_wr32(device, 0x4008A0, vramsz); in nv40_gr_init()
423 nvkm_wr32(device, 0x4008A4, vramsz); in nv40_gr_init()
H A Dnv20.c233 u32 tmp, vramsz; in nv20_gr_init() local
300 vramsz = device->func->resource_size(device, 1) - 1; in nv20_gr_init()
309 nvkm_wr32(device, 0x400864, vramsz - 1); in nv20_gr_init()
310 nvkm_wr32(device, 0x400868, vramsz - 1); in nv20_gr_init()