mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-23 11:03:02 +08:00
- Move Engine type to OsContext - Move OsContext to CSR - Improve EngineMapper logic - CompletionStamp cleanup Change-Id: I935cb7169c8c48cd09837e20e3da06f6dd3437b9 Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
21 lines
418 B
C++
21 lines
418 B
C++
/*
|
|
* Copyright (C) 2018 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "hw_cmds.h"
|
|
#include "runtime/os_interface/linux/drm_engine_mapper.h"
|
|
#include "drm/i915_drm.h"
|
|
|
|
namespace OCLRT {
|
|
|
|
unsigned int DrmEngineMapper::engineNodeMap(EngineType engineType) {
|
|
if (EngineType::ENGINE_RCS == engineType) {
|
|
return I915_EXEC_RENDER;
|
|
}
|
|
UNRECOVERABLE_IF(true);
|
|
}
|
|
} // namespace OCLRT
|