Home
last modified time | relevance | path

Searched refs:fence_size (Results 1 – 10 of 10) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/i915/
Di915_gem_fence_reg.c84 GEM_BUG_ON(!IS_ALIGNED(vma->fence_size, I965_FENCE_PAGE)); in i965_write_fence_reg()
87 val = (vma->node.start + vma->fence_size - I965_FENCE_PAGE) << 32; in i965_write_fence_reg()
129 GEM_BUG_ON(!is_power_of_2(vma->fence_size)); in i915_write_fence_reg()
130 GEM_BUG_ON(!IS_ALIGNED(vma->node.start, vma->fence_size)); in i915_write_fence_reg()
141 val |= I915_FENCE_SIZE_BITS(vma->fence_size); in i915_write_fence_reg()
167 GEM_BUG_ON(!is_power_of_2(vma->fence_size)); in i830_write_fence_reg()
169 GEM_BUG_ON(!IS_ALIGNED(vma->node.start, vma->fence_size)); in i830_write_fence_reg()
174 val |= I830_FENCE_SIZE_BITS(vma->fence_size); in i830_write_fence_reg()
Di915_vma.c179 vma->fence_size = i915_gem_fence_size(vm->i915, vma->size, in vma_create()
182 if (unlikely(vma->fence_size < vma->size || /* overflow */ in vma_create()
183 vma->fence_size > vm->total)) in vma_create()
186 GEM_BUG_ON(!IS_ALIGNED(vma->fence_size, I915_GTT_MIN_ALIGNMENT)); in vma_create()
458 GEM_BUG_ON(!vma->fence_size); in __i915_vma_set_map_and_fenceable()
467 fenceable = (vma->node.size >= vma->fence_size && in __i915_vma_set_map_and_fenceable()
470 mappable = vma->node.start + vma->fence_size <= i915_vm_to_ggtt(vma->vm)->mappable_end; in __i915_vma_set_map_and_fenceable()
554 size = max_t(typeof(size), size, vma->fence_size); in i915_vma_insert()
Di915_gem_tiling.c286 vma->fence_size = in i915_gem_object_set_tiling()
Di915_vma.h63 u32 fence_size; member
Di915_gem_gtt.c2118 vma->fence_size = size; in pd_vma_create()
Di915_gem.c4461 vma->fence_size > dev_priv->ggtt.mappable_end / 2) in i915_gem_object_ggtt_pin()
/Linux-v4.19/include/linux/mlx4/
Dqp.h300 u8 fence_size; member
/Linux-v4.19/drivers/gpu/drm/vmwgfx/
Dvmwgfx_fence.c40 u32 fence_size; member
310 fman->fence_size = ttm_round_pot(sizeof(struct vmw_fence_obj)); in vmw_fence_manager_init()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Den_tx.c1056 qpn_vlan.fence_size = real_size; in mlx4_en_xmit()
1108 tx_desc->ctrl.qpn_vlan.fence_size = MLX4_EN_XDP_TX_REAL_SZ; in mlx4_en_init_tx_xdp_ring_descs()
/Linux-v4.19/drivers/infiniband/hw/mlx4/
Dqp.c220 s = (ctrl->qpn_vlan.fence_size & 0x3f) << 4; in stamp_send_wqe()
2456 ctrl->qpn_vlan.fence_size = in __mlx4_ib_modify_qp()
3705 ctrl->qpn_vlan.fence_size = (wr->send_flags & IB_SEND_FENCE ? in _mlx4_ib_post_send()