1 /* SPDX-License-Identifier: MIT
2  *
3  * Copyright © 2024 Intel Corporation
4  */
5 
6 #ifndef _INTEL_ALPM_H
7 #define _INTEL_ALPM_H
8 
9 #include <linux/types.h>
10 
11 struct intel_dp;
12 struct intel_crtc_state;
13 struct drm_connector_state;
14 struct intel_connector;
15 
16 void intel_alpm_init_dpcd(struct intel_dp *intel_dp);
17 bool intel_alpm_compute_params(struct intel_dp *intel_dp,
18 			       const struct intel_crtc_state *crtc_state);
19 void intel_alpm_lobf_compute_config(struct intel_dp *intel_dp,
20 				    struct intel_crtc_state *crtc_state,
21 				    struct drm_connector_state *conn_state);
22 void intel_alpm_configure(struct intel_dp *intel_dp,
23 			  const struct intel_crtc_state *crtc_state);
24 void intel_alpm_lobf_debugfs_add(struct intel_connector *connector);
25 bool intel_alpm_aux_wake_supported(struct intel_dp *intel_dp);
26 bool intel_alpm_aux_less_wake_supported(struct intel_dp *intel_dp);
27 #endif
28