From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH] drm/i915: Kill useless "Enable panel fitter" comments Date: Fri, 14 Jun 2013 09:16:46 +0200 Message-ID: <20130614071646.GI23483@phenom.ffwll.local> References: <1371163883-638-1-git-send-email-daniel.vetter@ffwll.ch> <20130613181939.3e827c97@jbarnes-desktop> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ea0-f169.google.com (mail-ea0-f169.google.com [209.85.215.169]) by gabe.freedesktop.org (Postfix) with ESMTP id F4163E5C73 for ; Fri, 14 Jun 2013 00:16:50 -0700 (PDT) Received: by mail-ea0-f169.google.com with SMTP id h15so138996eak.28 for ; Fri, 14 Jun 2013 00:16:50 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20130613181939.3e827c97@jbarnes-desktop> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Jesse Barnes Cc: Daniel Vetter , Intel Graphics Development List-Id: intel-gfx@lists.freedesktop.org On Thu, Jun 13, 2013 at 06:19:39PM -0700, Jesse Barnes wrote: > On Fri, 14 Jun 2013 00:51:23 +0200 > Daniel Vetter wrote: > > > 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: Yuly Novikov > > Cc: Jesse Barnes > > Signed-off-by: Daniel Vetter > > --- > > drivers/gpu/drm/i915/intel_display.c | 4 ---- > > 1 file changed, 4 deletions(-) > > > > diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c > > index e1184eb..2338279 100644 > > --- a/drivers/gpu/drm/i915/intel_display.c > > +++ b/drivers/gpu/drm/i915/intel_display.c > > @@ -3209,7 +3209,6 @@ static void ironlake_crtc_enable(struct drm_crtc *crtc) > > assert_fdi_rx_disabled(dev_priv, pipe); > > } > > > > - /* 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) > > > > i9xx_enable_pll(intel_crtc); > > > > - /* Enable panel fitting for LVDS */ > > i9xx_pfit_enable(intel_crtc); > > > > intel_crtc_load_lut(crtc); > > Acked-by: Jesse Barnes And now merged to dinq. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch