Update topology query

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
Bartosz Dunajski
2021-01-26 16:03:12 +00:00
committed by Compute-Runtime-Automation
parent ccf9d72019
commit eb1ea19360
5 changed files with 8 additions and 8 deletions

View File

@@ -11,7 +11,7 @@
namespace NEO {
bool Drm::queryTopology(int &sliceCount, int &subSliceCount, int &euCount) {
bool Drm::queryTopology(const HardwareInfo &hwInfo, int &sliceCount, int &subSliceCount, int &euCount) {
int32_t length;
auto dataQuery = this->query(DRM_I915_QUERY_TOPOLOGY_INFO, DrmQueryItemFlags::topology, length);
auto data = reinterpret_cast<drm_i915_query_topology_info *>(dataQuery.get());