public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] video: mbp_nvidia_bl: add support for MacBookAir 1,1
@ 2009-08-23 15:18 Henrik Rydberg
  2009-08-23 17:36 ` Matthew Garrett
  0 siblings, 1 reply; 2+ messages in thread
From: Henrik Rydberg @ 2009-08-23 15:18 UTC (permalink / raw)
  To: Richard Purdie
  Cc: mjg, Andrew Morton, Mario Schwalbe, linux-kernel, Henrik Rydberg

This patch adds LCD backlight support for the Intel GMA965
found in the MacBookAir 1,1.

Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
---
 drivers/video/backlight/mbp_nvidia_bl.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/drivers/video/backlight/mbp_nvidia_bl.c b/drivers/video/backlight/mbp_nvidia_bl.c
index 3bb4c0a..9fc7a53 100644
--- a/drivers/video/backlight/mbp_nvidia_bl.c
+++ b/drivers/video/backlight/mbp_nvidia_bl.c
@@ -166,6 +166,15 @@ static const struct dmi_system_id __initdata mbp_device_table[] = {
 	},
 	{
 		.callback	= mbp_dmi_match,
+		.ident		= "MacBookAir 1,1",
+		.matches	= {
+			DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "MacBookAir1,1"),
+		},
+		.driver_data	= (void *)&intel_chipset_data,
+	},
+	{
+		.callback	= mbp_dmi_match,
 		.ident		= "MacBook 5,1",
 		.matches	= {
 			DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."),
-- 
1.6.3.3


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] video: mbp_nvidia_bl: add support for MacBookAir 1,1
  2009-08-23 15:18 [PATCH] video: mbp_nvidia_bl: add support for MacBookAir 1,1 Henrik Rydberg
@ 2009-08-23 17:36 ` Matthew Garrett
  0 siblings, 0 replies; 2+ messages in thread
From: Matthew Garrett @ 2009-08-23 17:36 UTC (permalink / raw)
  To: Henrik Rydberg
  Cc: Richard Purdie, Andrew Morton, Mario Schwalbe, linux-kernel

On Sun, Aug 23, 2009 at 05:18:04PM +0200, Henrik Rydberg wrote:
> This patch adds LCD backlight support for the Intel GMA965
> found in the MacBookAir 1,1.

Acked-by: Matthew Garrett <mjg@redhat.com>

With the proviso that this should probably be disabled once the i915 drm 
grows a proper backlight driver.

-- 
Matthew Garrett | mjg59@srcf.ucam.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-08-23 17:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-23 15:18 [PATCH] video: mbp_nvidia_bl: add support for MacBookAir 1,1 Henrik Rydberg
2009-08-23 17:36 ` Matthew Garrett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox