From patchwork Tue Apr 19 19:50:01 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Lutomirski X-Patchwork-Id: 718881 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p3JJteWu008688 for ; Tue, 19 Apr 2011 19:56:07 GMT Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 240079E9B2 for ; Tue, 19 Apr 2011 12:55:40 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Tue, 19 Apr 2011 19:56:09 +0000 (UTC) X-Greylist: delayed 301 seconds by postgrey-1.31 at gabe; Tue, 19 Apr 2011 12:55:21 PDT Received: from dmz-mailsec-scanner-8.mit.edu (DMZ-MAILSEC-SCANNER-8.MIT.EDU [18.7.68.37]) by gabe.freedesktop.org (Postfix) with ESMTP id 13BC29E7C6 for ; Tue, 19 Apr 2011 12:55:20 -0700 (PDT) X-AuditID: 12074425-b7c8cae00000429f-a2-4dade78b4b4f Received: from mailhub-auth-3.mit.edu ( [18.9.21.43]) by dmz-mailsec-scanner-8.mit.edu (Symantec Messaging Gateway) with SMTP id 69.CD.17055.B87EDAD4; Tue, 19 Apr 2011 15:50:35 -0400 (EDT) Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by mailhub-auth-3.mit.edu (8.13.8/8.9.2) with ESMTP id p3JJoI9O017840; Tue, 19 Apr 2011 15:50:19 -0400 Received: from localhost ([18.111.49.87]) (authenticated bits=0) (User authenticated as luto@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id p3JJoEPn011565 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Tue, 19 Apr 2011 15:50:18 -0400 (EDT) From: Andy Lutomirski To: Jesse Barnes Date: Tue, 19 Apr 2011 15:50:01 -0400 Message-Id: <9ede551cc3ae3eb946c3466d283d056bb59fddc1.1303242380.git.luto@mit.edu> X-Mailer: git-send-email 1.7.4.2 In-Reply-To: <1303240361-6057-1-git-send-email-jbarnes@virtuousgeek.org> References: <1303240361-6057-1-git-send-email-jbarnes@virtuousgeek.org> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrGIsWRmVeSWpSXmKPExsUixCmqrdv9fK2vQedkPYu+K0fZLWZP2Mxk 8ejMSXYHZo+ds+6ye9zvPs7k8e3rXqYA5igum5TUnMyy1CJ9uwSujMcnulgLrnBWrF3ziLmB 8QZ7FyMnh4SAicSa03NZIWwxiQv31rN1MXJxCAnsY5S4uuwClLOBUWLV87tMEM5KJokLvUfB WtgEVCQ6lj5gArFFBLQlfsw5yQhiMws4S6xqmwlmCwvoSNw6sAyshkVAVWLx9O1sIDavQJDE ob/NLBCrFSR6lr4Hq+cU8JD4c/sUUJwDaJm7xJntyhMY+RYwMqxilE3JrdLNTczMKU5N1i1O TszLSy3StdDLzSzRS00p3cQICiJ2F9UdjBMOKR1iFOBgVOLhrV211leINbGsuDL3EKMkB5OS KG/jU6AQX1J+SmVGYnFGfFFpTmrxIUYJDmYlEV6RZUA53pTEyqrUonyYlDQHi5I473xJdV8h gfTEktTs1NSC1CKYrAwHh5IEr90zoEbBotT01Iq0zJwShDQTByfIcB6g4atBaniLCxJzizPT IfKnGHU5mn6+38coxJKXn5cqJc5bD1IkAFKUUZoHNwcW/a8YxYHeEuYtBKniASYOuEmvgJYw AS2JtVkDsqQkESEl1cC42kDF4s6p6yuD9pzJfbbikd351/2hNcd23Q61OGU+RZRXu2LOMmGF M9zPQ59efPN9XvEfn48Knu0blPYXzYlZ+zN55ankTXz1e6caqPbc/8E/X33vpTnCR1McXKuW /TmZteQW6+nm2luLVjfp/Tg4Y5rvO/4DSbtf8ivcLt+mlXzpH99qlTz5CCWW4oxEQy3mouJE AMVs4dHZAgAA Cc: intel-gfx@lists.freedesktop.org Subject: [Intel-gfx] [ANCIENT PATCH] Enable 30-bit depth X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 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 Signed-off-by: Andy Lutomirski --- This patch is over a year old, caused problems, and probably doesn't even apply anymore. It worked at least a little bit, though. There's a lot more that needs doing, especially in relation to DirectColor mode. src/intel_driver.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/intel_driver.c b/src/intel_driver.c index 1ef16ed..99d32b8 100644 --- a/src/intel_driver.c +++ b/src/intel_driver.c @@ -372,10 +372,10 @@ static void intel_check_dri_option(ScrnInfoPtr scrn) if (!xf86ReturnOptValBool(intel->Options, OPTION_DRI, TRUE)) intel->directRenderingType = DRI_DISABLED; - if (scrn->depth != 16 && scrn->depth != 24) { + if (scrn->depth != 16 && scrn->depth != 24 && scrn->depth != 30) { xf86DrvMsg(scrn->scrnIndex, X_CONFIG, "DRI is disabled because it " - "runs only at depths 16 and 24.\n"); + "runs only at depths 16, 24, and 30.\n"); intel->directRenderingType = DRI_DISABLED; } } @@ -570,6 +570,7 @@ static Bool I830PreInit(ScrnInfoPtr scrn, int flags) case 15: case 16: case 24: + case 30: break; default: xf86DrvMsg(scrn->scrnIndex, X_ERROR,