Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/
Dkfd_int_process_v9.c30 const uint32_t *ih_ring_entry, in event_interrupt_isr_v9() argument
35 const uint32_t *data = ih_ring_entry; in event_interrupt_isr_v9()
38 vmid = SOC15_VMID_FROM_IH_ENTRY(ih_ring_entry); in event_interrupt_isr_v9()
43 source_id = SOC15_SOURCE_ID_FROM_IH_ENTRY(ih_ring_entry); in event_interrupt_isr_v9()
44 client_id = SOC15_CLIENT_ID_FROM_IH_ENTRY(ih_ring_entry); in event_interrupt_isr_v9()
45 pasid = SOC15_PASID_FROM_IH_ENTRY(ih_ring_entry); in event_interrupt_isr_v9()
55 memcpy(patched_ihre, ih_ring_entry, in event_interrupt_isr_v9()
88 const uint32_t *ih_ring_entry) in event_interrupt_wq_v9() argument
93 source_id = SOC15_SOURCE_ID_FROM_IH_ENTRY(ih_ring_entry); in event_interrupt_wq_v9()
94 client_id = SOC15_CLIENT_ID_FROM_IH_ENTRY(ih_ring_entry); in event_interrupt_wq_v9()
[all …]
Dkfd_interrupt.c112 bool enqueue_ih_ring_entry(struct kfd_dev *kfd, const void *ih_ring_entry) in enqueue_ih_ring_entry() argument
116 count = kfifo_in(&kfd->ih_fifo, ih_ring_entry, in enqueue_ih_ring_entry()
131 static bool dequeue_ih_ring_entry(struct kfd_dev *kfd, void *ih_ring_entry) in dequeue_ih_ring_entry() argument
135 count = kfifo_out(&kfd->ih_fifo, ih_ring_entry, in dequeue_ih_ring_entry()
147 uint32_t ih_ring_entry[KFD_MAX_RING_ENTRY_SIZE]; in interrupt_wq() local
149 if (dev->device_info->ih_ring_entry_size > sizeof(ih_ring_entry)) { in interrupt_wq()
154 while (dequeue_ih_ring_entry(dev, ih_ring_entry)) in interrupt_wq()
156 ih_ring_entry); in interrupt_wq()
160 const uint32_t *ih_ring_entry, in interrupt_is_wanted() argument
167 ih_ring_entry, patched_ihre, flag); in interrupt_is_wanted()
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()
88 const uint32_t *ih_ring_entry) in cik_event_interrupt_wq() argument
91 (const struct cik_ih_ring_entry *)ih_ring_entry; in cik_event_interrupt_wq()
Dkfd_priv.h184 const uint32_t *ih_ring_entry, uint32_t *patched_ihre,
187 const uint32_t *ih_ring_entry);
942 bool enqueue_ih_ring_entry(struct kfd_dev *kfd, const void *ih_ring_entry);
944 const uint32_t *ih_ring_entry,
Dkfd_device.c949 void kgd2kfd_interrupt(struct kfd_dev *kfd, const void *ih_ring_entry) in kgd2kfd_interrupt() argument
966 && interrupt_is_wanted(kfd, ih_ring_entry, in kgd2kfd_interrupt()
969 is_patched ? patched_ihre : ih_ring_entry)) in kgd2kfd_interrupt()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd.h127 const void *ih_ring_entry);
313 void kgd2kfd_interrupt(struct kfd_dev *kfd, const void *ih_ring_entry);
369 void kgd2kfd_interrupt(struct kfd_dev *kfd, const void *ih_ring_entry) in kgd2kfd_interrupt() argument
Damdgpu_amdkfd.c181 const void *ih_ring_entry) in amdgpu_amdkfd_interrupt() argument
184 kgd2kfd_interrupt(adev->kfd.dev, ih_ring_entry); in amdgpu_amdkfd_interrupt()