/netbsd/sys/external/bsd/drm2/dist/drm/nouveau/ |
H A D | nouveau_bo.h | 112 bool is_iomem; in nvbo_kmap_obj_iovirtual() local 114 &nvbo->kmap, &is_iomem); in nvbo_kmap_obj_iovirtual() 115 WARN_ON_ONCE(ioptr && !is_iomem); in nvbo_kmap_obj_iovirtual()
|
H A D | nouveau_dma.c | 46 bool is_iomem; in OUT_RINGp() local 47 u32 *mem = ttm_kmap_obj_virtual(&chan->push.buffer->kmap, &is_iomem); in OUT_RINGp() 49 if (is_iomem) in OUT_RINGp()
|
H A D | nouveau_bo.c | 674 bool is_iomem; in nouveau_bo_wr16() local 675 u16 *mem = ttm_kmap_obj_virtual(&nvbo->kmap, &is_iomem); in nouveau_bo_wr16() 679 if (is_iomem) in nouveau_bo_wr16() 688 bool is_iomem; in nouveau_bo_rd32() local 689 u32 *mem = ttm_kmap_obj_virtual(&nvbo->kmap, &is_iomem); in nouveau_bo_rd32() 693 if (is_iomem) in nouveau_bo_rd32() 702 bool is_iomem; in nouveau_bo_wr32() local 707 if (is_iomem) in nouveau_bo_wr32() 1541 reg->bus.is_iomem = false; in nouveau_ttm_io_mem_reserve() 1553 reg->bus.is_iomem = !drm->agp.cma; in nouveau_ttm_io_mem_reserve() [all …]
|
/netbsd/sys/external/bsd/drm2/dist/drm/ttm/ |
H A D | ttm_bo_vm.c | 258 if (!bo->mem.bus.is_iomem) { in ttm_bo_vm_fault_reserved() 281 if (bo->mem.bus.is_iomem) { in ttm_bo_vm_fault_reserved() 387 bool is_iomem; in ttm_bo_vm_access_kmap() local 393 ptr = (uint8_t *)ttm_kmap_obj_virtual(&map, &is_iomem) + offset; in ttm_bo_vm_access_kmap() 394 WARN_ON_ONCE(is_iomem); in ttm_bo_vm_access_kmap()
|
H A D | ttm_bo_util.c | 222 if (ret || !mem->bus.is_iomem) in ttm_mem_reg_ioremap() 751 if (!bo->mem.bus.is_iomem) { in ttm_bo_kmap()
|
H A D | ttm_bo.c | 1197 mem.bus.is_iomem = false; in ttm_bo_move_buffer() 1838 if (bo->mem.bus.is_iomem) { in ttm_bo_unmap_virtual_locked()
|
/netbsd/sys/external/bsd/drm2/dist/include/drm/ttm/ |
H A D | ttm_bo_api.h | 87 bool is_iomem; member 652 bool *is_iomem) in ttm_kmap_obj_virtual() argument 654 *is_iomem = !!(map->bo_kmap_type & TTM_BO_MAP_IOMEM_MASK); in ttm_kmap_obj_virtual()
|
/netbsd/sys/external/bsd/drm2/dist/drm/qxl/ |
H A D | qxl_ttm.c | 128 mem->bus.is_iomem = false; in qxl_ttm_io_mem_reserve() 136 mem->bus.is_iomem = true; in qxl_ttm_io_mem_reserve() 141 mem->bus.is_iomem = true; in qxl_ttm_io_mem_reserve()
|
H A D | qxl_object.c | 153 bool is_iomem; in qxl_bo_kmap() local 165 bo->kptr = ttm_kmap_obj_virtual(&bo->kmap, &is_iomem); in qxl_bo_kmap()
|
/netbsd/sys/external/bsd/drm2/ttm/ |
H A D | ttm_bo_vm.c | 155 if (bo->mem.bus.is_iomem) { in ttm_bo_uvm_fault() 185 (uintmax_t)vaddr, npages, bo, (int)bo->mem.bus.is_iomem, size, in ttm_bo_uvm_fault() 195 if (!bo->mem.bus.is_iomem) { in ttm_bo_uvm_fault()
|
/netbsd/sys/external/bsd/drm2/amdgpu/ |
H A D | amdgpufb.c | 174 KASSERT(rbo->tbo.mem.bus.is_iomem); in amdgpufb_drmfb_mmapfb()
|
/netbsd/sys/external/bsd/drm2/radeon/ |
H A D | radeondrmkmsfb.c | 177 KASSERT(rbo->tbo.mem.bus.is_iomem); in radeonfb_drmfb_mmapfb()
|
/netbsd/sys/external/bsd/drm2/vmwgfx/ |
H A D | vmwgfxfb.c | 172 KASSERT(vbo->base.mem.bus.is_iomem); in vmwgfxfb_drmfb_mmapfb()
|
/netbsd/sys/external/bsd/drm2/dist/drm/vmwgfx/ |
H A D | vmwgfx_shader.c | 974 bool is_iomem; in vmw_compat_shader_add() local 1003 memcpy(ttm_kmap_obj_virtual(&map, &is_iomem), bytecode, size); in vmw_compat_shader_add() 1004 WARN_ON(is_iomem); in vmw_compat_shader_add()
|
H A D | vmwgfx_ttm_buffer.c | 808 mem->bus.is_iomem = false; in vmw_ttm_io_mem_reserve() 822 mem->bus.is_iomem = true; in vmw_ttm_io_mem_reserve()
|
/netbsd/sys/external/bsd/drm2/dist/drm/radeon/ |
H A D | radeon_object.c | 285 bool is_iomem; in radeon_bo_kmap() local 298 bo->kptr = ttm_kmap_obj_virtual(&bo->kmap, &is_iomem); in radeon_bo_kmap()
|
H A D | radeon_ttm.c | 428 mem->bus.is_iomem = false; in radeon_ttm_io_mem_reserve() 441 mem->bus.is_iomem = !rdev->ddev->agp->cant_use_aperture; in radeon_ttm_io_mem_reserve() 455 mem->bus.is_iomem = true; in radeon_ttm_io_mem_reserve()
|
/netbsd/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
H A D | amdgpu_object.c | 817 bool is_iomem; in amdgpu_bo_kptr() local 819 return ttm_kmap_obj_virtual(&bo->kmap, &is_iomem); in amdgpu_bo_kptr()
|
H A D | amdgpu_ttm.c | 724 mem->bus.is_iomem = false; in amdgpu_ttm_io_mem_reserve() 748 mem->bus.is_iomem = true; in amdgpu_ttm_io_mem_reserve()
|