2017-12-21 07:45:38 +08:00
|
|
|
/*
|
2024-01-22 15:28:27 +08:00
|
|
|
* Copyright (C) 2018-2024 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
|
2019-02-27 18:39:32 +08:00
|
|
|
#include <cstdint>
|
2017-12-21 07:45:38 +08:00
|
|
|
|
2020-01-30 16:36:05 +08:00
|
|
|
namespace NEO {
|
2017-12-21 07:45:38 +08:00
|
|
|
enum CommandStreamReceiverType {
|
|
|
|
// Use receiver for real HW
|
|
|
|
CSR_HW = 0,
|
|
|
|
// Capture an AUB file automatically for all traffic going through Device -> CommandStreamReceiver
|
|
|
|
CSR_AUB,
|
|
|
|
// Capture an AUB and tunnel all commands going through Device -> CommandStreamReceiver to a TBX server
|
2018-01-19 17:00:51 +08:00
|
|
|
CSR_TBX,
|
|
|
|
// Use receiver for real HW and capture AUB file
|
|
|
|
CSR_HW_WITH_AUB,
|
2018-03-06 05:16:21 +08:00
|
|
|
// Use TBX server and capture AUB file
|
|
|
|
CSR_TBX_WITH_AUB,
|
2018-01-19 17:00:51 +08:00
|
|
|
// Number of CSR types
|
|
|
|
CSR_TYPES_NUM
|
2017-12-21 07:45:38 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
// AUB file folder location
|
|
|
|
extern const char *folderAUB;
|
|
|
|
|
|
|
|
// Initial value for HW tag
|
2020-06-16 19:19:11 +08:00
|
|
|
// Set to 0 if using HW or simulator, otherwise 0xFFFFFF00, needs to be lower then CompletionStamp::notReady.
|
2017-12-21 07:45:38 +08:00
|
|
|
extern uint32_t initialHardwareTag;
|
2019-03-26 18:59:46 +08:00
|
|
|
} // namespace NEO
|