Add support for PRELIM_I915_PARAM_SET_PAIR (2)

Fix query for SET_PAIR.

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
This commit is contained in:
Jaime Arteaga
2022-09-30 10:55:43 -07:00
committed by Compute-Runtime-Automation
parent 11eb0aa769
commit aab24e6552
2 changed files with 2 additions and 1 deletions

View File

@@ -1264,7 +1264,7 @@ void Drm::waitForBind(uint32_t vmHandleId) {
}
bool Drm::isSetPairAvailable() {
std::call_once(checkBindOnce, [this]() {
std::call_once(checkSetPairOnce, [this]() {
int ret = ioctlHelper->isSetPairAvailable();
setPairAvailable = ret;
});

View File

@@ -330,6 +330,7 @@ class Drm : public DriverModel {
std::unique_ptr<MemoryInfo> memoryInfo;
std::once_flag checkBindOnce;
std::once_flag checkSetPairOnce;
std::once_flag checkCompletionFenceOnce;
RootDeviceEnvironment &rootDeviceEnvironment;