gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::AMDGPUNbio Class Reference

#include <amdgpu_nbio.hh>

Public Member Functions

 AMDGPUNbio ()
 
void setGPUDevice (AMDGPUDevice *gpu_device)
 
void readMMIO (PacketPtr pkt, Addr offset)
 
void writeMMIO (PacketPtr pkt, Addr offset)
 
bool readFrame (PacketPtr pkt, Addr offset)
 
void writeFrame (PacketPtr pkt, Addr offset)
 

Private Types

using GPURegMap = std::unordered_map<uint64_t, uint32_t>
 

Private Attributes

AMDGPUDevicegpuDevice
 
uint64_t mm_index_reg = 0
 
uint32_t pcie_index_reg = 0
 
uint32_t pcie_index2_reg = 0
 
std::unordered_map< uint32_t, uint32_t > triggered_reads
 
Addr psp_ring = 0
 
Addr psp_ring_dev_addr = 0
 
Addr psp_ring_listen_addr = 0
 
int psp_ring_size = 0
 
int psp_ring_value = 0
 
GPURegMap regs
 

Detailed Description

Definition at line 93 of file amdgpu_nbio.hh.

Member Typedef Documentation

◆ GPURegMap

using gem5::AMDGPUNbio::GPURegMap = std::unordered_map<uint64_t, uint32_t>
private

Definition at line 129 of file amdgpu_nbio.hh.

Constructor & Destructor Documentation

◆ AMDGPUNbio()

gem5::AMDGPUNbio::AMDGPUNbio ( )

Definition at line 41 of file amdgpu_nbio.cc.

References AMDGPU_MP0_SMN_C2PMSG_64, and triggered_reads.

Member Function Documentation

◆ readFrame()

bool gem5::AMDGPUNbio::readFrame ( PacketPtr pkt,
Addr offset )

◆ readMMIO()

◆ setGPUDevice()

void gem5::AMDGPUNbio::setGPUDevice ( AMDGPUDevice * gpu_device)

Definition at line 48 of file amdgpu_nbio.cc.

References gpuDevice.

Referenced by gem5::AMDGPUDevice::AMDGPUDevice().

◆ writeFrame()

◆ writeMMIO()

Member Data Documentation

◆ gpuDevice

AMDGPUDevice* gem5::AMDGPUNbio::gpuDevice
private

Definition at line 107 of file amdgpu_nbio.hh.

Referenced by readMMIO(), setGPUDevice(), writeFrame(), and writeMMIO().

◆ mm_index_reg

uint64_t gem5::AMDGPUNbio::mm_index_reg = 0
private

Definition at line 112 of file amdgpu_nbio.hh.

Referenced by readMMIO(), and writeMMIO().

◆ pcie_index2_reg

uint32_t gem5::AMDGPUNbio::pcie_index2_reg = 0
private

Definition at line 114 of file amdgpu_nbio.hh.

Referenced by readMMIO(), and writeMMIO().

◆ pcie_index_reg

uint32_t gem5::AMDGPUNbio::pcie_index_reg = 0
private

Definition at line 113 of file amdgpu_nbio.hh.

Referenced by readMMIO(), and writeMMIO().

◆ psp_ring

Addr gem5::AMDGPUNbio::psp_ring = 0
private

Definition at line 120 of file amdgpu_nbio.hh.

Referenced by writeMMIO().

◆ psp_ring_dev_addr

Addr gem5::AMDGPUNbio::psp_ring_dev_addr = 0
private

Definition at line 121 of file amdgpu_nbio.hh.

Referenced by readFrame(), and writeFrame().

◆ psp_ring_listen_addr

Addr gem5::AMDGPUNbio::psp_ring_listen_addr = 0
private

Definition at line 122 of file amdgpu_nbio.hh.

Referenced by writeFrame(), and writeMMIO().

◆ psp_ring_size

int gem5::AMDGPUNbio::psp_ring_size = 0
private

Definition at line 123 of file amdgpu_nbio.hh.

Referenced by writeMMIO().

◆ psp_ring_value

int gem5::AMDGPUNbio::psp_ring_value = 0
private

Definition at line 124 of file amdgpu_nbio.hh.

Referenced by readFrame().

◆ regs

GPURegMap gem5::AMDGPUNbio::regs
private

Definition at line 130 of file amdgpu_nbio.hh.

Referenced by readMMIO(), and writeMMIO().

◆ triggered_reads

std::unordered_map<uint32_t, uint32_t> gem5::AMDGPUNbio::triggered_reads
private

Definition at line 115 of file amdgpu_nbio.hh.

Referenced by AMDGPUNbio(), readMMIO(), and writeMMIO().


The documentation for this class was generated from the following files:

Generated on Tue Jun 18 2024 16:24:09 for gem5 by doxygen 1.11.0