}
static void intel_dp_fec_compute_config(struct intel_dp *intel_dp,
- const struct intel_connector *connector,
struct intel_crtc_state *crtc_state)
{
if (crtc_state->fec_enable)
if (intel_dp_is_edp(intel_dp))
return;
- if (!intel_dp_supports_fec(intel_dp, connector, crtc_state))
- return;
-
if (intel_dp_is_uhbr(crtc_state))
return;
int num_joined_pipes = intel_crtc_num_joined_pipes(pipe_config);
int ret;
- intel_dp_fec_compute_config(intel_dp, connector, pipe_config);
+ intel_dp_fec_compute_config(intel_dp, pipe_config);
if (!intel_dp_dsc_supports_format(connector, pipe_config->output_format))
return -EINVAL;