mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 23:03:02 +08:00
performance: Fill reusable allocation list on xe and later
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
a3e60acc8f
commit
15934ceb43
@@ -681,14 +681,6 @@ bool GfxCoreHelperHw<GfxFamily>::copyThroughLockedPtrEnabled(const HardwareInfo
|
||||
return false;
|
||||
}
|
||||
|
||||
template <typename GfxFamily>
|
||||
uint32_t GfxCoreHelperHw<GfxFamily>::getAmountOfAllocationsToFill() const {
|
||||
if (debugManager.flags.SetAmountOfReusableAllocations.get() != -1) {
|
||||
return debugManager.flags.SetAmountOfReusableAllocations.get();
|
||||
}
|
||||
return 0u;
|
||||
}
|
||||
|
||||
template <typename GfxFamily>
|
||||
bool GfxCoreHelperHw<GfxFamily>::isChipsetUniqueUUIDSupported() const {
|
||||
return false;
|
||||
|
||||
@@ -43,6 +43,14 @@ bool GfxCoreHelperHw<GfxFamily>::timestampPacketWriteSupported() const {
|
||||
return false;
|
||||
}
|
||||
|
||||
template <typename GfxFamily>
|
||||
uint32_t GfxCoreHelperHw<GfxFamily>::getAmountOfAllocationsToFill() const {
|
||||
if (debugManager.flags.SetAmountOfReusableAllocations.get() != -1) {
|
||||
return debugManager.flags.SetAmountOfReusableAllocations.get();
|
||||
}
|
||||
return 0u;
|
||||
}
|
||||
|
||||
template <typename GfxFamily>
|
||||
bool GfxCoreHelperHw<GfxFamily>::isTimestampWaitSupportedForQueues() const {
|
||||
return false;
|
||||
|
||||
@@ -58,6 +58,14 @@ bool GfxCoreHelperHw<GfxFamily>::isTimestampWaitSupportedForQueues() const {
|
||||
return true;
|
||||
}
|
||||
|
||||
template <typename GfxFamily>
|
||||
uint32_t GfxCoreHelperHw<GfxFamily>::getAmountOfAllocationsToFill() const {
|
||||
if (debugManager.flags.SetAmountOfReusableAllocations.get() != -1) {
|
||||
return debugManager.flags.SetAmountOfReusableAllocations.get();
|
||||
}
|
||||
return 1u;
|
||||
}
|
||||
|
||||
template <typename GfxFamily>
|
||||
bool GfxCoreHelperHw<GfxFamily>::makeResidentBeforeLockNeeded(bool precondition) const {
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user