Files
compute-runtime/runtime/os_interface/linux/drm_engine_mapper.cpp
Dunajski, Bartosz 2d77b86e70 Allow Device creating multiple CSRs [5/n]
- 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>
2018-11-27 14:25:04 +01:00

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