diff options
author | Davidlohr Bueso <dave@gnu.org> | 2011-03-30 20:12:22 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-03-31 00:49:09 -0400 |
commit | e9c5db0b8dce1bcdc99ad26e718230810d6b5cff (patch) | |
tree | 667f48bf98bbbd2fb45bccf8d98d7f07dd2b22a1 /drivers/video/efifb.c | |
parent | 94e948e6e43cd34e0e2ca496d5e90e4ff0d884f9 (diff) |
efifb: support AMD Radeon HD 6490
This patch enables the framebuffer for the AMD Radeon 6490 found in the new MacBook Pro 8,2 generation.
The framebuffer's base is located at 0x90010000, the method for obtaining it was found in the same way mentioned in https://patchwork.kernel.org/patch/91704/
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Signed-off-by: Jonathan Gonzalez <zeus@gnu.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/video/efifb.c')
-rw-r--r-- | drivers/video/efifb.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/efifb.c b/drivers/video/efifb.c index 70477c2e4b61..a9645b86a623 100644 --- a/drivers/video/efifb.c +++ b/drivers/video/efifb.c | |||
@@ -64,6 +64,7 @@ enum { | |||
64 | M_MBP_6_1, /* MacBook Pro, 6,1th gen */ | 64 | M_MBP_6_1, /* MacBook Pro, 6,1th gen */ |
65 | M_MBP_6_2, /* MacBook Pro, 6,2th gen */ | 65 | M_MBP_6_2, /* MacBook Pro, 6,2th gen */ |
66 | M_MBP_7_1, /* MacBook Pro, 7,1th gen */ | 66 | M_MBP_7_1, /* MacBook Pro, 7,1th gen */ |
67 | M_MBP_8_2, /* MacBook Pro, 8,2nd gen */ | ||
67 | M_UNKNOWN /* placeholder */ | 68 | M_UNKNOWN /* placeholder */ |
68 | }; | 69 | }; |
69 | 70 | ||
@@ -100,6 +101,7 @@ static struct efifb_dmi_info { | |||
100 | [M_MBP_6_1] = { "mbp61", 0x90030000, 2048 * 4, 1920, 1200 }, | 101 | [M_MBP_6_1] = { "mbp61", 0x90030000, 2048 * 4, 1920, 1200 }, |
101 | [M_MBP_6_2] = { "mbp62", 0x90030000, 2048 * 4, 1680, 1050 }, | 102 | [M_MBP_6_2] = { "mbp62", 0x90030000, 2048 * 4, 1680, 1050 }, |
102 | [M_MBP_7_1] = { "mbp71", 0xc0010000, 2048 * 4, 1280, 800 }, | 103 | [M_MBP_7_1] = { "mbp71", 0xc0010000, 2048 * 4, 1280, 800 }, |
104 | [M_MBP_8_2] = { "mbp82", 0x90010000, 1472 * 4, 1440, 900 }, | ||
103 | [M_UNKNOWN] = { NULL, 0, 0, 0, 0 } | 105 | [M_UNKNOWN] = { NULL, 0, 0, 0, 0 } |
104 | }; | 106 | }; |
105 | 107 | ||
@@ -151,6 +153,7 @@ static const struct dmi_system_id dmi_system_table[] __initconst = { | |||
151 | EFIFB_DMI_SYSTEM_ID("Apple Inc.", "MacBookPro6,1", M_MBP_6_1), | 153 | EFIFB_DMI_SYSTEM_ID("Apple Inc.", "MacBookPro6,1", M_MBP_6_1), |
152 | EFIFB_DMI_SYSTEM_ID("Apple Inc.", "MacBookPro6,2", M_MBP_6_2), | 154 | EFIFB_DMI_SYSTEM_ID("Apple Inc.", "MacBookPro6,2", M_MBP_6_2), |
153 | EFIFB_DMI_SYSTEM_ID("Apple Inc.", "MacBookPro7,1", M_MBP_7_1), | 155 | EFIFB_DMI_SYSTEM_ID("Apple Inc.", "MacBookPro7,1", M_MBP_7_1), |
156 | EFIFB_DMI_SYSTEM_ID("Apple Inc.", "MacBookPro8,2", M_MBP_8_2), | ||
154 | {}, | 157 | {}, |
155 | }; | 158 | }; |
156 | 159 | ||