diff options
author | Li Peng <peng.li@intel.com> | 2009-03-13 03:25:07 +0100 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-03-27 23:12:18 +0100 |
commit | 2b5cde2b272f56ec67b56a2af8c067d42eff7328 (patch) | |
tree | 7d57c3faa18de125b27ceb9eb4d43d4073c227b8 /drivers/gpu/drm/i915/intel_lvds.c | |
parent | drm/i915: Check for dev->primary->master before dereference. (diff) | |
download | linux-2b5cde2b272f56ec67b56a2af8c067d42eff7328.tar.xz linux-2b5cde2b272f56ec67b56a2af8c067d42eff7328.zip |
drm/i915: Fix LVDS dither setting
Update bdb_lvds_options structure according to its defination in
2D driver. Then we can parse and set 'lvds_dither' bit correctly
on non-965 chips.
Signed-off-by: Li Peng <peng.li@intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to '')
-rw-r--r-- | drivers/gpu/drm/i915/intel_lvds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_lvds.c b/drivers/gpu/drm/i915/intel_lvds.c index 0d211af98854..6619f26e46a5 100644 --- a/drivers/gpu/drm/i915/intel_lvds.c +++ b/drivers/gpu/drm/i915/intel_lvds.c @@ -265,7 +265,7 @@ static void intel_lvds_mode_set(struct drm_encoder *encoder, pfit_control = 0; if (!IS_I965G(dev)) { - if (dev_priv->panel_wants_dither) + if (dev_priv->panel_wants_dither || dev_priv->lvds_dither) pfit_control |= PANEL_8TO6_DITHER_ENABLE; } else |