mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 15:53:45 +08:00
performance: add low latency hint for i915
i915 has provided the low latency hint interface, it helps improve the performance for light workload a lot. Related-To: NEO-14250 Signed-off-by: Chuansheng Liu <chuansheng.liu@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
7d851dda87
commit
1876a43024
@@ -238,6 +238,8 @@ class IoctlHelper {
|
||||
virtual uint32_t getNumProcesses() const { return 1; }
|
||||
|
||||
virtual bool makeResidentBeforeLockNeeded() const { return false; }
|
||||
virtual bool hasContextFreqHint() { return false; }
|
||||
virtual void fillExtSetparamLowLatency(GemContextCreateExtSetParam &extSetparam) { return; }
|
||||
|
||||
protected:
|
||||
Drm &drm;
|
||||
@@ -274,6 +276,8 @@ class IoctlHelperI915 : public IoctlHelper {
|
||||
bool setGpuCpuTimes(TimeStampData *pGpuCpuTime, OSTime *osTime) override;
|
||||
void insertEngineToContextParams(ContextParamEngines<> &contextParamEngines, uint32_t engineId, const EngineClassInstance *engineClassInstance, uint32_t tileId, bool hasVirtualEngines) override;
|
||||
int getTileIdFromGtId(int gtId) const override { return -1; }
|
||||
bool hasContextFreqHint() override;
|
||||
void fillExtSetparamLowLatency(GemContextCreateExtSetParam &extSetparam) override;
|
||||
|
||||
protected:
|
||||
virtual std::vector<MemoryRegion> translateToMemoryRegions(const std::vector<uint64_t> ®ionInfo);
|
||||
|
||||
Reference in New Issue
Block a user