From patchwork Thu Aug 9 20:09:23 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benoit Gschwind X-Patchwork-Id: 1302841 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork1.kernel.org (Postfix) with ESMTP id 460C53FC23 for ; Thu, 9 Aug 2012 20:12:02 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0E3759E9BF for ; Thu, 9 Aug 2012 13:12:02 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from slow3-v.mail.gandi.net (slow3-v.mail.gandi.net [217.70.178.89]) by gabe.freedesktop.org (Postfix) with ESMTP id 530BFA0F1C for ; Thu, 9 Aug 2012 13:11:16 -0700 (PDT) X-Policy: 217.70.183.196 is whitelisted X-Policy: 217.70.183.196 is whitelisted Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by slow3-v.mail.gandi.net (Postfix) with ESMTP id B2B3939347 for ; Thu, 9 Aug 2012 22:09:26 +0200 (CEST) X-Originating-IP: 217.70.178.133 Received: from mfilter3-d.gandi.net (mfilter3-d.gandi.net [217.70.178.133]) by relay4-d.mail.gandi.net (Postfix) with ESMTP id D9170172089 for ; Thu, 9 Aug 2012 22:09:24 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter3-d.gandi.net Received: from relay4-d.mail.gandi.net ([217.70.183.196]) by mfilter3-d.gandi.net (mfilter3-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id 1QabgXonYlU1 for ; Thu, 9 Aug 2012 22:09:23 +0200 (CEST) X-Originating-IP: 93.1.143.174 Received: from [10.0.0.5] (174.143.1.93.rev.sfr.net [93.1.143.174]) (Authenticated sender: gschwind@gnu-log.net) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 8B913172070 for ; Thu, 9 Aug 2012 22:09:23 +0200 (CEST) Message-ID: <502418F3.4050607@gnu-log.net> Date: Thu, 09 Aug 2012 22:09:23 +0200 From: Benoit Gschwind User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.6esrpre) Gecko/20120808 Thunderbird/10.0.6 MIME-Version: 1.0 To: intel-gfx@lists.freedesktop.org Subject: [Intel-gfx] Macbook Pro Retina display problems X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org 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 --- 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);