mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
fix: improve media engine handling
Related-To: NEO-14462 Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
03353ef73d
commit
831b488685
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user