]> Pileus Git - ~andy/linux/commitdiff
drm/i915: Remove unused dev_priv->panel_wants_dither
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 23 Sep 2010 21:12:23 +0000 (22:12 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 24 Sep 2010 13:19:56 +0000 (14:19 +0100)
This is now private to the DVO connector, remove it from the main device
private.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_lvds.c

index ac41ca1157a5dbc670478eb8ba942fa3172e3b60..a5aa11fbb68a1d3e686e01f56cfcca3bc7855c07 100644 (file)
@@ -328,7 +328,6 @@ typedef struct drm_i915_private {
 
        /* LVDS info */
        int backlight_level;  /* restore backlight to this value */
-       bool panel_wants_dither;
        struct drm_display_mode *panel_fixed_mode;
        struct drm_display_mode *lfp_lvds_vbt_mode; /* if any */
        struct drm_display_mode *sdvo_lvds_vbt_mode; /* if any */
index e1f6e05169f645e8471885af1d2befbfe7a2b26e..1317731bc8ed0724b1a776b9daeeb387f38fc6f5 100644 (file)
@@ -229,7 +229,7 @@ static bool intel_lvds_mode_fixup(struct drm_encoder *encoder,
 
        /* Make sure pre-965s set dither correctly */
        if (INTEL_INFO(dev)->gen < 4) {
-               if (dev_priv->panel_wants_dither || dev_priv->lvds_dither)
+               if (dev_priv->lvds_dither)
                        pfit_control |= PANEL_8TO6_DITHER_ENABLE;
        }