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