mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 23:03:02 +08:00
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:
committed by
Compute-Runtime-Automation
parent
d2d8925cd3
commit
1cca55624b
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user