Searched refs:ih_ring_entry (Results 1 – 9 of 9) sorted by relevance
/linux-6.12.1/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_interrupt.c | 115 bool enqueue_ih_ring_entry(struct kfd_node *node, const void *ih_ring_entry) in enqueue_ih_ring_entry() argument 119 count = kfifo_in(&node->ih_fifo, ih_ring_entry, in enqueue_ih_ring_entry() 134 static bool dequeue_ih_ring_entry(struct kfd_node *node, void *ih_ring_entry) in dequeue_ih_ring_entry() argument 138 count = kfifo_out(&node->ih_fifo, ih_ring_entry, in dequeue_ih_ring_entry() 150 uint32_t ih_ring_entry[KFD_MAX_RING_ENTRY_SIZE]; in interrupt_wq() local 153 if (dev->kfd->device_info.ih_ring_entry_size > sizeof(ih_ring_entry)) { in interrupt_wq() 158 while (dequeue_ih_ring_entry(dev, ih_ring_entry)) { in interrupt_wq() 160 ih_ring_entry); in interrupt_wq() 172 const uint32_t *ih_ring_entry, in interrupt_is_wanted() argument 179 ih_ring_entry, patched_ihre, flag); in interrupt_is_wanted()
|
D | kfd_int_process_v10.c | 133 const uint32_t *ih_ring_entry, in event_interrupt_isr_v10() argument 138 const uint32_t *data = ih_ring_entry; in event_interrupt_isr_v10() 140 source_id = SOC15_SOURCE_ID_FROM_IH_ENTRY(ih_ring_entry); in event_interrupt_isr_v10() 141 client_id = SOC15_CLIENT_ID_FROM_IH_ENTRY(ih_ring_entry); in event_interrupt_isr_v10() 144 vmid = SOC15_VMID_FROM_IH_ENTRY(ih_ring_entry); in event_interrupt_isr_v10() 150 pasid = SOC15_PASID_FROM_IH_ENTRY(ih_ring_entry); in event_interrupt_isr_v10() 195 const uint32_t *ih_ring_entry) in event_interrupt_wq_v10() argument 201 source_id = SOC15_SOURCE_ID_FROM_IH_ENTRY(ih_ring_entry); in event_interrupt_wq_v10() 202 client_id = SOC15_CLIENT_ID_FROM_IH_ENTRY(ih_ring_entry); in event_interrupt_wq_v10() 203 pasid = SOC15_PASID_FROM_IH_ENTRY(ih_ring_entry); in event_interrupt_wq_v10() [all …]
|
D | kfd_int_process_v9.c | 258 const uint32_t *ih_ring_entry, in event_interrupt_isr_v9() argument 263 const uint32_t *data = ih_ring_entry; in event_interrupt_isr_v9() 265 source_id = SOC15_SOURCE_ID_FROM_IH_ENTRY(ih_ring_entry); in event_interrupt_isr_v9() 266 client_id = SOC15_CLIENT_ID_FROM_IH_ENTRY(ih_ring_entry); in event_interrupt_isr_v9() 269 vmid = SOC15_VMID_FROM_IH_ENTRY(ih_ring_entry); in event_interrupt_isr_v9() 275 pasid = SOC15_PASID_FROM_IH_ENTRY(ih_ring_entry); in event_interrupt_isr_v9() 305 memcpy(patched_ihre, ih_ring_entry, in event_interrupt_isr_v9() 333 SOC15_CONTEXT_ID0_FROM_IH_ENTRY(ih_ring_entry); in event_interrupt_isr_v9() 355 const uint32_t *ih_ring_entry) in event_interrupt_wq_v9() argument 361 source_id = SOC15_SOURCE_ID_FROM_IH_ENTRY(ih_ring_entry); in event_interrupt_wq_v9() [all …]
|
D | kfd_int_process_v11.c | 234 const uint32_t *ih_ring_entry, in event_interrupt_isr_v11() argument 239 const uint32_t *data = ih_ring_entry; in event_interrupt_isr_v11() 242 source_id = SOC15_SOURCE_ID_FROM_IH_ENTRY(ih_ring_entry); in event_interrupt_isr_v11() 243 client_id = SOC15_CLIENT_ID_FROM_IH_ENTRY(ih_ring_entry); in event_interrupt_isr_v11() 245 vmid = SOC15_VMID_FROM_IH_ENTRY(ih_ring_entry); in event_interrupt_isr_v11() 251 pasid = SOC15_PASID_FROM_IH_ENTRY(ih_ring_entry); in event_interrupt_isr_v11() 252 context_id0 = SOC15_CONTEXT_ID0_FROM_IH_ENTRY(ih_ring_entry); in event_interrupt_isr_v11() 283 const uint32_t *ih_ring_entry) in event_interrupt_wq_v11() argument 291 source_id = SOC15_SOURCE_ID_FROM_IH_ENTRY(ih_ring_entry); in event_interrupt_wq_v11() 292 client_id = SOC15_CLIENT_ID_FROM_IH_ENTRY(ih_ring_entry); in event_interrupt_wq_v11() [all …]
|
D | cik_event_interrupt.c | 30 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()
|
D | kfd_priv.h | 216 const uint32_t *ih_ring_entry, uint32_t *patched_ihre, 219 const uint32_t *ih_ring_entry); 1173 bool enqueue_ih_ring_entry(struct kfd_node *kfd, const void *ih_ring_entry); 1175 const uint32_t *ih_ring_entry,
|
D | kfd_device.c | 1074 void kgd2kfd_interrupt(struct kfd_dev *kfd, const void *ih_ring_entry) in kgd2kfd_interrupt() argument 1094 && interrupt_is_wanted(node, ih_ring_entry, in kgd2kfd_interrupt() 1097 is_patched ? patched_ihre : ih_ring_entry)) { in kgd2kfd_interrupt()
|
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_amdkfd.h | 159 const void *ih_ring_entry); 424 void kgd2kfd_interrupt(struct kfd_dev *kfd, const void *ih_ring_entry); 479 void kgd2kfd_interrupt(struct kfd_dev *kfd, const void *ih_ring_entry) in kgd2kfd_interrupt() argument
|
D | amdgpu_amdkfd.c | 245 const void *ih_ring_entry) in amdgpu_amdkfd_interrupt() argument 248 kgd2kfd_interrupt(adev->kfd.dev, ih_ring_entry); in amdgpu_amdkfd_interrupt()
|