mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 09:14:47 +08:00
Fallback into legacy IOCTLs in case of incorrect topology data
Change-Id: Ibf0a3885729ab6cf5888534677ff73b875d142c1 Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
2762ad7121
commit
240b97706f
@@ -402,7 +402,7 @@ bool Drm::queryTopology(int &sliceCount, int &subSliceCount, int &euCount) {
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
return (sliceCount && subSliceCount && euCount);
|
||||
}
|
||||
|
||||
Drm::~Drm() = default;
|
||||
|
||||
Reference in New Issue
Block a user