All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915: Add Sony VGN-BZ12VN to ACPI LID quirk list
@ 2010-03-19 15:30 Hubert Hesse
  2010-03-24 19:43 ` Eric Anholt
  0 siblings, 1 reply; 2+ messages in thread
From: Hubert Hesse @ 2010-03-19 15:30 UTC (permalink / raw)
  To: David Airlie, dri-devel; +Cc: akpm

Hi there,

I'm referring to my Bugreport 15473.

I wanted to use KMS with the latest kernel on my Sony VGN-BZ12VN.
Similiar to Bug 14649 and 14554 `cat /proc/acpi/button/lid/LID0/state`
always reports "state: closed" to me. 
A blank screen is the result for me, when booting with KMS enabled.

I figured out to add my Laptop to the ACPI LID quirk list.
Sorry for the double post. Its the first time I hand in a patch. 

So here it comes:


The Sony Vaio VGN-BZ12VN laptop always reports the LID
status as closed, therefore add it into the acpi lid quirk list.

http://bugzilla.kernel.org/show_bug.cgi?id=15473

Signed-off-by: Hubert Hesse <linux@hubertscorner.de>

thanks, hub
--


diff -up linux-2.6.33/drivers/gpu/drm/i915/intel_lvds.c.orig
linux-2.6.33/drivers/gpu/drm/i915/intel_lvds.c ---
linux-2.6.33/drivers/gpu/drm/i915/intel_lvds.c.orig	2010-03-07
23:24:59.760927249 +0100 +++
linux-2.6.33/drivers/gpu/drm/i915/intel_lvds.c	2010-03-18
21:18:57.345633051 +0100 @@ -610,6 +610,13 @@ static void
intel_lvds_mode_set(struct d /* Some lid devices report incorrect lid
status, assume they're connected */ static const struct dmi_system_id
bad_lid_status[] = { {
+		.ident = "Sony VGN-BZ12VN",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "VGN-BZ12VN"),
+		},
+	},
+	{
 		.ident = "Compaq nx9020",
 		.matches = {
 			DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--

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

* Re: [PATCH] drm/i915: Add Sony VGN-BZ12VN to ACPI LID quirk list
  2010-03-19 15:30 [PATCH] drm/i915: Add Sony VGN-BZ12VN to ACPI LID quirk list Hubert Hesse
@ 2010-03-24 19:43 ` Eric Anholt
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Anholt @ 2010-03-24 19:43 UTC (permalink / raw)
  To: Hubert Hesse, David Airlie, dri-devel; +Cc: akpm


[-- Attachment #1.1: Type: text/plain, Size: 648 bytes --]

On Fri, 19 Mar 2010 16:30:48 +0100, Hubert Hesse <linux@hubertscorner.de> wrote:
> Hi there,
> 
> I'm referring to my Bugreport 15473.
> 
> I wanted to use KMS with the latest kernel on my Sony VGN-BZ12VN.
> Similiar to Bug 14649 and 14554 `cat /proc/acpi/button/lid/LID0/state`
> always reports "state: closed" to me. 
> A blank screen is the result for me, when booting with KMS enabled.
> 
> I figured out to add my Laptop to the ACPI LID quirk list.
> Sorry for the double post. Its the first time I hand in a patch. 

In place of more quirk patches, I've pushed the patch removing the use
of ACPI LID status for LVDS detection.

[-- Attachment #1.2: Type: application/pgp-signature, Size: 197 bytes --]

[-- Attachment #2: Type: text/plain, Size: 345 bytes --]

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev

[-- Attachment #3: Type: text/plain, Size: 161 bytes --]

--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

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

end of thread, other threads:[~2010-03-24 19:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-19 15:30 [PATCH] drm/i915: Add Sony VGN-BZ12VN to ACPI LID quirk list Hubert Hesse
2010-03-24 19:43 ` Eric Anholt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.