Assign pat_index to BO during creation

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
Bartosz Dunajski
2022-04-19 19:24:19 +00:00
committed by Compute-Runtime-Automation
parent 5911515ed0
commit 06fa316a75
31 changed files with 376 additions and 256 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2019-2021 Intel Corporation
* Copyright (C) 2019-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -18,7 +18,7 @@ class MockBufferObject : public BufferObject {
using BufferObject::BufferObject;
using BufferObject::handle;
MockBufferObject(Drm *drm) : BufferObject(drm, 0, 0, 1) {
MockBufferObject(Drm *drm) : BufferObject(drm, CommonConstants::unsupportedPatIndex, 0, 0, 1) {
}
};