[PULL] drm-intel-fixes (drm/i915 driver)

From: Keith Packard
Date: Fri Dec 16 2011 - 12:39:17 EST



A few regression fixes:

* eDP panels with too few lanes need 6bpc modes
* older machine backlights going black
* divide-by-zero crash when reading a /sys file

Quirks for a couple of machines:

* No lvds panel on a desktop ASUS machine
* Light up the second LVDS on the Libretto W105

Two more Ivybridge changes:

* Use Multi-threaded force-wake where enabled by the BIOS
* Light up eDP panels

Finally, this enables RC6 and semaphores, unconditionally on Ivybridge.
On Sandybridge, these are enabled when VTd isn't in use. We've been
wanting to do this for a long time, and instead of turning this on for
RC1 and hoping things worked out, we spent time working directly with
people who reported problems and discovered that RC6 and Semaphores
cannot be enabled when VTd is in use (even VTd for non-gfx devices).

There's a patch here which exports a value from the iommu code letting
us know when VTd is active so that RC6 and semaphores can be
disabled. That patch has been ok'd by David Woodhouse, although he's not
very happy about it. Matthew Garrett wanted to write a second patch that
disabled VTd by default on SNB machines, which would enable RC6 and
semaphores more often.

The following changes since commit f10cdea68b70bd85706baed0decab59618f9c353:

Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-ktest (2011-11-23 09:50:42 -0800)

are available in the git repository at:

git://people.freedesktop.org/~keithp/linux drm-intel-fixes

Adam Jackson (2):
drm/i915: no-lvds quirk for ASUS AT5NM10T-I
drm/i915/dp: Dither down to 6bpc if it makes the mode fit

Chris Wilson (1):
drm/i915/sdvo: Include LVDS panels for the IS_DIGITAL check

Eugeni Dodonov (3):
drm/i915: prevent division by zero when asking for chipset power
iommu: Export intel_iommu_enabled to signal when iommu is in use
drm/i915: enable semaphores on per-device defaults

Jesse Barnes (1):
drm/i915: don't set unpin_work if vblank_get fails

Keith Packard (4):
drm/i915: add multi-threaded forcewake support
drm/i915: Hook up Ivybridge eDP
drm/i915: Treat pre-gen4 backlight duty cycle value consistently
drm/i915: By default, enable RC6 on IVB and SNB when reasonable

Paulo Zanoni (2):
drm/i915: set the right SDVO transcoder for CPT
drm/i915: add PCH info to i915_capabilities

drivers/gpu/drm/i915/i915_debugfs.c | 1 +
drivers/gpu/drm/i915/i915_dma.c | 10 ++
drivers/gpu/drm/i915/i915_drv.c | 43 ++++++--
drivers/gpu/drm/i915/i915_drv.h | 18 +++-
drivers/gpu/drm/i915/i915_gem_execbuffer.c | 19 +++-
drivers/gpu/drm/i915/i915_reg.h | 30 ++++-
drivers/gpu/drm/i915/intel_display.c | 89 +++++++++++++--
drivers/gpu/drm/i915/intel_dp.c | 173 +++++++++++++++++++++-------
drivers/gpu/drm/i915/intel_drv.h | 1 +
drivers/gpu/drm/i915/intel_lvds.c | 8 ++
drivers/gpu/drm/i915/intel_panel.c | 16 +--
drivers/gpu/drm/i915/intel_sdvo.c | 36 ++++--
drivers/iommu/intel-iommu.c | 5 +
include/linux/dma_remapping.h | 2 +
14 files changed, 361 insertions(+), 90 deletions(-)


--
keith.packard@xxxxxxxxx

Attachment: pgp00000.pgp
Description: PGP signature