WIP FPC-III support
[linux/fpc-iii.git] / drivers / gpu / drm / i915 / gt / intel_engine_heartbeat.h
bloba7b8c0f9e00500a1db462af9d7c23308bb55b3d7
1 /*
2 * SPDX-License-Identifier: MIT
4 * Copyright © 2019 Intel Corporation
5 */
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,
15 unsigned long delay);
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 */