diff --git a/shared/source/gmm_helper/gmm.cpp b/shared/source/gmm_helper/gmm.cpp index fc27028b20..5f59402746 100644 --- a/shared/source/gmm_helper/gmm.cpp +++ b/shared/source/gmm_helper/gmm.cpp @@ -69,7 +69,6 @@ Gmm::Gmm(GmmHelper *gmmHelper, const void *alignedPtr, size_t alignedSize, size_ applyAuxFlagsForBuffer(gmmRequirements.preferCompressed && !storageInfo.isLockable); applyMemoryFlags(storageInfo); applyAppResource(storageInfo); - applyExtraInitFlag(); applyDebugOverrides(); gmmResourceInfo.reset(GmmResourceInfo::create(gmmHelper->getClientContext(), &resourceParams)); diff --git a/shared/source/gmm_helper/gmm.h b/shared/source/gmm_helper/gmm.h index c6d27cc3f0..dda82d6127 100644 --- a/shared/source/gmm_helper/gmm.h +++ b/shared/source/gmm_helper/gmm.h @@ -52,6 +52,7 @@ class Gmm { void queryImageParams(ImageInfo &inputOutputImgInfo); void applyAuxFlagsForBuffer(bool preferCompression); + void applyExtraAuxInitFlag(); void applyMemoryFlags(const StorageInfo &storageInfo); void applyAppResource(const StorageInfo &storageInfo); @@ -81,7 +82,6 @@ class Gmm { void setupImageResourceParams(ImageInfo &imgInfo, bool preferCompressed); bool extraMemoryFlagsRequired(); void applyExtraMemoryFlags(const StorageInfo &storageInfo); - void applyExtraInitFlag(); void applyDebugOverrides(); GmmHelper *gmmHelper = nullptr; diff --git a/shared/source/gmm_helper/gmm_utils.cpp b/shared/source/gmm_helper/gmm_utils.cpp index 09e42dd0c8..ae18dce6df 100644 --- a/shared/source/gmm_helper/gmm_utils.cpp +++ b/shared/source/gmm_helper/gmm_utils.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2020-2024 Intel Corporation + * Copyright (C) 2020-2025 Intel Corporation * * SPDX-License-Identifier: MIT * @@ -13,4 +13,4 @@ using namespace NEO; void Gmm::applyExtraMemoryFlags(const StorageInfo &storageInfo) {} bool Gmm::extraMemoryFlagsRequired() { return false; } void Gmm::applyAppResource(const StorageInfo &storageInfo) {} -void Gmm::applyExtraInitFlag() {} +void Gmm::applyExtraAuxInitFlag() {} diff --git a/shared/source/helpers/gfx_core_helper_xe2_and_later.inl b/shared/source/helpers/gfx_core_helper_xe2_and_later.inl index 7c4c728f13..1a75a19537 100644 --- a/shared/source/helpers/gfx_core_helper_xe2_and_later.inl +++ b/shared/source/helpers/gfx_core_helper_xe2_and_later.inl @@ -15,6 +15,7 @@ void GfxCoreHelperHw::applyAdditionalCompressionSettings(Gmm &gmm, bool gmm.resourceParams.Flags.Info.NotCompressed = isNotCompressed; if (!isNotCompressed) { gmm.resourceParams.Flags.Info.Cacheable = 0; + gmm.applyExtraAuxInitFlag(); } if (debugManager.flags.PrintGmmCompressionParams.get()) {