Restore setting direct submission active

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
Lukasz Jobczyk
2021-05-11 10:26:43 +00:00
committed by Compute-Runtime-Automation
parent ce05991913
commit 9a6b4e3273

View File

@@ -31,6 +31,9 @@ DrmDirectSubmission<GfxFamily, Dispatcher>::DrmDirectSubmission(Device &device,
if (DebugManager.flags.DirectSubmissionDisableMonitorFence.get() != -1) {
this->disableMonitorFence = DebugManager.flags.DirectSubmissionDisableMonitorFence.get();
}
auto osContextLinux = static_cast<OsContextLinux *>(&this->osContext);
osContextLinux->getDrm().setDirectSubmissionActive(true);
};
template <typename GfxFamily, typename Dispatcher>