Add flag for hardware support of eviction flag

Related-To: NEO-7179

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
Zbigniew Zdanowicz
2022-07-25 21:33:42 +00:00
committed by Compute-Runtime-Automation
parent 0378f2e8b3
commit 4db5d7a6e7
34 changed files with 266 additions and 15 deletions

View File

@@ -391,6 +391,11 @@ uint64_t HwInfoConfigHw<IGFX_UNKNOWN>::getHostMemCapabilitiesValue() {
return 0;
}
template <>
bool HwInfoConfigHw<IGFX_UNKNOWN>::isEvictionWhenNecessaryFlagSupported() const {
return true;
}
template <>
const char *L1CachePolicyHelper<IGFX_UNKNOWN>::getCachingPolicyOptions() {
return nullptr;

View File

@@ -28,6 +28,7 @@ constexpr auto virtualAllocAddress = is64bit ? 0x7FFFF0000000 : 0xFF000000;
class WddmMock : public Wddm {
public:
using Wddm::adapterBDF;
using Wddm::adjustEvictNeededParameter;
using Wddm::createPagingFenceLogger;
using Wddm::currentPagingFenceValue;
using Wddm::dedicatedVideoMemory;
@@ -42,8 +43,10 @@ class WddmMock : public Wddm {
using Wddm::minAddress;
using Wddm::pagingFenceAddress;
using Wddm::pagingQueue;
using Wddm::platformSupportsEvictWhenNecessary;
using Wddm::residencyLogger;
using Wddm::rootDeviceEnvironment;
using Wddm::setPlatformSupportEvictWhenNecessaryFlag;
using Wddm::temporaryResources;
using Wddm::timestampFrequency;
using Wddm::wddmInterface;

View File

@@ -420,6 +420,7 @@ BatchBufferStartPrepatchingWaEnabled = -1
SetVmAdviseAtomicAttribute = -1
DirectSubmissionForceLocalMemoryStorageMode = -1
EnableRingSwitchTagUpdateWa = -1
PlaformSupportEvictWhenNecessaryFlag = -1
DirectSubmissionReadBackCommandBuffer = -1
DirectSubmissionReadBackRingBuffer = -1
ReadBackCommandBufferAllocation = -1