1 /* SPDX-License-Identifier: MIT */
3 * Copyright © 2019 Intel Corporation
6 #ifndef INTEL_ENGINE_HEARTBEAT_H
7 #define INTEL_ENGINE_HEARTBEAT_H
9 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 void intel_gt_park_heartbeats(struct intel_gt *gt);
21 void intel_gt_unpark_heartbeats(struct intel_gt *gt);
23 int intel_engine_pulse(struct intel_engine_cs *engine);
24 int intel_engine_flush_barriers(struct intel_engine_cs *engine);
26 #endif /* INTEL_ENGINE_HEARTBEAT_H */