aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-09-23 17:12:23 -0400
committerChris Wilson <chris@chris-wilson.co.uk>2010-09-24 09:19:56 -0400
commitd3849eded23e6c78b19acc1a3a7811a01d2f541d (patch)
treedfb8a00643e40655fa8dc38e857988e368d8b8d5
parent780f0ca3e0cd3f0677d9149b7e14bf0878d1dbdc (diff)
drm/i915: Remove unused dev_priv->panel_wants_dither
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>
-rw-r--r--drivers/gpu/drm/i915/i915_drv.h1
-rw-r--r--drivers/gpu/drm/i915/intel_lvds.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index ac41ca1157a5..a5aa11fbb68a 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -328,7 +328,6 @@ typedef struct drm_i915_private {
328 328
329 /* LVDS info */ 329 /* LVDS info */
330 int backlight_level; /* restore backlight to this value */ 330 int backlight_level; /* restore backlight to this value */
331 bool panel_wants_dither;
332 struct drm_display_mode *panel_fixed_mode; 331 struct drm_display_mode *panel_fixed_mode;
333 struct drm_display_mode *lfp_lvds_vbt_mode; /* if any */ 332 struct drm_display_mode *lfp_lvds_vbt_mode; /* if any */
334 struct drm_display_mode *sdvo_lvds_vbt_mode; /* if any */ 333 struct drm_display_mode *sdvo_lvds_vbt_mode; /* if any */
diff --git a/drivers/gpu/drm/i915/intel_lvds.c b/drivers/gpu/drm/i915/intel_lvds.c
index e1f6e05169f6..1317731bc8ed 100644
--- a/drivers/gpu/drm/i915/intel_lvds.c
+++ b/drivers/gpu/drm/i915/intel_lvds.c
@@ -229,7 +229,7 @@ static bool intel_lvds_mode_fixup(struct drm_encoder *encoder,
229 229
230 /* Make sure pre-965s set dither correctly */ 230 /* Make sure pre-965s set dither correctly */
231 if (INTEL_INFO(dev)->gen < 4) { 231 if (INTEL_INFO(dev)->gen < 4) {
232 if (dev_priv->panel_wants_dither || dev_priv->lvds_dither) 232 if (dev_priv->lvds_dither)
233 pfit_control |= PANEL_8TO6_DITHER_ENABLE; 233 pfit_control |= PANEL_8TO6_DITHER_ENABLE;
234 } 234 }
235 235