is_power_of_2
} else if (!is_power_of_2(amdgpu_sched_jobs)){
!is_power_of_2(amdgpu_vram_page_split))) {
if (!is_power_of_2(val & DRM_MODE_ROTATE_MASK)) {
WARN_ON(!is_power_of_2(rotation & DRM_MODE_ROTATE_MASK));
remainder_mask = is_power_of_2(alignment) ? alignment - 1 : 0;
scan->remainder_mask = is_power_of_2(alignment) ? alignment - 1 : 0;
if (legacy_type && !is_power_of_2(legacy_type))
if (unlikely(entry->alignment && !is_power_of_2(entry->alignment)))
GEM_BUG_ON(!is_power_of_2(vma->fence_size));
GEM_BUG_ON(!is_power_of_2(stride));
GEM_BUG_ON(!is_power_of_2(vma->fence_size));
GEM_BUG_ON(!is_power_of_2(stride / 128));
GEM_BUG_ON(alignment && !is_power_of_2(alignment));
if (!is_power_of_2(stride))
GEM_BUG_ON(!is_power_of_2(vma->fence_alignment));
GEM_BUG_ON(alignment && !is_power_of_2(alignment));
GEM_BUG_ON(!is_power_of_2(alignment));
GEM_BUG_ON(!is_power_of_2(size));
GEM_BUG_ON(!is_power_of_2(size));
GEM_BUG_ON(!is_power_of_2(entry->size));
if (!is_power_of_2(INTEL_INFO(dev_priv)->sseu.subslice_7eu[i]))
GEM_BUG_ON(!is_power_of_2(grow));
is_power_of_2(sseu->slice_mask)) {
if (rq < 128 || rq > 4096 || !is_power_of_2(rq))