diff options
Diffstat (limited to 'meta-moblin/packages/linux/linux-moblin-2.6.29.1/linux-2.6.29-pnv-fix-i2c.patch')
-rw-r--r-- | meta-moblin/packages/linux/linux-moblin-2.6.29.1/linux-2.6.29-pnv-fix-i2c.patch | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/meta-moblin/packages/linux/linux-moblin-2.6.29.1/linux-2.6.29-pnv-fix-i2c.patch b/meta-moblin/packages/linux/linux-moblin-2.6.29.1/linux-2.6.29-pnv-fix-i2c.patch deleted file mode 100644 index 00a6cf481f..0000000000 --- a/meta-moblin/packages/linux/linux-moblin-2.6.29.1/linux-2.6.29-pnv-fix-i2c.patch +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | In IGD, DPCUNIT_CLOCK_GATE_DISABLE bit should be set, otherwise i2c | ||
2 | access will be wrong. | ||
3 | |||
4 | Signed-off-by: Shaohua Li <shaohua.li@intel.com> | ||
5 | --- | ||
6 | drivers/gpu/drm/i915/i915_reg.h | 1 + | ||
7 | drivers/gpu/drm/i915/intel_display.c | 5 +++++ | ||
8 | 2 files changed, 6 insertions(+) | ||
9 | |||
10 | Index: linux/drivers/gpu/drm/i915/i915_reg.h | ||
11 | =================================================================== | ||
12 | --- linux.orig/drivers/gpu/drm/i915/i915_reg.h 2009-03-16 14:18:27.000000000 +0800 | ||
13 | +++ linux/drivers/gpu/drm/i915/i915_reg.h 2009-03-16 14:28:09.000000000 +0800 | ||
14 | @@ -523,6 +523,7 @@ | ||
15 | #define DPLLA_INPUT_BUFFER_ENABLE (1 << 0) | ||
16 | #define D_STATE 0x6104 | ||
17 | #define CG_2D_DIS 0x6200 | ||
18 | +#define DPCUNIT_CLOCK_GATE_DISABLE (1 << 24) | ||
19 | #define CG_3D_DIS 0x6204 | ||
20 | |||
21 | /* | ||
22 | Index: linux/drivers/gpu/drm/i915/intel_display.c | ||
23 | =================================================================== | ||
24 | --- linux.orig/drivers/gpu/drm/i915/intel_display.c 2009-03-16 14:16:11.000000000 +0800 | ||
25 | +++ linux/drivers/gpu/drm/i915/intel_display.c 2009-03-16 14:27:46.000000000 +0800 | ||
26 | @@ -1545,6 +1545,11 @@ static void intel_setup_outputs(struct d | ||
27 | struct drm_i915_private *dev_priv = dev->dev_private; | ||
28 | struct drm_connector *connector; | ||
29 | |||
30 | + /* When using bit bashing for I2C, this bit needs to be set to 1 */ | ||
31 | + if (IS_IGD(dev)) | ||
32 | + I915_WRITE(CG_2D_DIS, | ||
33 | + I915_READ(CG_2D_DIS) | DPCUNIT_CLOCK_GATE_DISABLE); | ||
34 | + | ||
35 | intel_crt_init(dev); | ||
36 | |||
37 | /* Set up integrated LVDS */ | ||
38 | |||