[Intel-gfx] [PATCH 2/2] drm/i915: drop init_dpio, shouldn't be needed

Daniel Vetter daniel at ffwll.ch
Fri Apr 19 00:05:24 CEST 2013


On Thu, Apr 18, 2013 at 02:44:29PM -0700, Jesse Barnes wrote:
> This is a reset feature we don't actually need.
> 
> Signed-off-by: Jesse Barnes <jbarnes at virtuousgeek.org>

Both patches merged with a bit of screaming, thanks.
-Daniel

> ---
>  drivers/gpu/drm/i915/intel_display.c |   11 -----------
>  1 file changed, 11 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
> index 9ff992a..2d9f231 100644
> --- a/drivers/gpu/drm/i915/intel_display.c
> +++ b/drivers/gpu/drm/i915/intel_display.c
> @@ -467,17 +467,6 @@ void intel_dpio_write(struct drm_i915_private *dev_priv, int reg, u32 val)
>  		DRM_ERROR("DPIO write wait timed out\n");
>  }
>  
> -static void vlv_init_dpio(struct drm_device *dev)
> -{
> -	struct drm_i915_private *dev_priv = dev->dev_private;
> -
> -	/* Reset the DPIO config */
> -	I915_WRITE(DPIO_CTL, 0);
> -	POSTING_READ(DPIO_CTL);
> -	I915_WRITE(DPIO_CTL, 1);
> -	POSTING_READ(DPIO_CTL);
> -}
> -
>  static const intel_limit_t *intel_ironlake_limit(struct drm_crtc *crtc,
>  						int refclk)
>  {
> -- 
> 1.7.10.4
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch



More information about the Intel-gfx mailing list