/src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
amdgpu_amdkfd_fence.c | 28 #include <linux/dma-fence.h> 40 /* Eviction Fence 41 * Fence helper functions to deal with KFD memory eviction. 45 * All the BOs in a process share an eviction fence. When process X wants 63 * user queues and signal fence. The work item will also start another delayed 70 struct amdgpu_amdkfd_fence *fence; local in function:amdgpu_amdkfd_fence_create 72 fence = kzalloc(sizeof(*fence), GFP_KERNEL); 73 if (fence == NULL) 78 fence->mm = mm 90 struct amdgpu_amdkfd_fence *fence; local in function:to_amdgpu_amdkfd_fence 109 struct amdgpu_amdkfd_fence *fence = to_amdgpu_amdkfd_fence(f); local in function:amdkfd_fence_get_timeline_name 122 struct amdgpu_amdkfd_fence *fence = to_amdgpu_amdkfd_fence(f); local in function:amdkfd_fence_enable_signaling 146 struct amdgpu_amdkfd_fence *fence = to_amdgpu_amdkfd_fence(f); local in function:amdkfd_fence_release 167 struct amdgpu_amdkfd_fence *fence = to_amdgpu_amdkfd_fence(f); local in function:amdkfd_fence_check_mm [all...] |
amdgpu_amdkfd_fence.c | 28 #include <linux/dma-fence.h> 40 /* Eviction Fence 41 * Fence helper functions to deal with KFD memory eviction. 45 * All the BOs in a process share an eviction fence. When process X wants 63 * user queues and signal fence. The work item will also start another delayed 70 struct amdgpu_amdkfd_fence *fence; local in function:amdgpu_amdkfd_fence_create 72 fence = kzalloc(sizeof(*fence), GFP_KERNEL); 73 if (fence == NULL) 78 fence->mm = mm 90 struct amdgpu_amdkfd_fence *fence; local in function:to_amdgpu_amdkfd_fence 109 struct amdgpu_amdkfd_fence *fence = to_amdgpu_amdkfd_fence(f); local in function:amdkfd_fence_get_timeline_name 122 struct amdgpu_amdkfd_fence *fence = to_amdgpu_amdkfd_fence(f); local in function:amdkfd_fence_enable_signaling 146 struct amdgpu_amdkfd_fence *fence = to_amdgpu_amdkfd_fence(f); local in function:amdkfd_fence_release 167 struct amdgpu_amdkfd_fence *fence = to_amdgpu_amdkfd_fence(f); local in function:amdkfd_fence_check_mm [all...] |
/src/sys/external/bsd/drm2/dist/drm/radeon/ |
radeon_rv770_dma.c | 52 struct radeon_fence *fence; local in function:rv770_copy_dma 88 r = radeon_fence_emit(rdev, &fence, ring->idx); 96 radeon_sync_free(rdev, &sync, fence); 98 return fence;
|
radeon_rv770_dma.c | 52 struct radeon_fence *fence; local in function:rv770_copy_dma 88 r = radeon_fence_emit(rdev, &fence, ring->idx); 96 radeon_sync_free(rdev, &sync, fence); 98 return fence;
|
radeon_evergreen_dma.c | 37 * evergreen_dma_fence_ring_emit - emit a fence on the DMA ring 40 * @fence: radeon fence object 42 * Add a DMA fence packet to the ring to write 43 * the fence seq number and DMA trap packet to generate 47 struct radeon_fence *fence) 49 struct radeon_ring *ring = &rdev->ring[fence->ring]; 50 u64 addr = rdev->fence_drv[fence->ring].gpu_addr; 51 /* write the fence */ 55 radeon_ring_write(ring, fence->seq) 118 struct radeon_fence *fence; local in function:evergreen_copy_dma [all...] |
radeon_sync.c | 60 * radeon_sync_fence - use the semaphore to sync to a fence 62 * @sync: sync object to add fence to 63 * @fence: fence to sync to 65 * Sync to the fence using the semaphore objects 68 struct radeon_fence *fence) 72 if (!fence) 75 other = sync->sync_to[fence->ring]; 76 sync->sync_to[fence->ring] = radeon_fence_later(fence, other) 100 struct radeon_fence *fence; local in function:radeon_sync_resv 149 struct radeon_fence *fence = sync->sync_to[i]; local in function:radeon_sync_rings [all...] |
radeon_evergreen_dma.c | 37 * evergreen_dma_fence_ring_emit - emit a fence on the DMA ring 40 * @fence: radeon fence object 42 * Add a DMA fence packet to the ring to write 43 * the fence seq number and DMA trap packet to generate 47 struct radeon_fence *fence) 49 struct radeon_ring *ring = &rdev->ring[fence->ring]; 50 u64 addr = rdev->fence_drv[fence->ring].gpu_addr; 51 /* write the fence */ 55 radeon_ring_write(ring, fence->seq) 118 struct radeon_fence *fence; local in function:evergreen_copy_dma [all...] |
radeon_sync.c | 60 * radeon_sync_fence - use the semaphore to sync to a fence 62 * @sync: sync object to add fence to 63 * @fence: fence to sync to 65 * Sync to the fence using the semaphore objects 68 struct radeon_fence *fence) 72 if (!fence) 75 other = sync->sync_to[fence->ring]; 76 sync->sync_to[fence->ring] = radeon_fence_later(fence, other) 100 struct radeon_fence *fence; local in function:radeon_sync_resv 149 struct radeon_fence *fence = sync->sync_to[i]; local in function:radeon_sync_rings [all...] |
/src/sys/external/bsd/drm2/dist/include/drm/ |
drm_syncobj.h | 31 #include <linux/dma-fence.h> 32 #include <linux/dma-fence-chain.h> 47 * @fence: 48 * NULL or a pointer to the fence bound to this object. 53 struct dma_fence __rcu *fence; member in struct:drm_syncobj 55 * @cb_list: List of callbacks to call when the &fence gets replaced. 59 * @lock: Protects &cb_list and write-locks &fence. 94 * drm_syncobj_fence_get - get a reference to a fence in a sync object 97 * This acquires additional reference to &drm_syncobj.fence contained in @obj, 102 * Either the fence of @obj or NULL if there's none 107 struct dma_fence *fence; local in function:drm_syncobj_fence_get [all...] |
drm_syncobj.h | 31 #include <linux/dma-fence.h> 32 #include <linux/dma-fence-chain.h> 47 * @fence: 48 * NULL or a pointer to the fence bound to this object. 53 struct dma_fence __rcu *fence; member in struct:drm_syncobj 55 * @cb_list: List of callbacks to call when the &fence gets replaced. 59 * @lock: Protects &cb_list and write-locks &fence. 94 * drm_syncobj_fence_get - get a reference to a fence in a sync object 97 * This acquires additional reference to &drm_syncobj.fence contained in @obj, 102 * Either the fence of @obj or NULL if there's none 107 struct dma_fence *fence; local in function:drm_syncobj_fence_get [all...] |
/src/sys/arch/hpcmips/stand/lcboot/ |
i28f128.c | 130 const u_int16_t *fence; local in function:block_write 146 fence = p + (I28F128_BLOCK_SIZE >> 1); 165 } while (p < fence);
|
i28f128.c | 130 const u_int16_t *fence; local in function:block_write 146 fence = p + (I28F128_BLOCK_SIZE >> 1); 165 } while (p < fence);
|
/src/sys/external/bsd/drm2/dist/drm/i915/ |
i915_active.h | 23 * "fence registers" but pipeline synchronisation objects ala GL_ARB_sync. 32 * In order to use a fence, the object must track the fence it needs to 36 * complete, or waiting for the last GPU user of a "fence register". The 40 * track the most recent fence request, typically this is done as part of 50 void i915_active_noop(struct dma_fence *fence, struct dma_fence_cb *cb); 55 * @fence - initial fence to track, can be NULL 60 * an activity tracker, that is for tracking the last known active fence 61 * associated with it. When the last fence becomes idle, when it is retire 105 struct dma_fence *fence; local in function:i915_active_fence_get [all...] |
i915_active.h | 23 * "fence registers" but pipeline synchronisation objects ala GL_ARB_sync. 32 * In order to use a fence, the object must track the fence it needs to 36 * complete, or waiting for the last GPU user of a "fence register". The 40 * track the most recent fence request, typically this is done as part of 50 void i915_active_noop(struct dma_fence *fence, struct dma_fence_cb *cb); 55 * @fence - initial fence to track, can be NULL 60 * an activity tracker, that is for tracking the last known active fence 61 * associated with it. When the last fence becomes idle, when it is retire 105 struct dma_fence *fence; local in function:i915_active_fence_get [all...] |
/src/sys/external/bsd/drm2/dist/drm/nouveau/ |
nouveau_vmm.h | 17 struct nouveau_fence *fence; member in struct:nouveau_vma
|
nouveau_vmm.h | 17 struct nouveau_fence *fence; member in struct:nouveau_vma
|
/src/sys/external/bsd/drm2/dist/drm/virtio/ |
virtgpu_fence.c | 50 struct virtio_gpu_fence *fence = to_virtio_fence(f); local in function:virtio_fence_signaled 52 if (WARN_ON_ONCE(fence->f.seqno == 0)) 53 /* leaked fence outside driver before completing 56 if (atomic64_read(&fence->drv->last_seq) >= fence->f.seqno) 68 struct virtio_gpu_fence *fence = to_virtio_fence(f); local in function:virtio_timeline_value_str 70 snprintf(str, size, "%llu", (u64)atomic64_read(&fence->drv->last_seq)); 84 struct virtio_gpu_fence *fence = kzalloc(sizeof(struct virtio_gpu_fence), local in function:virtio_gpu_fence_alloc 86 if (!fence) 87 return fence; 123 struct virtio_gpu_fence *fence, *tmp; local in function:virtio_gpu_fence_event_process [all...] |
virtgpu_fence.c | 50 struct virtio_gpu_fence *fence = to_virtio_fence(f); local in function:virtio_fence_signaled 52 if (WARN_ON_ONCE(fence->f.seqno == 0)) 53 /* leaked fence outside driver before completing 56 if (atomic64_read(&fence->drv->last_seq) >= fence->f.seqno) 68 struct virtio_gpu_fence *fence = to_virtio_fence(f); local in function:virtio_timeline_value_str 70 snprintf(str, size, "%llu", (u64)atomic64_read(&fence->drv->last_seq)); 84 struct virtio_gpu_fence *fence = kzalloc(sizeof(struct virtio_gpu_fence), local in function:virtio_gpu_fence_alloc 86 if (!fence) 87 return fence; 123 struct virtio_gpu_fence *fence, *tmp; local in function:virtio_gpu_fence_event_process [all...] |
/src/sys/external/bsd/drm2/dist/drm/vmwgfx/ |
vmwgfx_fence.h | 32 #include <linux/dma-fence.h> 33 #include <linux/dma-fence-array.h> 65 void (*destroy)(struct vmw_fence_obj *fence); 76 struct vmw_fence_obj *fence = *fence_p; local in function:vmw_fence_obj_unreference 79 if (fence) 80 dma_fence_put(&fence->base); 84 vmw_fence_obj_reference(struct vmw_fence_obj *fence) 86 if (fence) 87 dma_fence_get(&fence->base); 88 return fence; [all...] |
vmwgfx_reg.h | 50 u32 fence; member in struct:svga_fifo_cmd_fence
|
vmwgfx_fence.h | 32 #include <linux/dma-fence.h> 33 #include <linux/dma-fence-array.h> 65 void (*destroy)(struct vmw_fence_obj *fence); 76 struct vmw_fence_obj *fence = *fence_p; local in function:vmw_fence_obj_unreference 79 if (fence) 80 dma_fence_put(&fence->base); 84 vmw_fence_obj_reference(struct vmw_fence_obj *fence) 86 if (fence) 87 dma_fence_get(&fence->base); 88 return fence; [all...] |
/src/sys/external/bsd/drm2/dist/include/uapi/drm/ |
vgem_drm.h | 56 __u32 fence; member in struct:drm_vgem_fence_signal
|
vgem_drm.h | 56 __u32 fence; member in struct:drm_vgem_fence_signal
|
/src/sys/external/bsd/drm2/dist/drm/i915/gem/ |
i915_gem_busy.c | 44 __busy_set_if_active(const struct dma_fence *fence, u32 (*flag)(u16 id)) 49 * We have to check the current hw status of the fence as the uABI 56 if (!dma_fence_is_i915(fence)) 60 rq = const_container_of(fence, struct i915_request, fence); 70 busy_check_reader(const struct dma_fence *fence) 72 return __busy_set_if_active(fence, __busy_read_flag); 76 busy_check_writer(const struct dma_fence *fence) 78 if (!fence) 81 return __busy_set_if_active(fence, __busy_write_id) 130 struct dma_fence *fence = local in function:i915_gem_busy_ioctl [all...] |
/src/sys/external/bsd/drm2/linux/ |
linux_sync_file.c | 42 #include <linux/dma-fence.h> 48 sync_file_create(struct dma_fence *fence, struct file *fp) 59 sf->sf_fence = dma_fence_get(fence); 87 sync_file_fence_cb(struct dma_fence *fence, struct dma_fence_cb *fcb) 214 struct dma_fence *fence; local in function:sync_file_get_fence 219 fence = dma_fence_get(sf->sf_fence); 222 return fence;
|