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

Commit 05d62b83 authored by Daniel Vetter's avatar Daniel Vetter
Browse files

drm/i915: Kill useless "Enable panel fitter" comments



Now that we have this all nicely abstract into separate functions with
self-documenting names this is pointless. And as Yuly Novikov spotted
in the case of ilk-ivb also wrong since we use the pfit both for lvds
and eDP

Reported-By: default avatarYuly Novikov <ynovikov@chromium.org>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Acked-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent acd78c11
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -3209,7 +3209,6 @@ static void ironlake_crtc_enable(struct drm_crtc *crtc)
		if (encoder->pre_enable)
			encoder->pre_enable(encoder);

	/* Enable panel fitting for LVDS */
	ironlake_pfit_enable(intel_crtc);

	/*
@@ -3315,7 +3314,6 @@ static void haswell_crtc_enable(struct drm_crtc *crtc)

	intel_ddi_enable_pipe_clock(intel_crtc);

	/* Enable panel fitting for eDP */
	ironlake_pfit_enable(intel_crtc);

	/*
@@ -3611,7 +3609,6 @@ static void valleyview_crtc_enable(struct drm_crtc *crtc)
	for_each_encoder_on_crtc(dev, crtc, encoder)
		encoder->enable(encoder);

	/* Enable panel fitting for eDP */
	i9xx_pfit_enable(intel_crtc);

	intel_crtc_load_lut(crtc);
@@ -3649,7 +3646,6 @@ static void i9xx_crtc_enable(struct drm_crtc *crtc)
		if (encoder->pre_enable)
			encoder->pre_enable(encoder);

	/* Enable panel fitting for LVDS */
	i9xx_pfit_enable(intel_crtc);

	intel_crtc_load_lut(crtc);