mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00

Change-Id: Ifd82abcb830a52d0e38e83a52c095da275e671fb Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com> Related-To: NEO-4233
25 lines
846 B
C++
25 lines
846 B
C++
/*
|
|
* Copyright (C) 2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "shared/source/helpers/hw_info_config_common_helper.h"
|
|
|
|
#include "shared/source/debug_settings/debug_settings_manager.h"
|
|
#include "shared/source/helpers/hw_helper.h"
|
|
#include "shared/source/helpers/hw_info.h"
|
|
|
|
namespace NEO {
|
|
namespace HwInfoConfigCommonHelper {
|
|
void enableBlitterOperationsSupport(HardwareInfo &hardwareInfo) {
|
|
hardwareInfo.capabilityTable.blitterOperationsSupported = HwHelper::get(hardwareInfo.platform.eRenderCoreFamily).obtainBlitterPreference(hardwareInfo);
|
|
|
|
if (DebugManager.flags.EnableBlitterOperationsSupport.get() != -1) {
|
|
hardwareInfo.capabilityTable.blitterOperationsSupported = !!DebugManager.flags.EnableBlitterOperationsSupport.get();
|
|
}
|
|
}
|
|
} // namespace HwInfoConfigCommonHelper
|
|
} // namespace NEO
|