@@ -135,8 +135,9 @@ static int _lnl_compute_aux_less_wake_time(int port_clock)
135
135
t1 + tcds , 1000 );
136
136
}
137
137
138
- static int _lnl_compute_aux_less_alpm_params (struct intel_dp * intel_dp ,
139
- struct intel_crtc_state * crtc_state )
138
+ static int
139
+ _lnl_compute_aux_less_alpm_params (struct intel_dp * intel_dp ,
140
+ const struct intel_crtc_state * crtc_state )
140
141
{
141
142
struct drm_i915_private * i915 = dp_to_i915 (intel_dp );
142
143
int aux_less_wake_time , aux_less_wake_lines , silence_period ,
@@ -168,7 +169,7 @@ static int _lnl_compute_aux_less_alpm_params(struct intel_dp *intel_dp,
168
169
}
169
170
170
171
static bool _lnl_compute_alpm_params (struct intel_dp * intel_dp ,
171
- struct intel_crtc_state * crtc_state )
172
+ const struct intel_crtc_state * crtc_state )
172
173
{
173
174
struct drm_i915_private * i915 = dp_to_i915 (intel_dp );
174
175
int check_entry_lines ;
@@ -220,7 +221,7 @@ static int io_buffer_wake_time(const struct intel_crtc_state *crtc_state)
220
221
}
221
222
222
223
bool intel_alpm_compute_params (struct intel_dp * intel_dp ,
223
- struct intel_crtc_state * crtc_state )
224
+ const struct intel_crtc_state * crtc_state )
224
225
{
225
226
struct drm_i915_private * i915 = dp_to_i915 (intel_dp );
226
227
int io_wake_lines , io_wake_time , fast_wake_lines , fast_wake_time ;
0 commit comments