Home
last modified time | relevance | path

Searched refs:fence_addr (Results 1 – 5 of 5) sorted by relevance

/drivers/gpu/drm/amd/amdkfd/
Dkfd_device_queue_manager.h248 uint64_t *fence_addr; member
Dkfd_device_queue_manager.c1504 retval = kfd_gtt_sa_allocate(dqm->dev, sizeof(*dqm->fence_addr), in start_cpsch()
1510 dqm->fence_addr = (uint64_t *)dqm->fence_mem->cpu_ptr; in start_cpsch()
1717 int amdkfd_fence_wait_timeout(uint64_t *fence_addr, in amdkfd_fence_wait_timeout() argument
1723 while (*fence_addr != fence_value) { in amdkfd_fence_wait_timeout()
1783 *dqm->fence_addr = KFD_FENCE_INIT; in unmap_queues_cpsch()
1787 retval = amdkfd_fence_wait_timeout(dqm->fence_addr, KFD_FENCE_COMPLETED, in unmap_queues_cpsch()
Dkfd_priv.h1234 int amdkfd_fence_wait_timeout(uint64_t *fence_addr,
/drivers/misc/habanalabs/gaudi/
Dgaudi.c8751 static u32 gaudi_add_mon_pkts(void *buf, u16 mon_id, u64 fence_addr) in gaudi_add_mon_pkts() argument
8768 size += gaudi_add_mon_msg_short(buf + size, (u32) fence_addr, in gaudi_add_mon_pkts()
8776 size += gaudi_add_mon_msg_short(buf + size, (u32) (fence_addr >> 32), in gaudi_add_mon_pkts()
8797 u64 fence_addr = 0; in gaudi_gen_wait_cb() local
8800 if (gaudi_get_fence_addr(hdev, prop->q_idx, &fence_addr)) { in gaudi_gen_wait_cb()
8806 size += gaudi_add_mon_pkts(buf + size, prop->mon_id, fence_addr); in gaudi_gen_wait_cb()
/drivers/misc/habanalabs/gaudi2/
Dgaudi2.c9691 u64 monitor_base, fence_addr = 0; in gaudi2_gen_wait_cb() local
9696 fence_addr = CFG_BASE + gaudi2_qm_blocks_bases[prop->q_idx] + in gaudi2_gen_wait_cb()
9709 size += gaudi2_add_mon_msg_short(buf + size, (u32) fence_addr, msg_addr_offset); in gaudi2_gen_wait_cb()
9715 size += gaudi2_add_mon_msg_short(buf + size, (u32) (fence_addr >> 32), msg_addr_offset); in gaudi2_gen_wait_cb()