]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/i915: workaround IGD i2c bus issue in kernel side (v2)
authorShaohua Li <shaohua.li@intel.com>
Tue, 7 Apr 2009 03:02:28 +0000 (11:02 +0800)
committerEric Anholt <eric@anholt.net>
Thu, 14 May 2009 23:00:26 +0000 (16:00 -0700)
commit0ba0e9e1f173a59ba402a253d356612c821b7a14
tree942e1852a2beb7b0ad020c935a4fd18d3d750553
parent13f4c435ebf2a7c150ffa714f3b23b8e4e8cb42f
drm/i915: workaround IGD i2c bus issue in kernel side (v2)

In IGD, DPCUNIT_CLOCK_GATE_DISABLE bit should be set, otherwise i2c
access will be wrong.

v2: Disable CLOCK_GATE_DISABLE bit after bit bashing as suggested by Eric.

Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_i2c.c
drivers/gpu/drm/i915/intel_modes.c