mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
fix: ensure proper drm cleanup in L0 sysman init path
drm cleanup currently applied in positive scenario should be also applied in case of multi GPU if some devices failed at initialization Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
2051b2197a
commit
af0e387f35
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2022-2023 Intel Corporation
|
||||
* Copyright (C) 2022-2025 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -11,6 +11,7 @@
|
||||
#include "shared/source/os_interface/driver_info.h"
|
||||
#include "shared/source/os_interface/os_interface.h"
|
||||
#include "shared/test/common/helpers/default_hw_info.h"
|
||||
#include "shared/test/common/test_macros/mock_method_macros.h"
|
||||
|
||||
#include <cstdint>
|
||||
#include <functional>
|
||||
@@ -21,6 +22,7 @@ class MockDriverModel : public NEO::DriverModel {
|
||||
public:
|
||||
MockDriverModel() : MockDriverModel(NEO::DriverModelType::unknown) {}
|
||||
MockDriverModel(DriverModelType driverModelType) : DriverModel(driverModelType) {}
|
||||
ADDMETHOD_NOBASE_VOIDRETURN(cleanup, ());
|
||||
|
||||
void setGmmInputArgs(void *args) override {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user