Skip to content

Commit e2441e0

Browse files
Leave direct submission only on DG2 within XE_HPG
Signed-off-by: Lukasz Jobczyk <[email protected]>
1 parent 3b1268a commit e2441e0

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

shared/source/xe_hpg_core/dg2/os_agnostic_hw_info_config_dg2.inl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@ uint32_t HwInfoConfigHw<gfxProduct>::getSteppingFromHwRevId(const HardwareInfo &
5656
}
5757
}
5858

59+
template <>
60+
bool HwInfoConfigHw<gfxProduct>::isDirectSubmissionSupported(const HardwareInfo &hwInfo) const {
61+
return true;
62+
}
63+
5964
template <>
6065
bool HwInfoConfigHw<gfxProduct>::isAdditionalStateBaseAddressWARequired(const HardwareInfo &hwInfo) const {
6166
uint32_t stepping = getSteppingFromHwRevId(hwInfo);

shared/source/xe_hpg_core/os_agnostic_hw_info_config_xe_hpg_core.inl

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,4 @@ void HwInfoConfigHw<gfxProduct>::getKernelExtendedProperties(uint32_t *fp16, uin
1010
*fp16 = 0u;
1111
*fp32 = FP_ATOMIC_EXT_FLAG_GLOBAL_ADD;
1212
*fp64 = 0u;
13-
}
14-
15-
template <>
16-
bool HwInfoConfigHw<gfxProduct>::isDirectSubmissionSupported(const HardwareInfo &hwInfo) const {
17-
return true;
1813
}

0 commit comments

Comments
 (0)