Home
last modified time | relevance | path

Searched refs:NVKM_RAM_MM_SHIFT (Results 1 – 6 of 6) sorted by relevance

/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dramgf100.c457 size >>= NVKM_RAM_MM_SHIFT; in gf100_ram_get()
458 align >>= NVKM_RAM_MM_SHIFT; in gf100_ram_get()
459 ncmin >>= NVKM_RAM_MM_SHIFT; in gf100_ram_get()
473 if (align == (1 << (17 - NVKM_RAM_MM_SHIFT))) { in gf100_ram_get()
500 mem->offset = (u64)r->offset << NVKM_RAM_MM_SHIFT; in gf100_ram_get()
602 ret = nvkm_mm_init(&ram->vram, rsvd_head >> NVKM_RAM_MM_SHIFT, in gf100_ram_ctor()
604 NVKM_RAM_MM_SHIFT, 1); in gf100_ram_ctor()
609 ret = nvkm_mm_init(&ram->vram, rsvd_head >> NVKM_RAM_MM_SHIFT, in gf100_ram_ctor()
611 NVKM_RAM_MM_SHIFT, 1); in gf100_ram_ctor()
617 NVKM_RAM_MM_SHIFT, in gf100_ram_ctor()
[all …]
Drammcp77.c84 return nvkm_mm_init(&ram->base.vram, rsvd_head >> NVKM_RAM_MM_SHIFT, in mcp77_ram_new()
86 NVKM_RAM_MM_SHIFT, 1); in mcp77_ram_new()
Dramnv50.c540 max = (size >> NVKM_RAM_MM_SHIFT); in nv50_ram_get()
541 min = ncmin ? (ncmin >> NVKM_RAM_MM_SHIFT) : max; in nv50_ram_get()
542 align >>= NVKM_RAM_MM_SHIFT; in nv50_ram_get()
550 if (align == (1 << (16 - NVKM_RAM_MM_SHIFT))) { in nv50_ram_get()
584 mem->offset = (u64)r->offset << NVKM_RAM_MM_SHIFT; in nv50_ram_get()
675 return nvkm_mm_init(&ram->vram, rsvd_head >> NVKM_RAM_MM_SHIFT, in nv50_ram_ctor()
676 (size - rsvd_head - rsvd_tail) >> NVKM_RAM_MM_SHIFT, in nv50_ram_ctor()
677 nv50_fb_vram_rblock(ram) >> NVKM_RAM_MM_SHIFT); in nv50_ram_ctor()
Dram.c76 ret = nvkm_mm_init(&ram->vram, 0, size >> NVKM_RAM_MM_SHIFT, 1); in nvkm_ram_ctor()
/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dfb.h120 #define NVKM_RAM_MM_SHIFT 12 macro
/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
Dnv50.c67 return (u64)nv50_instobj(memory)->mem->size << NVKM_RAM_MM_SHIFT; in nv50_instobj_size()