fix: Release the Dummy Allocation before Root Device Environment

Related-To: GSD-6398, GSD-9027

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
This commit is contained in:
Bari, Pratik
2024-05-15 17:26:24 +00:00
committed by Compute-Runtime-Automation
parent 7aceed58ca
commit 6b04cd4a1e
5 changed files with 42 additions and 0 deletions

View File

@@ -93,6 +93,7 @@ struct RootDeviceEnvironment : NonCopyableClass {
HelperType &getHelper() const;
const ProductHelper &getProductHelper() const;
GraphicsAllocation *getDummyAllocation() const;
void releaseDummyAllocation();
std::unique_ptr<SipKernel> sipKernels[static_cast<uint32_t>(SipKernelType::count)];
std::unique_ptr<GmmHelper> gmmHelper;