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