Skip to content

Commit 3c5a1d9

Browse files
[DG2] Disable direct submission
Signed-off-by: Lukasz Jobczyk <[email protected]>
1 parent 3b820d4 commit 3c5a1d9

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

opencl/test/unit_test/xe_hpg_core/dg2/test_hw_info_config_dg2.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,6 @@ DG2TEST_F(Dg2HwInfoConfig, givenHwInfoErrorneousConfigStringThenThrow) {
2929
EXPECT_EQ(0u, gtSystemInfo.EUCount);
3030
}
3131

32-
DG2TEST_F(Dg2HwInfoConfig, givenDg2HwInfoConfigWhenCheckDirectSubmissionSupportedThenTrueIsReturned) {
33-
const auto &hwInfoConfig = *HwInfoConfig::get(productFamily);
34-
auto hwInfo = *defaultHwInfo;
35-
EXPECT_TRUE(hwInfoConfig.isDirectSubmissionSupported(hwInfo));
36-
}
37-
3832
DG2TEST_F(Dg2HwInfoConfig, givenHwInfoConfigWhenAdditionalKernelExecInfoSupportCheckedThenCorrectValueIsReturned) {
3933
const auto &hwInfoConfig = *HwInfoConfig::get(defaultHwInfo->platform.eProductFamily);
4034
auto hwInfo = *defaultHwInfo;

shared/source/xe_hpg_core/os_agnostic_hw_info_config_dg2.inl

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,6 @@ uint32_t HwInfoConfigHw<gfxProduct>::getSteppingFromHwRevId(const HardwareInfo &
5252
return CommonConstants::invalidStepping;
5353
}
5454

55-
template <>
56-
bool HwInfoConfigHw<gfxProduct>::isDirectSubmissionSupported(const HardwareInfo &hwInfo) const {
57-
return true;
58-
}
59-
6055
template <>
6156
bool HwInfoConfigHw<gfxProduct>::isAdditionalStateBaseAddressWARequired(const HardwareInfo &hwInfo) const {
6257
uint32_t stepping = getSteppingFromHwRevId(hwInfo);

0 commit comments

Comments
 (0)