2019-01-25 17:20:32 +08:00
|
|
|
/*
|
2020-01-22 23:22:30 +08:00
|
|
|
* Copyright (C) 2019-2020 Intel Corporation
|
2019-01-25 17:20:32 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
2020-02-24 05:44:01 +08:00
|
|
|
#include "shared/source/utilities/stackvec.h"
|
2019-01-25 17:20:32 +08:00
|
|
|
|
2019-03-26 18:59:46 +08:00
|
|
|
namespace NEO {
|
2019-01-25 17:20:32 +08:00
|
|
|
|
|
|
|
class TimestampPacketContainer;
|
|
|
|
class CommandStreamReceiver;
|
|
|
|
|
|
|
|
class CsrDependencies : public StackVec<TimestampPacketContainer *, 32> {
|
|
|
|
public:
|
|
|
|
enum class DependenciesType {
|
|
|
|
OnCsr,
|
2019-06-12 17:07:37 +08:00
|
|
|
OutOfCsr,
|
|
|
|
All
|
2019-01-25 17:20:32 +08:00
|
|
|
};
|
|
|
|
|
2019-09-04 17:34:23 +08:00
|
|
|
void makeResident(CommandStreamReceiver &commandStreamReceiver) const;
|
2019-01-25 17:20:32 +08:00
|
|
|
};
|
2019-03-26 18:59:46 +08:00
|
|
|
} // namespace NEO
|