diff mbox

[2/2] drm/i915: drop init_dpio, shouldn't be needed

Message ID 1366321469-6231-2-git-send-email-jbarnes@virtuousgeek.org (mailing list archive)
State New, archived
Headers show

Commit Message

Jesse Barnes April 18, 2013, 9:44 p.m. UTC
This is a reset feature we don't actually need.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
---
 drivers/gpu/drm/i915/intel_display.c |   11 -----------
 1 file changed, 11 deletions(-)

Comments

Daniel Vetter April 18, 2013, 10:05 p.m. UTC | #1
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@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@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx
diff mbox

Patch

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)
 {