feature: Retrieve CXL type info from drm query

Related-To: NEO-11362

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
This commit is contained in:
Aravind Gopalakrishnan
2024-06-07 18:46:33 +00:00
committed by Compute-Runtime-Automation
parent d2d8925cd3
commit 1cca55624b
4 changed files with 8 additions and 2 deletions

View File

@@ -153,6 +153,8 @@ bool IoctlHelperXe::initialize() {
hwInfo->platform.usRevId = static_cast<int>((config->info[DRM_XE_QUERY_CONFIG_REV_AND_DEVICE_ID] >> 16) & 0xff);
hwInfo->capabilityTable.gpuAddressSpace = (1ull << config->info[DRM_XE_QUERY_CONFIG_VA_BITS]) - 1;
hwInfo->capabilityTable.cxlType = getCxlType(config);
queryGtListData = queryData<uint64_t>(DRM_XE_DEVICE_QUERY_GT_LIST);
if (queryGtListData.empty()) {