Searched refs:restore_id (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_events.c | 96 const int *restore_id) in allocate_event_notification_slot() argument 108 if (restore_id) { in allocate_event_notification_slot() 109 id = idr_alloc(&p->event_idr, ev, *restore_id, *restore_id + 1, in allocate_event_notification_slot() 188 struct kfd_event *ev, const int *restore_id) in create_signal_event() argument 201 ret = allocate_event_notification_slot(p, ev, restore_id); in create_signal_event() 217 static int create_other_event(struct kfd_process *p, struct kfd_event *ev, const int *restore_id) in create_other_event() argument 221 if (restore_id) in create_other_event() 222 id = idr_alloc(&p->event_idr, ev, *restore_id, *restore_id + 1, in create_other_event()
|
H A D | kfd_device_queue_manager.c | 346 uint32_t const *restore_id) in allocate_doorbell() argument 355 if (restore_id && *restore_id != q->properties.queue_id) in allocate_doorbell() 382 if (restore_id && *restore_id != valid_id) in allocate_doorbell() 387 if (restore_id) { in allocate_doorbell() 389 if (__test_and_set_bit(*restore_id, qpd->doorbell_bitmap)) in allocate_doorbell() 392 q->doorbell_id = *restore_id; in allocate_doorbell()
|