performance: enable Direct Submission on PTL Linux

Related-To: NEO-12982

Signed-off-by: Radoslaw Jablonski <radoslaw.jablonski@intel.com>
This commit is contained in:
Radoslaw Jablonski
2025-01-30 11:46:20 +00:00
committed by Compute-Runtime-Automation
parent 8060f04c76
commit 5f346b57b0
4 changed files with 9 additions and 9 deletions

View File

@@ -24,4 +24,9 @@ std::optional<GfxMemoryAllocationMethod> ProductHelperHw<gfxProduct>::getPreferr
return GfxMemoryAllocationMethod::allocateByKmd;
}
template <>
bool ProductHelperHw<gfxProduct>::isDirectSubmissionSupported(ReleaseHelper *releaseHelper) const {
return true;
}
} // namespace NEO

View File

@@ -19,11 +19,6 @@ constexpr static auto gfxProduct = IGFX_PTL;
namespace NEO {
template <>
bool ProductHelperHw<gfxProduct>::isDirectSubmissionSupported(ReleaseHelper *releaseHelper) const {
return true;
}
template <>
bool ProductHelperHw<gfxProduct>::isResolveDependenciesByPipeControlsSupported(const HardwareInfo &hwInfo, bool isOOQ, TaskCountType queueTaskCount, const CommandStreamReceiver &queueCsr) const {
const bool enabled = !isOOQ && queueTaskCount == queueCsr.peekTaskCount() && !queueCsr.directSubmissionRelaxedOrderingEnabled();