1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright © 2021 Intel Corporation
4  */
5 
6 #ifndef _INTEL_PCH_DISPLAY_H_
7 #define _INTEL_PCH_DISPLAY_H_
8 
9 struct intel_atomic_state;
10 struct intel_crtc;
11 struct intel_crtc_state;
12 struct intel_link_m_n;
13 
14 void ilk_pch_pre_enable(struct intel_atomic_state *state,
15 			struct intel_crtc *crtc);
16 void ilk_pch_enable(struct intel_atomic_state *state,
17 		    struct intel_crtc *crtc);
18 void ilk_pch_disable(struct intel_atomic_state *state,
19 		     struct intel_crtc *crtc);
20 void ilk_pch_post_disable(struct intel_atomic_state *state,
21 			  struct intel_crtc *crtc);
22 void ilk_pch_get_config(struct intel_crtc_state *crtc_state);
23 
24 void lpt_pch_enable(struct intel_atomic_state *state,
25 		    struct intel_crtc *crtc);
26 void lpt_pch_disable(struct intel_atomic_state *state,
27 		     struct intel_crtc *crtc);
28 void lpt_pch_get_config(struct intel_crtc_state *crtc_state);
29 
30 void intel_pch_transcoder_get_m1_n1(struct intel_crtc *crtc,
31 				    struct intel_link_m_n *m_n);
32 void intel_pch_transcoder_get_m2_n2(struct intel_crtc *crtc,
33 				    struct intel_link_m_n *m_n);
34 
35 #endif
36