2018-06-21 18:06:32 +08:00
|
|
|
/*
|
2023-02-07 20:53:53 +08:00
|
|
|
* Copyright (C) 2018-2023 Intel Corporation
|
2018-06-21 18:06:32 +08:00
|
|
|
*
|
2018-09-18 15:11:08 +08:00
|
|
|
* SPDX-License-Identifier: MIT
|
2018-06-21 18:06:32 +08:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
2020-02-24 05:44:01 +08:00
|
|
|
#include "shared/source/gen8/hw_cmds_base.h"
|
2023-02-07 20:53:53 +08:00
|
|
|
#include "shared/source/helpers/hw_info.h"
|
2019-02-27 18:39:32 +08:00
|
|
|
|
2018-10-04 18:44:49 +08:00
|
|
|
#include <string>
|
2018-06-21 18:06:32 +08:00
|
|
|
|
2019-03-26 18:59:46 +08:00
|
|
|
namespace NEO {
|
2018-06-21 18:06:32 +08:00
|
|
|
|
2022-07-25 23:30:11 +08:00
|
|
|
struct BDW : public Gen8Family {
|
2018-06-21 18:06:32 +08:00
|
|
|
static const PLATFORM platform;
|
|
|
|
static const HardwareInfo hwInfo;
|
2019-03-28 22:34:26 +08:00
|
|
|
static FeatureTable featureTable;
|
|
|
|
static WorkaroundTable workaroundTable;
|
2018-06-21 18:06:32 +08:00
|
|
|
static const uint32_t maxEuPerSubslice = 8;
|
|
|
|
static const uint32_t maxSlicesSupported = 2;
|
|
|
|
static const uint32_t maxSubslicesSupported = 6;
|
|
|
|
static const RuntimeCapabilityTable capabilityTable;
|
2023-11-16 22:24:12 +08:00
|
|
|
static void (*setupHardwareInfo)(HardwareInfo *hwInfo, bool setupFeatureTableAndWorkaroundTable, uint64_t hwInfoConfig, const ReleaseHelper *releaseHelper);
|
2019-03-28 22:34:26 +08:00
|
|
|
static void setupFeatureAndWorkaroundTable(HardwareInfo *hwInfo);
|
2023-11-16 22:24:12 +08:00
|
|
|
static void setupHardwareInfoBase(HardwareInfo *hwInfo, bool setupFeatureTableAndWorkaroundTable, const ReleaseHelper *releaseHelper);
|
2018-06-21 18:06:32 +08:00
|
|
|
};
|
2022-06-02 23:10:04 +08:00
|
|
|
class BdwHw1x2x6 : public BDW {
|
2018-06-21 18:06:32 +08:00
|
|
|
public:
|
2023-11-16 22:24:12 +08:00
|
|
|
static void setupHardwareInfo(HardwareInfo *hwInfo, bool setupFeatureTableAndWorkaroundTable, const ReleaseHelper *releaseHelper);
|
2018-06-21 18:06:32 +08:00
|
|
|
static const HardwareInfo hwInfo;
|
|
|
|
|
|
|
|
private:
|
|
|
|
static GT_SYSTEM_INFO gtSystemInfo;
|
|
|
|
};
|
2022-06-02 23:10:04 +08:00
|
|
|
class BdwHw1x3x6 : public BDW {
|
2018-06-21 18:06:32 +08:00
|
|
|
public:
|
2023-11-16 22:24:12 +08:00
|
|
|
static void setupHardwareInfo(HardwareInfo *hwInfo, bool setupFeatureTableAndWorkaroundTable, const ReleaseHelper *releaseHelper);
|
2018-06-21 18:06:32 +08:00
|
|
|
static const HardwareInfo hwInfo;
|
|
|
|
|
|
|
|
private:
|
|
|
|
static GT_SYSTEM_INFO gtSystemInfo;
|
|
|
|
};
|
2022-06-02 23:10:04 +08:00
|
|
|
class BdwHw1x3x8 : public BDW {
|
2018-06-21 18:06:32 +08:00
|
|
|
public:
|
2023-11-16 22:24:12 +08:00
|
|
|
static void setupHardwareInfo(HardwareInfo *hwInfo, bool setupFeatureTableAndWorkaroundTable, const ReleaseHelper *releaseHelper);
|
2018-06-21 18:06:32 +08:00
|
|
|
static const HardwareInfo hwInfo;
|
|
|
|
|
|
|
|
private:
|
|
|
|
static GT_SYSTEM_INFO gtSystemInfo;
|
|
|
|
};
|
2022-06-02 23:10:04 +08:00
|
|
|
class BdwHw2x3x8 : public BDW {
|
2018-06-21 18:06:32 +08:00
|
|
|
public:
|
2023-11-16 22:24:12 +08:00
|
|
|
static void setupHardwareInfo(HardwareInfo *hwInfo, bool setupFeatureTableAndWorkaroundTable, const ReleaseHelper *releaseHelper);
|
2018-06-21 18:06:32 +08:00
|
|
|
static const HardwareInfo hwInfo;
|
|
|
|
|
|
|
|
private:
|
|
|
|
static GT_SYSTEM_INFO gtSystemInfo;
|
|
|
|
};
|
2019-03-26 18:59:46 +08:00
|
|
|
} // namespace NEO
|