Sysman for Windows: Fix Free memory from get state.

KMD no longer tracks allocation, move to use OS functions.

Signed-off-by: Daniel Enriquez <daniel.enriquez.montanez@intel.com>
This commit is contained in:
Daniel Enriquez
2021-08-03 20:14:47 -07:00
committed by Compute-Runtime-Automation
parent 0de69b45a6
commit 2f0fcf4aee
3 changed files with 88 additions and 10 deletions

View File

@@ -26,6 +26,7 @@ class KmdSysManager {
MOCKABLE_VIRTUAL ze_result_t requestSingle(KmdSysman::RequestProperty &In, KmdSysman::ResponseProperty &Out);
ze_result_t requestMultiple(std::vector<KmdSysman::RequestProperty> &vIn, std::vector<KmdSysman::ResponseProperty> &vOut);
NEO::Wddm *GetWddmAccess() { return pWddmAccess; }
private:
MOCKABLE_VIRTUAL bool escape(uint32_t escapeOp, uint64_t pDataIn, uint32_t dataInSize, uint64_t pDataOut, uint32_t dataOutSize);