drm/i915: Kill useless "Enable panel fitter" comments
Subsystems (2)
PATCH 1/1 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
--- drivers/gpu/drm/i915/intel_display.c | 4 ---- 1 file changed, 4 deletions(-)
drivers/gpu/drm/i915/intel_display.c +0 -4
@@ -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);
Signature · 1 line
1.7.11.7
Quoted 41 lines · On Fri, 14 Jun 2013 00:51:23 +0200 Daniel Vetter <[email protected]> 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 <[email protected]>Cc Jesse Barnes <[email protected]>Signed-off-by Daniel Vetter <[email protected]>--- drivers/gpu/drm/i915/intel_display.c | 4 ---- 1 file changed, 4 deletions(-)drivers/gpu/drm/i915/intel_display.c +0
-3@@ -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);
drivers/gpu/drm/i915/intel_display.c static void i9xx_crtc_enable(struct drm_crtc *crtc) · line 3651
Quoted 7 lines
drivers/gpu/drm/i915/intel_display.c +0
-1@@ -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);
Signature · 1 line
Jesse Barnes, Intel Open Source Technology Center
Quoted 45 lines · Jesse Barnes
Quoted 42 lines · On Fri, 14 Jun 2013 00:51:23 +0200 Daniel Vetter <[email protected]> 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 <[email protected]>Cc Jesse Barnes <[email protected]>Signed-off-by Daniel Vetter <[email protected]>--- drivers/gpu/drm/i915/intel_display.c | 4 ---- 1 file changed, 4 deletions(-)drivers/gpu/drm/i915/intel_display.c +0
-3@@ -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)
Quoted 8 lines
drivers/gpu/drm/i915/intel_display.c static void i9xx_crtc_enable(struct drm_crtc *crtc) · line 3651
Quoted 6 lines
drivers/gpu/drm/i915/intel_display.c +0
-1i9xx_enable_pll (intel_crtc); -/* Enable panel fitting for LVDS */ i9xx_pfit_enable (intel_crtc);intel_crtc_load_lut (crtc);Acked-by Jesse Barnes <[email protected]>
And now merged to dinq.
-Daniel
Signature · 3 lines
Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch