2017-12-27 22:12:27 +08:00
|
|
|
/*
|
2022-04-28 01:42:40 +08:00
|
|
|
* Copyright (C) 2018-2022 Intel Corporation
|
2017-12-27 22:12:27 +08:00
|
|
|
*
|
2018-09-18 15:11:08 +08:00
|
|
|
* SPDX-License-Identifier: MIT
|
2017-12-27 22:12:27 +08:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
2020-02-24 05:44:01 +08:00
|
|
|
#include "shared/source/gen9/hw_cmds_base.h"
|
2017-12-27 22:12:27 +08:00
|
|
|
|
2019-03-26 18:59:46 +08:00
|
|
|
namespace NEO {
|
2017-12-27 22:12:27 +08:00
|
|
|
|
|
|
|
struct CFL : public SKLFamily {
|
|
|
|
static const PLATFORM platform;
|
|
|
|
static const HardwareInfo hwInfo;
|
2020-01-25 00:19:06 +08:00
|
|
|
static const uint64_t defaultHardwareInfoConfig;
|
2019-03-28 22:34:26 +08:00
|
|
|
static FeatureTable featureTable;
|
|
|
|
static WorkaroundTable workaroundTable;
|
2017-12-27 22:12:27 +08:00
|
|
|
static const uint32_t threadsPerEu = 7;
|
|
|
|
static const uint32_t maxEuPerSubslice = 8;
|
|
|
|
static const uint32_t maxSlicesSupported = 3;
|
|
|
|
static const uint32_t maxSubslicesSupported = 9;
|
|
|
|
|
|
|
|
static const RuntimeCapabilityTable capabilityTable;
|
2020-01-25 00:19:06 +08:00
|
|
|
static void (*setupHardwareInfo)(HardwareInfo *hwInfo, bool setupFeatureTableAndWorkaroundTable, uint64_t hwInfoConfig);
|
2019-03-28 22:34:26 +08:00
|
|
|
static void setupFeatureAndWorkaroundTable(HardwareInfo *hwInfo);
|
2022-05-10 20:52:14 +08:00
|
|
|
static void setupHardwareInfoBase(HardwareInfo *hwInfo, bool setupFeatureTableAndWorkaroundTable);
|
2017-12-27 22:12:27 +08:00
|
|
|
};
|
|
|
|
|
2022-06-02 23:10:04 +08:00
|
|
|
class CflHw1x2x6 : public CFL {
|
2017-12-27 22:12:27 +08:00
|
|
|
public:
|
2019-03-28 22:34:26 +08:00
|
|
|
static void setupHardwareInfo(HardwareInfo *hwInfo, bool setupFeatureTableAndWorkaroundTable);
|
2017-12-27 22:12:27 +08:00
|
|
|
static const HardwareInfo hwInfo;
|
|
|
|
|
|
|
|
private:
|
|
|
|
static GT_SYSTEM_INFO gtSystemInfo;
|
|
|
|
};
|
|
|
|
|
2022-06-02 23:10:04 +08:00
|
|
|
class CflHw1x3x6 : public CFL {
|
2017-12-27 22:12:27 +08:00
|
|
|
public:
|
2019-03-28 22:34:26 +08:00
|
|
|
static void setupHardwareInfo(HardwareInfo *hwInfo, bool setupFeatureTableAndWorkaroundTable);
|
2017-12-27 22:12:27 +08:00
|
|
|
static const HardwareInfo hwInfo;
|
|
|
|
|
|
|
|
private:
|
|
|
|
static GT_SYSTEM_INFO gtSystemInfo;
|
|
|
|
};
|
|
|
|
|
2022-06-02 23:10:04 +08:00
|
|
|
class CflHw1x3x8 : public CFL {
|
2017-12-27 22:12:27 +08:00
|
|
|
public:
|
2019-03-28 22:34:26 +08:00
|
|
|
static void setupHardwareInfo(HardwareInfo *hwInfo, bool setupFeatureTableAndWorkaroundTable);
|
2017-12-27 22:12:27 +08:00
|
|
|
static const HardwareInfo hwInfo;
|
|
|
|
|
|
|
|
private:
|
|
|
|
static GT_SYSTEM_INFO gtSystemInfo;
|
|
|
|
};
|
|
|
|
|
2022-06-02 23:10:04 +08:00
|
|
|
class CflHw2x3x8 : public CFL {
|
2017-12-27 22:12:27 +08:00
|
|
|
public:
|
2019-03-28 22:34:26 +08:00
|
|
|
static void setupHardwareInfo(HardwareInfo *hwInfo, bool setupFeatureTableAndWorkaroundTable);
|
2017-12-27 22:12:27 +08:00
|
|
|
static const HardwareInfo hwInfo;
|
|
|
|
|
|
|
|
private:
|
|
|
|
static GT_SYSTEM_INFO gtSystemInfo;
|
|
|
|
};
|
|
|
|
|
2022-06-02 23:10:04 +08:00
|
|
|
class CflHw3x3x8 : public CFL {
|
2017-12-27 22:12:27 +08:00
|
|
|
public:
|
2019-03-28 22:34:26 +08:00
|
|
|
static void setupHardwareInfo(HardwareInfo *hwInfo, bool setupFeatureTableAndWorkaroundTable);
|
2017-12-27 22:12:27 +08:00
|
|
|
static const HardwareInfo hwInfo;
|
|
|
|
|
|
|
|
private:
|
|
|
|
static GT_SYSTEM_INFO gtSystemInfo;
|
|
|
|
};
|
2019-03-26 18:59:46 +08:00
|
|
|
} // namespace NEO
|