Searched refs:roundup_pow_of_two (Results 1 – 14 of 14) sorted by relevance
/openbsd/sys/dev/pci/drm/i915/gem/ |
H A D | i915_gem_phys.c | 51 roundup_pow_of_two(obj->base.size), in i915_gem_object_get_pages_phys() 57 roundup_pow_of_two(obj->base.size), in i915_gem_object_get_pages_phys() 59 roundup_pow_of_two(obj->base.size), flags, 0); in i915_gem_object_get_pages_phys() 130 roundup_pow_of_two(obj->base.size), in i915_gem_object_get_pages_phys() 202 roundup_pow_of_two(obj->base.size), in i915_gem_object_put_pages_phys()
|
/openbsd/sys/dev/pci/drm/i915/gt/ |
H A D | intel_region_lmem.c | 69 current_size = roundup_pow_of_two(pci_resource_len(pdev, GEN12_LMEM_BAR)); in i915_resize_lmem_bar() 82 rebar_size >= roundup_pow_of_two(lmem_size)) { in i915_resize_lmem_bar() 92 if (rebar_size != roundup_pow_of_two(lmem_size)) in i915_resize_lmem_bar()
|
/openbsd/sys/dev/pci/drm/include/linux/ |
H A D | log2.h | 17 roundup_pow_of_two(unsigned long x) in roundup_pow_of_two() function
|
/openbsd/sys/dev/pci/drm/ |
H A D | drm_suballoc.c | 73 align = roundup_pow_of_two(align); in drm_suballoc_manager_init()
|
H A D | dma-resv.c | 195 max = max(4ul, roundup_pow_of_two(num_fences)); in dma_resv_reserve_fences()
|
/openbsd/sys/dev/pci/drm/i915/ |
H A D | i915_ttm_buddy_manager.c | 79 size = roundup_pow_of_two(size); in i915_ttm_buddy_man_alloc()
|
/openbsd/sys/dev/pci/drm/amd/amdgpu/ |
H A D | amdgpu_ring.c | 321 ring->ring_size = roundup_pow_of_two(max_dw * 4 * sched_hw_submission); in amdgpu_ring_init()
|
H A D | amdgpu_vram_mgr.c | 507 size = roundup_pow_of_two(size); in amdgpu_vram_mgr_new()
|
H A D | amdgpu_vm.c | 2144 vm_size = roundup_pow_of_two( in amdgpu_vm_adjust_size() 2150 tmp = roundup_pow_of_two(adev->vm_manager.max_pfn); in amdgpu_vm_adjust_size()
|
H A D | amdgpu_device.c | 1486 amdgpu_sched_jobs = roundup_pow_of_two(amdgpu_sched_jobs); in amdgpu_device_check_arguments() 1517 amdgpu_sched_hw_submission = roundup_pow_of_two(amdgpu_sched_hw_submission); in amdgpu_device_check_arguments()
|
/openbsd/sys/dev/pci/drm/i915/display/ |
H A D | intel_fb.c | 1359 return roundup_pow_of_two(max(pitch_tiles, 8u)); in plane_view_dst_stride_tiles()
|
H A D | intel_display.c | 2373 *ret_n = min_t(unsigned int, roundup_pow_of_two(n), DATA_LINK_N_MAX); in compute_m_n()
|
/openbsd/sys/dev/pci/drm/radeon/ |
H A D | r100.c | 2214 w = roundup_pow_of_two(w); in r100_cs_track_texture_check() 2221 h = roundup_pow_of_two(h); in r100_cs_track_texture_check()
|
H A D | r600_cs.c | 1402 val = roundup_pow_of_two(val); in r600_mip_minify()
|