Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/amd/amdkfd/
Dkfd_device_queue_manager.h249 uint64_t *fence_addr; member
Dkfd_device_queue_manager.c1647 retval = kfd_gtt_sa_allocate(dqm->dev, sizeof(*dqm->fence_addr), in start_cpsch()
1653 dqm->fence_addr = (uint64_t *)dqm->fence_mem->cpu_ptr; in start_cpsch()
1884 int amdkfd_fence_wait_timeout(uint64_t *fence_addr, in amdkfd_fence_wait_timeout() argument
1890 while (*fence_addr != fence_value) { in amdkfd_fence_wait_timeout()
1958 *dqm->fence_addr = KFD_FENCE_INIT; in unmap_queues_cpsch()
1962 retval = amdkfd_fence_wait_timeout(dqm->fence_addr, KFD_FENCE_COMPLETED, in unmap_queues_cpsch()
Dkfd_priv.h1346 int amdkfd_fence_wait_timeout(uint64_t *fence_addr,
/linux-6.6.21/drivers/accel/habanalabs/gaudi/
Dgaudi.c8688 static u32 gaudi_add_mon_pkts(void *buf, u16 mon_id, u64 fence_addr) in gaudi_add_mon_pkts() argument
8705 size += gaudi_add_mon_msg_short(buf + size, (u32) fence_addr, in gaudi_add_mon_pkts()
8713 size += gaudi_add_mon_msg_short(buf + size, (u32) (fence_addr >> 32), in gaudi_add_mon_pkts()
8734 u64 fence_addr = 0; in gaudi_gen_wait_cb() local
8737 if (gaudi_get_fence_addr(hdev, prop->q_idx, &fence_addr)) { in gaudi_gen_wait_cb()
8743 size += gaudi_add_mon_pkts(buf + size, prop->mon_id, fence_addr); in gaudi_gen_wait_cb()
/linux-6.6.21/drivers/accel/habanalabs/gaudi2/
Dgaudi2.c10689 u64 monitor_base, fence_addr = 0; in gaudi2_gen_wait_cb() local
10694 fence_addr = CFG_BASE + gaudi2_qm_blocks_bases[prop->q_idx] + in gaudi2_gen_wait_cb()
10707 size += gaudi2_add_mon_msg_short(buf + size, (u32) fence_addr, msg_addr_offset); in gaudi2_gen_wait_cb()
10713 size += gaudi2_add_mon_msg_short(buf + size, (u32) (fence_addr >> 32), msg_addr_offset); in gaudi2_gen_wait_cb()