Home
last modified time | relevance | path

Searched refs:ih_ring_entry (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_int_process_v9.c214 const uint32_t *ih_ring_entry, in event_interrupt_isr_v9() argument
219 const uint32_t *data = ih_ring_entry; in event_interrupt_isr_v9()
225 vmid = SOC15_VMID_FROM_IH_ENTRY(ih_ring_entry); in event_interrupt_isr_v9()
231 pasid = SOC15_PASID_FROM_IH_ENTRY(ih_ring_entry); in event_interrupt_isr_v9()
261 memcpy(patched_ihre, ih_ring_entry, in event_interrupt_isr_v9()
311 const uint32_t *ih_ring_entry) in event_interrupt_wq_v9() argument
320 vmid = SOC15_VMID_FROM_IH_ENTRY(ih_ring_entry); in event_interrupt_wq_v9()
424 info.page_addr = ih_ring_entry[4] | in event_interrupt_wq_v9()
425 (uint64_t)(ih_ring_entry[5] & 0xf) << 32; in event_interrupt_wq_v9()
451 const uint32_t *ih_ring_entry, in event_interrupt_isr_v9_4_3() argument
[all …]
H A Dkfd_interrupt.c113 bool enqueue_ih_ring_entry(struct kfd_node *node, const void *ih_ring_entry) in enqueue_ih_ring_entry() argument
117 count = kfifo_in(&node->ih_fifo, ih_ring_entry, in enqueue_ih_ring_entry()
132 static bool dequeue_ih_ring_entry(struct kfd_node *node, void *ih_ring_entry) in dequeue_ih_ring_entry() argument
136 count = kfifo_out(&node->ih_fifo, ih_ring_entry, in dequeue_ih_ring_entry()
148 uint32_t ih_ring_entry[KFD_MAX_RING_ENTRY_SIZE]; in interrupt_wq() local
151 if (dev->kfd->device_info.ih_ring_entry_size > sizeof(ih_ring_entry)) { in interrupt_wq()
156 while (dequeue_ih_ring_entry(dev, ih_ring_entry)) { in interrupt_wq()
158 ih_ring_entry); in interrupt_wq()
170 const uint32_t *ih_ring_entry, in interrupt_is_wanted() argument
177 ih_ring_entry, patched_ihre, flag); in interrupt_is_wanted()
H A Dkfd_int_process_v11.c230 const uint32_t *ih_ring_entry, in event_interrupt_isr_v11() argument
235 const uint32_t *data = ih_ring_entry; in event_interrupt_isr_v11()
238 source_id = SOC15_SOURCE_ID_FROM_IH_ENTRY(ih_ring_entry); in event_interrupt_isr_v11()
241 vmid = SOC15_VMID_FROM_IH_ENTRY(ih_ring_entry); in event_interrupt_isr_v11()
247 pasid = SOC15_PASID_FROM_IH_ENTRY(ih_ring_entry); in event_interrupt_isr_v11()
279 const uint32_t *ih_ring_entry) in event_interrupt_wq_v11() argument
289 ring_id = SOC15_RING_ID_FROM_IH_ENTRY(ih_ring_entry); in event_interrupt_wq_v11()
290 pasid = SOC15_PASID_FROM_IH_ENTRY(ih_ring_entry); in event_interrupt_wq_v11()
291 vmid = SOC15_VMID_FROM_IH_ENTRY(ih_ring_entry); in event_interrupt_wq_v11()
302 info.page_addr = ih_ring_entry[4] | in event_interrupt_wq_v11()
[all …]
H A Dkfd_int_process_v10.c184 const uint32_t *ih_ring_entry, in event_interrupt_isr_v10() argument
189 const uint32_t *data = ih_ring_entry; in event_interrupt_isr_v10()
191 source_id = SOC15_SOURCE_ID_FROM_IH_ENTRY(ih_ring_entry); in event_interrupt_isr_v10()
192 client_id = SOC15_CLIENT_ID_FROM_IH_ENTRY(ih_ring_entry); in event_interrupt_isr_v10()
195 vmid = SOC15_VMID_FROM_IH_ENTRY(ih_ring_entry); in event_interrupt_isr_v10()
201 pasid = SOC15_PASID_FROM_IH_ENTRY(ih_ring_entry); in event_interrupt_isr_v10()
246 const uint32_t *ih_ring_entry) in event_interrupt_wq_v10() argument
254 pasid = SOC15_PASID_FROM_IH_ENTRY(ih_ring_entry); in event_interrupt_wq_v10()
255 vmid = SOC15_VMID_FROM_IH_ENTRY(ih_ring_entry); in event_interrupt_wq_v10()
378 info.page_addr = ih_ring_entry[4] | in event_interrupt_wq_v10()
[all …]
H A Dcik_event_interrupt.c30 const uint32_t *ih_ring_entry, in cik_event_interrupt_isr() argument
35 (const struct cik_ih_ring_entry *)ih_ring_entry; in cik_event_interrupt_isr()
89 const uint32_t *ih_ring_entry) in cik_event_interrupt_wq() argument
92 (const struct cik_ih_ring_entry *)ih_ring_entry; in cik_event_interrupt_wq()
H A Dkfd_priv.h215 const uint32_t *ih_ring_entry, uint32_t *patched_ihre,
218 const uint32_t *ih_ring_entry);
1151 bool enqueue_ih_ring_entry(struct kfd_node *kfd, const void *ih_ring_entry);
1153 const uint32_t *ih_ring_entry,
H A Dkfd_device.c1004 void kgd2kfd_interrupt(struct kfd_dev *kfd, const void *ih_ring_entry) in kgd2kfd_interrupt() argument
1024 && interrupt_is_wanted(node, ih_ring_entry, in kgd2kfd_interrupt()
1027 is_patched ? patched_ihre : ih_ring_entry)) { in kgd2kfd_interrupt()
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_amdkfd.h153 const void *ih_ring_entry);
405 void kgd2kfd_interrupt(struct kfd_dev *kfd, const void *ih_ring_entry);
457 void kgd2kfd_interrupt(struct kfd_dev *kfd, const void *ih_ring_entry) in kgd2kfd_interrupt() argument
H A Damdgpu_amdkfd.c217 const void *ih_ring_entry) in amdgpu_amdkfd_interrupt() argument
220 kgd2kfd_interrupt(adev->kfd.dev, ih_ring_entry); in amdgpu_amdkfd_interrupt()