public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Benoit Gschwind <gschwind@gnu-log.net>
To: intel-gfx@lists.freedesktop.org
Subject: Macbook Pro Retina display problems
Date: Thu, 09 Aug 2012 22:09:23 +0200	[thread overview]
Message-ID: <502418F3.4050607@gnu-log.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 447 bytes --]

Hello,

If find a workaround to video corruption for intel gpu on macbook pro
retina.

the work around work as follow :

- patch the kernel 3.5.1 with attached patch
- that OS X and switch to intgrated gpu only with:
  http://codykrieger.com/gfxCardStatus
- reboot with the patched kernel

I did not try it in BIOS mode, I use it on EFI mode only.

The patch point out the fact that bit-per-pixel of panel is not detected
correctly.

Best regards

[-- Attachment #2: 0001-fix_intel_on_macbook_pro_retina.patch.txt --]
[-- Type: text/plain, Size: 564 bytes --]

--- linux-3.5.1.orig/drivers/gpu/drm/i915/intel_display.c	2012-08-09 17:23:56.000000000 +0200
+++ linux-3.5.1/drivers/gpu/drm/i915/intel_display.c	2012-08-09 21:13:43.146996673 +0200
@@ -3583,7 +3583,8 @@
 
 		if (intel_encoder->type == INTEL_OUTPUT_EDP) {
 			/* Use VBT settings if we have an eDP panel */
-			unsigned int edp_bpc = dev_priv->edp.bpp / 3;
+			//unsigned int edp_bpc = dev_priv->edp.bpp / 3;
+			unsigned int edp_bpc = 8;
 
 			if (edp_bpc < display_bpc) {
 				DRM_DEBUG_KMS("clamping display bpc (was %d) to eDP (%d)\n", display_bpc, edp_bpc);

[-- Attachment #3: Type: text/plain, Size: 159 bytes --]

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

             reply	other threads:[~2012-08-09 20:11 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-09 20:09 Benoit Gschwind [this message]
2012-08-09 23:01 ` Macbook Pro Retina display problems Francois Rigaut
  -- strict thread matches above, loose matches on Subject: below --
2012-07-30 22:33 Greg KH
2012-07-31  2:06 ` Dave Airlie
2012-07-31  3:41   ` Greg KH
2012-07-31  5:00     ` Dave Airlie
2012-07-31 23:38       ` Greg KH
2012-08-03 23:29         ` Keith Packard
2012-08-03 23:36           ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=502418F3.4050607@gnu-log.net \
    --to=gschwind@gnu-log.net \
    --cc=intel-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox