struct intel_crtc_state *pipe_config,
struct drm_connector_state *conn_state)
{
- struct intel_dvo *intel_dvo = enc_to_dvo(encoder);
struct intel_connector *connector = to_intel_connector(conn_state->connector);
struct drm_display_mode *adjusted_mode = &pipe_config->hw.adjusted_mode;
- const struct drm_display_mode *fixed_mode =
- intel_panel_fixed_mode(intel_dvo->attached_connector, adjusted_mode);
+ int ret;
/*
* If we have timings from the BIOS for the panel, put them in
* with the panel scaling set up to source from the H/VDisplay
* of the original mode.
*/
- if (fixed_mode) {
- int ret;
-
- ret = intel_panel_compute_config(connector, adjusted_mode);
- if (ret)
- return ret;
- }
+ ret = intel_panel_compute_config(connector, adjusted_mode);
+ if (ret)
+ return ret;
if (adjusted_mode->flags & DRM_MODE_FLAG_DBLSCAN)
return -EINVAL;