2 * SPDX-License-Identifier: MIT
4 * Copyright © 2019 Intel Corporation
7 #ifndef INTEL_ENGINE_HEARTBEAT_H
8 #define INTEL_ENGINE_HEARTBEAT_H
10 struct intel_engine_cs
;
12 void intel_engine_init_heartbeat(struct intel_engine_cs
*engine
);
14 int intel_engine_set_heartbeat(struct intel_engine_cs
*engine
,
17 void intel_engine_park_heartbeat(struct intel_engine_cs
*engine
);
18 void intel_engine_unpark_heartbeat(struct intel_engine_cs
*engine
);
20 int intel_engine_pulse(struct intel_engine_cs
*engine
);
21 int intel_engine_flush_barriers(struct intel_engine_cs
*engine
);
23 #endif /* INTEL_ENGINE_HEARTBEAT_H */