mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 23:03:02 +08:00
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:
committed by
Compute-Runtime-Automation
parent
11eb0aa769
commit
aab24e6552
@@ -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;
|
||||
});
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user