mirror of
https://github.com/intel/compute-runtime.git
synced 2025-11-15 10:14:56 +08:00
Enable BCS by default on supported platforms
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
26a24e8fde
commit
014fd1fb26
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2018-2021 Intel Corporation
|
||||
* Copyright (C) 2018-2022 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -23,10 +23,14 @@ TEST(SkuInfoReceiverTest, givenAdapterInfoWhenReceivingThenUpdateFtrTable) {
|
||||
ADAPTER_INFO adapterInfo = {};
|
||||
memset(&adapterInfo.SkuTable, ~0, sizeof(adapterInfo.SkuTable));
|
||||
|
||||
EXPECT_EQ(1lu, requestedFeatureTable.ftrBcsInfo.to_ulong());
|
||||
|
||||
SkuInfoReceiver::receiveFtrTableFromAdapterInfo(&requestedFeatureTable, &adapterInfo);
|
||||
|
||||
SkuInfoBaseReference::fillReferenceFtrToReceive(refFeatureTable);
|
||||
|
||||
EXPECT_EQ(1lu, requestedFeatureTable.ftrBcsInfo.to_ulong());
|
||||
|
||||
EXPECT_TRUE(refFeatureTable == requestedFeatureTable);
|
||||
|
||||
refFeatureTable.flags.ftr3dMidBatchPreempt = false;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2019-2021 Intel Corporation
|
||||
* Copyright (C) 2019-2022 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -12,8 +12,6 @@
|
||||
namespace NEO {
|
||||
|
||||
struct FeatureTable : FeatureTableBase {
|
||||
BcsInfoMask ftrBcsInfo = 0;
|
||||
|
||||
uint64_t asHash() const {
|
||||
Hash hash;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2018-2021 Intel Corporation
|
||||
* Copyright (C) 2018-2022 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -103,6 +103,8 @@ struct FeatureTableBase {
|
||||
uint32_t reserved : 21;
|
||||
};
|
||||
|
||||
BcsInfoMask ftrBcsInfo = 1;
|
||||
|
||||
union {
|
||||
Flags flags;
|
||||
std::array<uint32_t, 3> packed = {};
|
||||
|
||||
Reference in New Issue
Block a user