mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-29 09:03:14 +08:00
Store hardware IP version in hardware info
Query HW IP version using ioctl helper prelim Related-To: NEO-7457 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
49c828e481
commit
8ddc889c1d
@@ -137,17 +137,23 @@ inline bool operator==(const RuntimeCapabilityTable &lhs, const RuntimeCapabilit
|
||||
return result;
|
||||
}
|
||||
|
||||
struct HardwareIpVersion {
|
||||
uint8_t architecture;
|
||||
uint8_t release;
|
||||
uint8_t revision;
|
||||
};
|
||||
|
||||
struct HardwareInfo {
|
||||
HardwareInfo() = default;
|
||||
HardwareInfo(const PLATFORM *platform, const FeatureTable *featureTable, const WorkaroundTable *workaroundTable,
|
||||
const GT_SYSTEM_INFO *gtSystemInfo, const RuntimeCapabilityTable &capabilityTable);
|
||||
|
||||
PLATFORM platform = {};
|
||||
FeatureTable featureTable = {};
|
||||
WorkaroundTable workaroundTable = {};
|
||||
alignas(4) GT_SYSTEM_INFO gtSystemInfo = {};
|
||||
|
||||
alignas(8) RuntimeCapabilityTable capabilityTable = {};
|
||||
PLATFORM platform{};
|
||||
FeatureTable featureTable{};
|
||||
WorkaroundTable workaroundTable{};
|
||||
alignas(4) GT_SYSTEM_INFO gtSystemInfo{};
|
||||
alignas(8) RuntimeCapabilityTable capabilityTable{};
|
||||
HardwareIpVersion ipVersion{};
|
||||
};
|
||||
|
||||
template <PRODUCT_FAMILY product>
|
||||
|
||||
Reference in New Issue
Block a user