gem5
v20.1.0.0
|
Perform a DMA read of the MQD that corresponds to a hardware queue descriptor (HQD). More...
Public Member Functions | |
MQDDmaEvent (GPUCommandProcessor &gpu_cmd_proc, HSAQueueEntry *task) | |
void | process () override |
Callback function invoked on completion of all chunks. More... | |
Public Member Functions inherited from DmaCallback | |
virtual const std::string | name () const |
DrainState | drain () override |
DmaPort ensures that all oustanding DMA accesses have completed before it finishes draining. More... | |
Event * | getChunkEvent () |
Request a chunk event. More... | |
Public Member Functions inherited from Drainable | |
DrainState | drainState () const |
Return the current drain state of an object. More... | |
virtual void | notifyFork () |
Notify a child process of a fork. More... | |
Private Attributes | |
GPUCommandProcessor & | gpuCmdProc |
HSAQueueEntry * | _task |
Additional Inherited Members | |
Protected Member Functions inherited from DmaCallback | |
DmaCallback () | |
virtual | ~DmaCallback () |
Protected Member Functions inherited from Drainable | |
Drainable () | |
virtual | ~Drainable () |
virtual void | drainResume () |
Resume execution after a successful drain. More... | |
void | signalDrainDone () const |
Signal that an object is drained. More... | |
Protected Attributes inherited from DmaCallback | |
int | count |
Perform a DMA read of the MQD that corresponds to a hardware queue descriptor (HQD).
We store a copy of the MQD in the HSAQueueEntry object so we can send a copy of it along with a dispatch packet, which is needed to initialize register state.
Definition at line 145 of file gpu_command_processor.hh.
|
inline |
Definition at line 148 of file gpu_command_processor.hh.
|
inlineoverridevirtual |
Callback function invoked on completion of all chunks.
Implements DmaCallback.
Definition at line 154 of file gpu_command_processor.hh.
References _task, GPUCommandProcessor::dispatchPkt(), and gpuCmdProc.
|
private |
Definition at line 161 of file gpu_command_processor.hh.
Referenced by process().
|
private |
Definition at line 160 of file gpu_command_processor.hh.
Referenced by process().