fix: improve media engine handling

Related-To: NEO-14462

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
Bartosz Dunajski
2025-03-28 12:19:17 +00:00
committed by Compute-Runtime-Automation
parent 03353ef73d
commit 831b488685
5 changed files with 40 additions and 10 deletions

View File

@@ -306,7 +306,7 @@ void DrmMockXe::initInstance() {
MemoryConstants::gigaByte // used size
};
this->queryGtList.resize(49); // 1 qword for num gts and 12 qwords per gt
this->queryGtList.resize(1 + (6 * 12)); // 1 qword for num gts and 12 qwords per gt
auto xeQueryGtList = reinterpret_cast<drm_xe_query_gt_list *>(this->queryGtList.begin());
xeQueryGtList->num_gt = 4;
xeQueryGtList->gt_list[0] = tile0MainGt;