mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 22:12:59 +08:00
Add getter for Gmm Memory
Related-To: NEO-2881 Change-Id: I3fa322267accef7046518d742c29dc746cceeb43 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
973a953cc8
commit
c8f931f016
@@ -282,10 +282,6 @@ D3DGPU_VIRTUAL_ADDRESS WddmMock::reserveGpuVirtualAddress(D3DGPU_VIRTUAL_ADDRESS
|
||||
return Wddm::reserveGpuVirtualAddress(minimumAddress, maximumAddress, size);
|
||||
}
|
||||
|
||||
GmmMemory *WddmMock::getGmmMemory() const {
|
||||
return gmmMemory.get();
|
||||
}
|
||||
|
||||
uint64_t *WddmMock::getPagingFenceAddress() {
|
||||
getPagingFenceAddressResult.called++;
|
||||
mockPagingFence++;
|
||||
|
||||
@@ -105,7 +105,6 @@ class WddmMock : public Wddm {
|
||||
std::unique_lock<SpinLock> acquireLock(SpinLock &lock) override;
|
||||
D3DGPU_VIRTUAL_ADDRESS reserveGpuVirtualAddress(D3DGPU_VIRTUAL_ADDRESS minimumAddress, D3DGPU_VIRTUAL_ADDRESS maximumAddress, D3DGPU_SIZE_T size) override;
|
||||
bool reserveValidAddressRange(size_t size, void *&reservedMem);
|
||||
GmmMemory *getGmmMemory() const;
|
||||
PLATFORM *getGfxPlatform() { return gfxPlatform.get(); }
|
||||
uint64_t *getPagingFenceAddress() override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user