Searched refs:NVKM_RAM_MM_SHIFT (Results 1 – 9 of 9) sorted by relevance
/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
D | ram.c | 61 return (u64)nvkm_mm_size(nvkm_vram(memory)->mn) << NVKM_RAM_MM_SHIFT; in nvkm_vram_size() 70 return (u64)nvkm_mm_addr(vram->mn) << NVKM_RAM_MM_SHIFT; in nvkm_vram_addr() 119 u8 page = max(rpage, (u8)NVKM_RAM_MM_SHIFT); in nvkm_ram_get() 120 u32 align = (1 << page) >> NVKM_RAM_MM_SHIFT; in nvkm_ram_get() 121 u32 max = ALIGN(size, 1 << page) >> NVKM_RAM_MM_SHIFT; in nvkm_ram_get() 212 size >> NVKM_RAM_MM_SHIFT, 1); in nvkm_ram_ctor()
|
D | ramgp102.c | 26 rsvd_head >> NVKM_RAM_MM_SHIFT, in gp102_ram_new() 27 (size - rsvd_head - rsvd_tail) >> NVKM_RAM_MM_SHIFT, in gp102_ram_new()
|
D | rammcp77.c | 83 rsvd_head >> NVKM_RAM_MM_SHIFT, in mcp77_ram_new() 85 NVKM_RAM_MM_SHIFT, 1); in mcp77_ram_new()
|
D | ramgf100.c | 540 rsvd_head >> NVKM_RAM_MM_SHIFT, in gf100_ram_ctor() 541 (lower - rsvd_head) >> NVKM_RAM_MM_SHIFT, 1); in gf100_ram_ctor() 549 ubase >> NVKM_RAM_MM_SHIFT, in gf100_ram_ctor() 550 (usize - rsvd_tail) >> NVKM_RAM_MM_SHIFT, 1); in gf100_ram_ctor() 556 rsvd_head >> NVKM_RAM_MM_SHIFT, in gf100_ram_ctor() 558 NVKM_RAM_MM_SHIFT, 1); in gf100_ram_ctor()
|
D | ramnv50.c | 579 rsvd_head >> NVKM_RAM_MM_SHIFT, in nv50_ram_ctor() 580 (size - rsvd_head - rsvd_tail) >> NVKM_RAM_MM_SHIFT, in nv50_ram_ctor() 581 nv50_fb_vram_rblock(ram) >> NVKM_RAM_MM_SHIFT); in nv50_ram_ctor()
|
/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
D | base.c | 327 heapM = nvkm_mmu_heap(mmu, heap, sizeM << NVKM_RAM_MM_SHIFT); in nvkm_mmu_vram() 331 heapN = nvkm_mmu_heap(mmu, heap, sizeN << NVKM_RAM_MM_SHIFT); in nvkm_mmu_vram() 332 heapU = nvkm_mmu_heap(mmu, heap, sizeU << NVKM_RAM_MM_SHIFT); in nvkm_mmu_vram()
|
D | vmm.h | 336 ((u64)MAP->mem->offset << NVKM_RAM_MM_SHIFT), \ 337 ((u64)MAP->mem->length << NVKM_RAM_MM_SHIFT), \
|
D | vmm.c | 1527 u64 size = (u64)map->mem->length << NVKM_RAM_MM_SHIFT; in nvkm_vmm_map_locked()
|
/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
D | fb.h | 138 #define NVKM_RAM_MM_SHIFT 12 macro
|