Go to the documentation of this file.
33 #ifndef __DEV_AMDGPU_INTERRUPT_HANDLER__
34 #define __DEV_AMDGPU_INTERRUPT_HANDLER__
46 #include "params/AMDGPUInterruptHandler.hh"
147 return "AMDGPUInterruptHandler Dma";
174 uint32_t client_id, uint32_t source_id);
204 #endif // __DEV_AMDGPU_INTERRUPT_HANDLER__
SenderState(Packet::SenderState *sender_state, Addr addr)
@ SOC15_IH_CLIENTID_SDMA6
void setBase(const uint32_t &data)
Packet::SenderState * saved
void writeMMIO(PacketPtr pkt, Addr mmio_offset)
Methods for setting the values of interrupt handler MMIO registers.
uint32_t getDoorbellOffset() const
@ SOC15_IH_CLIENTID_SDMA0
@ SOC15_IH_CLIENTID_SDMA1
Tick read(PacketPtr pkt) override
Pure virtual function that the device must implement.
void submitInterruptCookie()
AddrRangeList getAddrRanges() const override
Every PIO device is obliged to provide an implementation that returns the address ranges the device r...
void setGPUDevice(AMDGPUDevice *gpu_device)
void setWptrAddrHi(const uint32_t &data)
void setFlags(Flags _flags)
static const FlagsType AutoDelete
constexpr uint32_t INTR_COOKIE_SIZE
MSI-style interrupts.
void unserialize(CheckpointIn &cp) override
Unserialize an object.
void updateRptr(const uint32_t &data)
DmaEvent(AMDGPUInterruptHandler *deviceIh, uint32_t data)
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
@ SOC15_IH_CLIENTID_SDMA4
uint64_t Tick
Tick count type.
void setData(uint32_t _data)
AMDGPUInterruptHandler * deviceIh
Device model for an AMD GPU.
void setWptrAddrLo(const uint32_t &data)
void serialize(CheckpointOut &cp) const override
Serialize an object.
A virtual base opaque structure used to hold state associated with the packet (e.g....
void setCntl(const uint32_t &data)
@ SOC15_IH_CLIENTID_SDMA2
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
const char * description() const
Return a C string describing the event.
Struct to contain all interrupt handler related registers.
AMDGPUInterruptHandler(const AMDGPUInterruptHandlerParams &p)
@ SOC15_IH_CLIENTID_SDMA3
void submitWritePointer()
AMDGPUInterruptHandler::DmaEvent * dmaEvent
int ContextID
Globally unique thread context ID.
@ SOC15_IH_CLIENTID_SDMA5
void setWptr(const uint32_t &data)
Tick write(PacketPtr pkt) override
Pure virtual function that the device must implement.
void setRptr(const uint32_t &data)
std::ostream CheckpointOut
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
std::queue< AMDGPUInterruptCookie * > interruptQueue
soc15_ih_clientid
Defines from driver code.
void prepareInterruptCookie(ContextID cntxtId, uint32_t ring_id, uint32_t client_id, uint32_t source_id)
void setDoorbellOffset(const uint32_t &data)
@ SOC15_IH_CLIENTID_SDMA7
@ SOC15_IH_CLIENTID_GRBM_CP
void setBaseHi(const uint32_t &data)
Generated on Sun Jul 30 2023 01:56:54 for gem5 by doxygen 1.8.17