Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e240d55d authored by Ville Syrjälä's avatar Ville Syrjälä Committed by Daniel Vetter
Browse files

drm/i915: Don't call DVO mode_set hook on DPMS changes



Calling the mode_set hook on DPMS changes doesn't seem to be necessary
for ns2501. Just drop it.

Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Tested-by: default avatarThomas Richter <richter@rus.uni-stuttgart.de>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent c9c054c2
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -227,10 +227,6 @@ static void intel_dvo_dpms(struct drm_connector *connector, int mode)

		intel_crtc_update_dpms(crtc);

		intel_dvo->dev.dev_ops->mode_set(&intel_dvo->dev,
						 &config->requested_mode,
						 &config->adjusted_mode);

		intel_dvo->dev.dev_ops->dpms(&intel_dvo->dev, true);
	} else {
		intel_dvo->dev.dev_ops->dpms(&intel_dvo->dev, false);