gpu-compute,dev-hsa: Update CP and HSAPP for full-system
Make the necessary changes to connect Vega pagetable walkers for full-system mode. Previously the CP and HSA packet processor could only read AQL packets from system/host memory using proxy port. This allows for AQL to be read from device memory which is used for non-blit kernels. Change-Id: If28eb8be68173da03e15084765e77e92eda178e9 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/53077 Reviewed-by: Matt Sinclair <mattdsinclair@gmail.com> Maintainer: Matt Sinclair <mattdsinclair@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
@@ -77,6 +77,7 @@ class GPUCommandProcessor : public DmaVirtDevice
|
||||
|
||||
HSAPacketProcessor& hsaPacketProc();
|
||||
|
||||
void setGPUDevice(AMDGPUDevice *gpu_device);
|
||||
void setShader(Shader *shader);
|
||||
Shader* shader();
|
||||
GPUComputeDriver* driver();
|
||||
@@ -128,6 +129,8 @@ class GPUCommandProcessor : public DmaVirtDevice
|
||||
Shader *_shader;
|
||||
GPUDispatcher &dispatcher;
|
||||
GPUComputeDriver *_driver;
|
||||
AMDGPUDevice *gpuDevice;
|
||||
VegaISA::Walker *walker;
|
||||
|
||||
// Typedefing dmaRead and dmaWrite function pointer
|
||||
typedef void (DmaDevice::*DmaFnPtr)(Addr, int, Event*, uint8_t*, Tick);
|
||||
|
||||
Reference in New Issue
Block a user