fix: setup gpu address space based on config info from xe kmd

Related-To: NEO-10496
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2024-03-21 17:40:02 +00:00
committed by Compute-Runtime-Automation
parent 1e343053ba
commit 92d37b20a6
3 changed files with 36 additions and 0 deletions

View File

@@ -155,6 +155,7 @@ bool IoctlHelperXe::initialize() {
auto hwInfo = this->drm.getRootDeviceEnvironment().getMutableHardwareInfo();
hwInfo->platform.usDeviceID = chipsetId;
hwInfo->platform.usRevId = revId;
hwInfo->capabilityTable.gpuAddressSpace = (1ull << config->info[DRM_XE_QUERY_CONFIG_VA_BITS]) - 1;
return true;
}