From patchwork Thu Mar 31 00:12:22 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Davidlohr Bueso X-Patchwork-Id: 678061 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p2V0DDAD030791 for ; Thu, 31 Mar 2011 00:13:14 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755027Ab1CaANM (ORCPT ); Wed, 30 Mar 2011 20:13:12 -0400 Received: from hapkido.dreamhost.com ([66.33.216.122]:33557 "EHLO hapkido.dreamhost.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754600Ab1CaANL (ORCPT ); Wed, 30 Mar 2011 20:13:11 -0400 Received: from homiemail-a62.g.dreamhost.com (mx1.spunky.mail.dreamhost.com [208.97.132.47]) by hapkido.dreamhost.com (Postfix) with ESMTP id 6C74B17E106; Wed, 30 Mar 2011 17:13:10 -0700 (PDT) Received: from homiemail-a62.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a62.g.dreamhost.com (Postfix) with ESMTP id F1ED663407C; Wed, 30 Mar 2011 17:12:30 -0700 (PDT) Received: from [186.10.52.133] (unknown [186.10.52.133]) (Authenticated sender: smtp@zesaurus.cl) by homiemail-a62.g.dreamhost.com (Postfix) with ESMTPA id 0BA76634075; Wed, 30 Mar 2011 17:12:28 -0700 (PDT) Subject: [PATCH] efifb: support AMD Radeon HD 6490 From: Davidlohr Bueso To: Peter Jones , linux-fbdev@vger.kernel.org Cc: LKML , zeus@gnu.org Date: Wed, 30 Mar 2011 21:12:22 -0300 Message-ID: <1301530342.2140.2.camel@offworld> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Thu, 31 Mar 2011 00:13:14 +0000 (UTC) diff --git a/drivers/video/efifb.c b/drivers/video/efifb.c index 70477c2..a9645b8 100644 --- a/drivers/video/efifb.c +++ b/drivers/video/efifb.c @@ -64,6 +64,7 @@ enum { M_MBP_6_1, /* MacBook Pro, 6,1th gen */ M_MBP_6_2, /* MacBook Pro, 6,2th gen */ M_MBP_7_1, /* MacBook Pro, 7,1th gen */ + M_MBP_8_2, /* MacBook Pro, 8,2nd gen */ M_UNKNOWN /* placeholder */ }; @@ -100,6 +101,7 @@ static struct efifb_dmi_info { [M_MBP_6_1] = { "mbp61", 0x90030000, 2048 * 4, 1920, 1200 }, [M_MBP_6_2] = { "mbp62", 0x90030000, 2048 * 4, 1680, 1050 }, [M_MBP_7_1] = { "mbp71", 0xc0010000, 2048 * 4, 1280, 800 }, + [M_MBP_8_2] = { "mbp82", 0x90010000, 1472 * 4, 1440, 900 }, [M_UNKNOWN] = { NULL, 0, 0, 0, 0 } }; @@ -151,6 +153,7 @@ static const struct dmi_system_id dmi_system_table[] __initconst = { EFIFB_DMI_SYSTEM_ID("Apple Inc.", "MacBookPro6,1", M_MBP_6_1), EFIFB_DMI_SYSTEM_ID("Apple Inc.", "MacBookPro6,2", M_MBP_6_2), EFIFB_DMI_SYSTEM_ID("Apple Inc.", "MacBookPro7,1", M_MBP_7_1), + EFIFB_DMI_SYSTEM_ID("Apple Inc.", "MacBookPro8,2", M_MBP_8_2), {}, };