test: remove isUsingNonDefaultIoctls trait, use gen matcher instead
Related-To: NEO-12803 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
parent
2b493be141
commit
aa7f06ca58
|
@ -14,7 +14,6 @@ struct TestTraits<IGFX_GEN12LP_CORE> {
|
|||
static constexpr bool programOnlyChangedFieldsInComputeStateMode = false;
|
||||
static constexpr bool iohInSbaSupported = true;
|
||||
static constexpr bool auxTranslationSupported = true;
|
||||
static constexpr bool isUsingNonDefaultIoctls = false;
|
||||
static constexpr bool deviceEnqueueSupport = false;
|
||||
static constexpr bool implementsPreambleThreadArbitration = false;
|
||||
static constexpr bool forceGpuNonCoherent = true;
|
||||
|
|
|
@ -28,5 +28,4 @@ struct TestTraits<IGFX_XE2_HPG_CORE> {
|
|||
static constexpr bool isPipeControlExtendedPriorToNonPipelinedStateCommandSupported = false;
|
||||
static constexpr bool largeGrfModeInStateComputeModeSupported = true;
|
||||
static constexpr bool heaplessAllowed = false;
|
||||
static constexpr bool isUsingNonDefaultIoctls = false;
|
||||
};
|
||||
|
|
|
@ -23,7 +23,6 @@ struct TestTraits<IGFX_XE_HPC_CORE> {
|
|||
static constexpr bool deviceEnqueueSupport = false;
|
||||
static constexpr bool fusedEuDispatchSupported = false;
|
||||
static constexpr bool numberOfWalkersInCfeStateSupported = true;
|
||||
static constexpr bool isUsingNonDefaultIoctls = true;
|
||||
static constexpr bool forceGpuNonCoherent = false;
|
||||
static constexpr bool isUnTypedDataPortCacheFlushSupported = true;
|
||||
static constexpr bool imagesSupported = false;
|
||||
|
|
|
@ -21,7 +21,6 @@ struct TestTraits<IGFX_XE_HPG_CORE> {
|
|||
static constexpr bool iohInSbaSupported = false;
|
||||
static constexpr bool auxTranslationSupported = true;
|
||||
static constexpr bool deviceEnqueueSupport = false;
|
||||
static constexpr bool isUsingNonDefaultIoctls = true;
|
||||
static constexpr bool fusedEuDispatchSupported = true;
|
||||
static constexpr bool numberOfWalkersInCfeStateSupported = true;
|
||||
static constexpr bool forceGpuNonCoherent = false;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2020-2023 Intel Corporation
|
||||
* Copyright (C) 2020-2024 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
@ -12,9 +12,7 @@
|
|||
#include "shared/source/os_interface/linux/i915.h"
|
||||
#include "shared/test/common/helpers/default_hw_info.h"
|
||||
#include "shared/test/common/libult/linux/drm_mock.h"
|
||||
|
||||
#include "gtest/gtest.h"
|
||||
#include "test_traits_common.h"
|
||||
#include "shared/test/common/test_macros/hw_test.h"
|
||||
|
||||
using namespace NEO;
|
||||
|
||||
|
@ -129,6 +127,6 @@ struct NonDefaultIoctlsSupported {
|
|||
if (productFamily == IGFX_DG1) {
|
||||
return true;
|
||||
}
|
||||
return TestTraits<NEO::ToGfxCoreFamily<productFamily>::get()>::isUsingNonDefaultIoctls;
|
||||
return IsWithinXeGfxFamily::isMatched<productFamily>();
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue