mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
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:
committed by
Compute-Runtime-Automation
parent
0378f2e8b3
commit
4db5d7a6e7
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -420,6 +420,7 @@ BatchBufferStartPrepatchingWaEnabled = -1
|
||||
SetVmAdviseAtomicAttribute = -1
|
||||
DirectSubmissionForceLocalMemoryStorageMode = -1
|
||||
EnableRingSwitchTagUpdateWa = -1
|
||||
PlaformSupportEvictWhenNecessaryFlag = -1
|
||||
DirectSubmissionReadBackCommandBuffer = -1
|
||||
DirectSubmissionReadBackRingBuffer = -1
|
||||
ReadBackCommandBufferAllocation = -1
|
||||
|
||||
Reference in New Issue
Block a user