Files
compute-runtime/shared/source/os_interface/linux/drm_engine_mapper.cpp
Compute-Runtime-Validation 1f4a835314 Revert "Add xe_hp_sdv unit test target + minor test fixes"
This reverts commit 6f75d67406.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-08-02 13:48:10 +02:00

25 lines
552 B
C++

/*
* Copyright (C) 2020-2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/source/os_interface/linux/drm_engine_mapper.h"
#include "shared/source/helpers/debug_helpers.h"
#include "drm/i915_drm.h"
namespace NEO {
unsigned int DrmEngineMapper::engineNodeMap(aub_stream::EngineType engineType) {
if (aub_stream::ENGINE_RCS == engineType) {
return I915_EXEC_RENDER;
} else if (aub_stream::ENGINE_BCS == engineType) {
return I915_EXEC_BLT;
}
UNRECOVERABLE_IF(true);
}
} // namespace NEO