mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 21:18:24 +08:00
fix: stop direct submission before oa configuration activation
Related-To: NEO-12778 Signed-off-by: Robert Krzemień <robert.krzemien@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
01a0b8e7f7
commit
fe1fd22371
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2018-2023 Intel Corporation
|
||||
* Copyright (C) 2018-2024 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -42,6 +42,8 @@ std::unique_ptr<PerformanceCounters> PerformanceCounters::create(Device *device)
|
||||
counter->adapter.Type = LinuxAdapterType::DrmFileDescriptor;
|
||||
counter->adapter.DrmFileDescriptor = drm->getFileDescriptor();
|
||||
counter->clientData.Linux.Adapter = &(counter->adapter);
|
||||
counter->metricsLibrary->api->callbacks.CommandBufferFlush = &PerformanceCounters::flushCommandBufferCallback;
|
||||
counter->clientData.Handle = reinterpret_cast<void *>(device);
|
||||
|
||||
// Gen data.
|
||||
counter->clientType.Gen = static_cast<MetricsLibraryApi::ClientGen>(gfxCoreHelper.getMetricsLibraryGenId());
|
||||
|
||||
Reference in New Issue
Block a user