Daniel Vetter | 27 Mar 09:18 2012
Picon

[PATCH] drm/i915: Add a dual link lvds quirk for MacBook Pro 8, 2

When booting with EFI, Apple botched this one up.

Tested-by: Austin Lund <austin.lund <at> gmail.com>
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=42842
Signed-Off-by: Daniel Vetter <daniel.vetter <at> ffwll.ch>
---
 drivers/gpu/drm/i915/intel_display.c |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index a7c2ddc..ae1d611 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
 <at>  <at>  -24,6 +24,7  <at>  <at> 
  *	Eric Anholt <eric <at> anholt.net>
  */

+#include <linux/dmi.h>
 #include <linux/cpufreq.h>
 #include <linux/module.h>
 #include <linux/input.h>
 <at>  <at>  -360,6 +361,24  <at>  <at>  static const intel_limit_t intel_limits_ironlake_display_port = {
 	.find_pll = intel_find_pll_ironlake_dp,
 };

+static int intel_dual_link_lvds_callback(const struct dmi_system_id *id)
+{
+	DRM_DEBUG_KMS("Forcing lvds to dual link mode on %s\n", id->ident);
+	return 1;
+}
(Continue reading)

Chris Wilson | 1 Apr 12:51 2012
Picon

Re: [PATCH] drm/i915: Add a dual link lvds quirk for MacBook Pro 8, 2

On Tue, 27 Mar 2012 09:18:20 +0200, Daniel Vetter <daniel.vetter <at> ffwll.ch> wrote:
> When booting with EFI, Apple botched this one up.
> 
> Tested-by: Austin Lund <austin.lund <at> gmail.com>
> Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=42842
> Signed-Off-by: Daniel Vetter <daniel.vetter <at> ffwll.ch>

I'm not impressed, but it seems to be a sad reality of the world.

I think the ident is both too lax and too specific. The Core i7 moniker
would seem to exclude the i5 processors Apple also uses, and the Pro
range is wide enough that there might be a model with a single-link
LVDS. I'm not sure if this will fix one machine only to break others.

Wider testing required.
-Chris

--

-- 
Chris Wilson, Intel Open Source Technology Centre

Gmane