2018-01-03 17:54:31 +08:00
|
|
|
/*
|
2022-07-08 07:55:53 +08:00
|
|
|
* Copyright (C) 2018-2022 Intel Corporation
|
2018-01-03 17:54:31 +08:00
|
|
|
*
|
2018-09-18 15:11:08 +08:00
|
|
|
* SPDX-License-Identifier: MIT
|
2018-01-03 17:54:31 +08:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2022-07-08 07:55:53 +08:00
|
|
|
#include "shared/source/gen9/hw_cmds_base.h"
|
|
|
|
|
2020-02-23 05:50:57 +08:00
|
|
|
#include "opencl/source/gtpin/gtpin_hw_helper.h"
|
|
|
|
#include "opencl/source/gtpin/gtpin_hw_helper.inl"
|
2021-08-03 19:48:35 +08:00
|
|
|
#include "opencl/source/gtpin/gtpin_hw_helper_bdw_and_later.inl"
|
2020-02-23 05:50:57 +08:00
|
|
|
|
2019-02-27 18:39:32 +08:00
|
|
|
#include "ocl_igc_shared/gtpin/gtpin_ocl_interface.h"
|
|
|
|
|
2019-03-26 18:59:46 +08:00
|
|
|
namespace NEO {
|
2018-01-03 17:54:31 +08:00
|
|
|
|
2022-12-08 20:22:35 +08:00
|
|
|
extern GTPinGfxCoreHelper *gtpinGfxCoreHelperFactory[IGFX_MAX_CORE];
|
2018-01-03 17:54:31 +08:00
|
|
|
|
2022-07-25 23:30:11 +08:00
|
|
|
typedef Gen9Family Family;
|
2018-01-03 17:54:31 +08:00
|
|
|
static const auto gfxFamily = IGFX_GEN9_CORE;
|
|
|
|
|
|
|
|
template <>
|
2022-12-08 20:22:35 +08:00
|
|
|
uint32_t GTPinGfxCoreHelperHw<Family>::getGenVersion() {
|
2018-01-03 17:54:31 +08:00
|
|
|
return gtpin::GTPIN_GEN_9;
|
|
|
|
}
|
|
|
|
|
2022-12-08 20:22:35 +08:00
|
|
|
template class GTPinGfxCoreHelperHw<Family>;
|
2018-01-03 17:54:31 +08:00
|
|
|
|
|
|
|
struct GTPinEnableGen9 {
|
|
|
|
GTPinEnableGen9() {
|
2022-12-08 20:22:35 +08:00
|
|
|
gtpinGfxCoreHelperFactory[gfxFamily] = >PinGfxCoreHelperHw<Family>::get();
|
2018-01-03 17:54:31 +08:00
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
static GTPinEnableGen9 gtpinEnable;
|
|
|
|
|
2019-03-26 18:59:46 +08:00
|
|
|
} // namespace NEO
|