mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 13:33:02 +08:00
fix: return correct value in xe helper initialize
Related-To: NEO-7996 Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
6d41a6bc40
commit
1007013dfd
@@ -134,7 +134,6 @@ IoctlHelperXe::IoctlHelperXe(Drm &drmArg) : IoctlHelper(drmArg) {
|
||||
}
|
||||
|
||||
bool IoctlHelperXe::initialize() {
|
||||
bool ret = false;
|
||||
xeLog("IoctlHelperXe::initialize\n", "");
|
||||
DebugManager.flags.ForceUserptrAlignment.set(64);
|
||||
DebugManager.flags.UseVmBind.set(1);
|
||||
@@ -194,7 +193,7 @@ bool IoctlHelperXe::initialize() {
|
||||
auto hwInfo = this->drm.getRootDeviceEnvironment().getMutableHardwareInfo();
|
||||
hwInfo->platform.usDeviceID = chipsetId;
|
||||
hwInfo->platform.usRevId = revId;
|
||||
return ret;
|
||||
return true;
|
||||
}
|
||||
|
||||
IoctlHelperXe::~IoctlHelperXe() {
|
||||
|
||||
Reference in New Issue
Block a user