diff options
Diffstat (limited to 'meta-moblin/packages/linux/linux-moblin-2.6.29.1/linux-2.6.29-drm-i915-Fix-LVDS-dither-setting.patch')
-rw-r--r-- | meta-moblin/packages/linux/linux-moblin-2.6.29.1/linux-2.6.29-drm-i915-Fix-LVDS-dither-setting.patch | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/meta-moblin/packages/linux/linux-moblin-2.6.29.1/linux-2.6.29-drm-i915-Fix-LVDS-dither-setting.patch b/meta-moblin/packages/linux/linux-moblin-2.6.29.1/linux-2.6.29-drm-i915-Fix-LVDS-dither-setting.patch deleted file mode 100644 index a8d68338b5..0000000000 --- a/meta-moblin/packages/linux/linux-moblin-2.6.29.1/linux-2.6.29-drm-i915-Fix-LVDS-dither-setting.patch +++ /dev/null | |||
@@ -1,56 +0,0 @@ | |||
1 | From 2b5cde2b272f56ec67b56a2af8c067d42eff7328 Mon Sep 17 00:00:00 2001 | ||
2 | From: Li Peng <peng.li@intel.com> | ||
3 | Date: Fri, 13 Mar 2009 10:25:07 +0800 | ||
4 | Subject: drm/i915: Fix LVDS dither setting | ||
5 | |||
6 | Update bdb_lvds_options structure according to its defination in | ||
7 | 2D driver. Then we can parse and set 'lvds_dither' bit correctly | ||
8 | on non-965 chips. | ||
9 | |||
10 | Signed-off-by: Li Peng <peng.li@intel.com> | ||
11 | Signed-off-by: Eric Anholt <eric@anholt.net> | ||
12 | --- | ||
13 | drivers/gpu/drm/i915/intel_bios.h | 12 ++++++------ | ||
14 | drivers/gpu/drm/i915/intel_lvds.c | 2 +- | ||
15 | 2 files changed, 7 insertions(+), 7 deletions(-) | ||
16 | |||
17 | diff --git a/drivers/gpu/drm/i915/intel_bios.h b/drivers/gpu/drm/i915/intel_bios.h | ||
18 | index 5ea715a..de621aa 100644 | ||
19 | --- a/drivers/gpu/drm/i915/intel_bios.h | ||
20 | +++ b/drivers/gpu/drm/i915/intel_bios.h | ||
21 | @@ -162,13 +162,13 @@ struct bdb_lvds_options { | ||
22 | u8 panel_type; | ||
23 | u8 rsvd1; | ||
24 | /* LVDS capabilities, stored in a dword */ | ||
25 | - u8 rsvd2:1; | ||
26 | - u8 lvds_edid:1; | ||
27 | - u8 pixel_dither:1; | ||
28 | - u8 pfit_ratio_auto:1; | ||
29 | - u8 pfit_gfx_mode_enhanced:1; | ||
30 | - u8 pfit_text_mode_enhanced:1; | ||
31 | u8 pfit_mode:2; | ||
32 | + u8 pfit_text_mode_enhanced:1; | ||
33 | + u8 pfit_gfx_mode_enhanced:1; | ||
34 | + u8 pfit_ratio_auto:1; | ||
35 | + u8 pixel_dither:1; | ||
36 | + u8 lvds_edid:1; | ||
37 | + u8 rsvd2:1; | ||
38 | u8 rsvd4; | ||
39 | } __attribute__((packed)); | ||
40 | |||
41 | diff --git a/drivers/gpu/drm/i915/intel_lvds.c b/drivers/gpu/drm/i915/intel_lvds.c | ||
42 | index 0d211af..6619f26 100644 | ||
43 | --- a/drivers/gpu/drm/i915/intel_lvds.c | ||
44 | +++ b/drivers/gpu/drm/i915/intel_lvds.c | ||
45 | @@ -265,7 +265,7 @@ static void intel_lvds_mode_set(struct drm_encoder *encoder, | ||
46 | pfit_control = 0; | ||
47 | |||
48 | if (!IS_I965G(dev)) { | ||
49 | - if (dev_priv->panel_wants_dither) | ||
50 | + if (dev_priv->panel_wants_dither || dev_priv->lvds_dither) | ||
51 | pfit_control |= PANEL_8TO6_DITHER_ENABLE; | ||
52 | } | ||
53 | else | ||
54 | -- | ||
55 | 1.6.1.3 | ||
56 | |||