mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 15:53:45 +08:00
fix: define isDirectSubmissionSupported per HW release
Related-To: NEO-8187 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
9bb559d468
commit
3b2c41e5ee
@@ -26,11 +26,6 @@ constexpr static auto gfxProduct = IGFX_DG2;
|
||||
|
||||
namespace NEO {
|
||||
|
||||
template <>
|
||||
bool ProductHelperHw<gfxProduct>::isDirectSubmissionSupported(const HardwareInfo &hwInfo) const {
|
||||
return true;
|
||||
}
|
||||
|
||||
template <>
|
||||
int ProductHelperHw<gfxProduct>::configureHardwareCustom(HardwareInfo *hwInfo, OSInterface *osIface) const {
|
||||
if (allowCompression(*hwInfo)) {
|
||||
|
||||
@@ -12,11 +12,4 @@ constexpr static auto gfxProduct = IGFX_METEORLAKE;
|
||||
#include "shared/source/xe_hpg_core/xe_lpg/linux/product_helper_xe_lpg_linux.inl"
|
||||
#include "shared/source/xe_hpg_core/xe_lpg/os_agnostic_product_helper_xe_lpg.inl"
|
||||
|
||||
namespace NEO {
|
||||
template <>
|
||||
bool ProductHelperHw<gfxProduct>::isDirectSubmissionSupported(const HardwareInfo &hwInfo) const {
|
||||
return true;
|
||||
}
|
||||
} // namespace NEO
|
||||
|
||||
template class NEO::ProductHelperHw<gfxProduct>;
|
||||
|
||||
@@ -24,6 +24,11 @@ constexpr static auto gfxProduct = IGFX_DG2;
|
||||
|
||||
namespace NEO {
|
||||
|
||||
template <>
|
||||
bool ProductHelperHw<gfxProduct>::isDirectSubmissionSupported(ReleaseHelper *releaseHelper) const {
|
||||
return false;
|
||||
}
|
||||
|
||||
template <>
|
||||
bool ProductHelperHw<gfxProduct>::getUuid(NEO::DriverModel *driverModel, uint32_t subDeviceCount, uint32_t deviceIndex, std::array<uint8_t, ProductHelper::uuidSize> &uuid) const {
|
||||
|
||||
|
||||
@@ -12,11 +12,4 @@ constexpr static auto gfxProduct = IGFX_METEORLAKE;
|
||||
#include "shared/source/xe_hpg_core/xe_lpg/os_agnostic_product_helper_xe_lpg.inl"
|
||||
#include "shared/source/xe_hpg_core/xe_lpg/windows/product_helper_xe_lpg_windows.inl"
|
||||
|
||||
namespace NEO {
|
||||
template <>
|
||||
bool ProductHelperHw<gfxProduct>::isDirectSubmissionSupported(const HardwareInfo &hwInfo) const {
|
||||
return true;
|
||||
}
|
||||
} // namespace NEO
|
||||
|
||||
template class NEO::ProductHelperHw<gfxProduct>;
|
||||
|
||||
Reference in New Issue
Block a user