1/* SPDX-License-Identifier: MIT */
2/*
3 * Copyright © 2024 Intel Corporation
4 */
5
6#ifndef __INTEL_ENCODER_H__
7#define __INTEL_ENCODER_H__
8
9struct intel_digital_port;
10struct intel_display;
11struct intel_encoder;
12
13void intel_encoder_link_check_init(struct intel_encoder *encoder,
14 void (*callback)(struct intel_encoder *encoder));
15void intel_encoder_link_check_queue_work(struct intel_encoder *encoder, int delay_ms);
16void intel_encoder_link_check_flush_work(struct intel_encoder *encoder);
17
18void intel_encoder_suspend_all(struct intel_display *display);
19void intel_encoder_shutdown_all(struct intel_display *display);
20
21void intel_encoder_block_all_hpds(struct intel_display *display);
22void intel_encoder_unblock_all_hpds(struct intel_display *display);
23
24struct intel_digital_port *intel_dig_port_alloc(void);
25
26#endif /* __INTEL_ENCODER_H__ */
27