dev-amdgpu: Add device memory

This adds the actual backing store for the GPU framebuffer.

Change-Id: I22c6dd9bd25b216c4ec99ee472c83d4cb2648efb
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/57533
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:
Matthew Poremba
2022-03-13 15:29:52 -05:00
parent 1dea025fcc
commit 7937fe357d
2 changed files with 9 additions and 1 deletions

View File

@@ -131,6 +131,11 @@ class AMDGPUDevice : public PciDevice
// last vmid allocated by map_process PM4 packet
uint16_t _lastVMID;
/*
* Backing store for GPU memory / framebuffer / VRAM
*/
memory::PhysicalMemory deviceMem;
public:
AMDGPUDevice(const AMDGPUDeviceParams &p);