Skip to contentSkip to conversation

Macbook Pro Retina display problems

PATCH Benoit Gschwind 2 participants 2 messages Aug 9, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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

drivers/gpu/drm/i915/intel_display.c +2 -1
@@ -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);

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

#1 lore raw

Benoit,

Great news.
I confirm it works. Thanks a bunch for finding the issue! Next step I guess is to make gmux work to be able to swicth the nvidia power off whenever we don't need it.
Cheers,
Francois

Dan, do you still need the register dumps (with C pipe)?

Quoted 14 lines · Benoit Gschwind

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.

Quoted 8 lines

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

Best regards
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx