[PATCH 00/15] drm/i915: Fix 830M/ns2501 for real, well almost

ville.syrjala
2014-06-05T16:16:14Z

From: Ville Syrjälä <ville.syrjala@linux.intel.com>

Since the 830M dragon popped up again, I figured I'd dig out my old patches
that try to fix it.

I ended up reworking the primary plane code a bit also to eliminate the
DSPCNTR/DSPADDR RMW accesses since those are dangerous on 830M. But I think
the end result is more in line where we want to go anyway with the primary
planes anyway.

This has been tested on my Lifebook S6010 and this is the first time two
displays work reliably on this thing. Additionally we still need the minimum
watermark fix, for now I just used a hack (didn't include it here).
The only thing that doesn't work is suspend to ram. It suspends but won't
wake up, but that happens w/o i915 also so I can't take the blame for that.

I pushed the lot to [1] and the watermark hack is included there as well.

[1] git://gitorious.org/vsyrjala/linux.git alm_fixes4

Ville Syrjälä (15):
drm/i915: Use named initializers for gmch wm params
drm/i915: Fix gen2 planes B and C max watermark value
drm/i915: Don't get hw state from DVO chip unless DVO is enabled
drm/i915: ns2501 is on DVOB
drm/i915: Enable DVO between mode_set and dpms hooks
drm/i915: Don't call DVO mode_set hook on DPMS changes
drm/i915: Kill useless ns2501_dump_regs
drm/i915: Rewrite ns2501 driver a bit
drm/i915: Ignore VBT int_crt_support on 830M
drm/i915: Fix DVO 2x clock enable on 830M
Revert "drm/i915: Nuke pipe A quirk on i830M"
drm/i915: Add pipe B force quirk for 830M
drm/i915: Eliminate rmw from .update_primary_plane()
drm/i915: Call .update_primary_plane in
intel_{enable,disable}_primary_hw_plane()
drm/i915: Check pixel clock in ns2501 mode_valid hook

drivers/gpu/drm/i915/dvo_ns2501.c | 552 +++++++++++++++++++++--------------
drivers/gpu/drm/i915/i915_drv.h | 4 +
drivers/gpu/drm/i915/intel_display.c | 310 ++++++++++----------
drivers/gpu/drm/i915/intel_dvo.c | 19 +-
drivers/gpu/drm/i915/intel_pm.c | 154 +++++-----
5 files changed, 580 insertions(+), 459 deletions(-)

--
1.8.5.5

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org