2017-12-21 07:45:38 +08:00
|
|
|
/*
|
2022-06-24 21:56:25 +08:00
|
|
|
* Copyright (C) 2018-2022 Intel Corporation
|
2017-12-21 07:45:38 +08:00
|
|
|
*
|
2018-09-18 15:11:08 +08:00
|
|
|
* SPDX-License-Identifier: MIT
|
2017-12-21 07:45:38 +08:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
2020-10-16 18:10:52 +08:00
|
|
|
#include "shared/source/aub/aub_mapper_base.h"
|
2022-06-24 21:56:25 +08:00
|
|
|
#include "shared/source/gen8/hw_cmds.h"
|
2020-04-02 17:28:38 +08:00
|
|
|
#include "shared/source/helpers/constants.h"
|
2020-02-24 17:22:30 +08:00
|
|
|
|
2022-11-23 17:14:27 +08:00
|
|
|
#include "aubstream/engine_node.h"
|
2019-03-27 17:06:29 +08:00
|
|
|
|
2019-03-26 18:59:46 +08:00
|
|
|
namespace NEO {
|
2022-07-25 23:30:11 +08:00
|
|
|
struct Gen8Family;
|
2017-12-21 07:45:38 +08:00
|
|
|
|
|
|
|
template <>
|
2022-07-25 23:30:11 +08:00
|
|
|
struct AUBFamilyMapper<Gen8Family> {
|
2017-12-21 07:45:38 +08:00
|
|
|
enum { device = AubMemDump::DeviceValues::Bdw };
|
|
|
|
|
2018-09-27 21:08:57 +08:00
|
|
|
using AubTraits = AubMemDump::Traits<device, MemoryConstants::GfxAddressBits>;
|
2017-12-21 07:45:38 +08:00
|
|
|
|
2019-03-27 17:06:29 +08:00
|
|
|
static const AubMemDump::LrcaHelper *const csTraits[aub_stream::NUM_ENGINES];
|
2017-12-21 07:45:38 +08:00
|
|
|
|
|
|
|
static const MMIOList globalMMIO;
|
2019-03-27 17:06:29 +08:00
|
|
|
static const MMIOList *perEngineMMIO[aub_stream::NUM_ENGINES];
|
2017-12-21 07:45:38 +08:00
|
|
|
|
|
|
|
typedef AubMemDump::AubDump<AubTraits> AUB;
|
|
|
|
};
|
2019-03-26 18:59:46 +08:00
|
|
|
} // namespace NEO
|