* [PATCH 0/2] blacklist lid status: Sony VGN-BX196VP and Elite Co.
[not found] <89k83ahv05c@azsmga001.ch.intel.com>
@ 2010-03-15 19:32 ` Surbhi Palande
2010-03-15 19:32 ` [PATCH 1/2] drm/i915: blacklist lid status: Sony VGN-BX196VP Surbhi Palande
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Surbhi Palande @ 2010-03-15 19:32 UTC (permalink / raw)
To: dri-devel
Cc: Chris Wilson, Eric Anholt, linux-kernel, airlied, yakui.zhao,
jbarnes, zhenyuw
The following two patches are quirks that blacklist bios which report
incorrect lid status. These are bioses for machines with a 900 GM.
The first one is tested by Ubuntu users and the second one isn't.
Further testing will be appreciated.
Surbhi Palande (2):
drm/i915: blacklist lid status: Sony VGN-BX196VP
drm/i915: blacklist lid status: Elite Co. G335
drivers/gpu/drm/i915/intel_lvds.c | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 1/2] drm/i915: blacklist lid status: Sony VGN-BX196VP
2010-03-15 19:32 ` [PATCH 0/2] blacklist lid status: Sony VGN-BX196VP and Elite Co Surbhi Palande
@ 2010-03-15 19:32 ` Surbhi Palande
2010-03-15 19:33 ` [PATCH 2/2] drm/i915: blacklist lid status: Elite Co. G335 Surbhi Palande
2010-03-19 19:53 ` ACPI _LID failures Jesse Barnes
2 siblings, 0 replies; 7+ messages in thread
From: Surbhi Palande @ 2010-03-15 19:32 UTC (permalink / raw)
To: dri-devel
Cc: Chris Wilson, Eric Anholt, linux-kernel, airlied, yakui.zhao,
jbarnes, zhenyuw, stable
BugLink: http://launchpad.net/bug/515246
Sony VGN-BX196VP reports the lid status as closed when it is open. This
leads to a "no connectors reported" error at startup. Blacklisting
it to always return a connected status for the default lvds connector.
Signed-off-by: Surbhi Palande <surbhi.palande@canonical.com>
---
drivers/gpu/drm/i915/intel_lvds.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/drivers/gpu/drm/i915/intel_lvds.c b/drivers/gpu/drm/i915/intel_lvds.c
index c2e8a45..afd0ee7 100644
--- a/drivers/gpu/drm/i915/intel_lvds.c
+++ b/drivers/gpu/drm/i915/intel_lvds.c
@@ -643,6 +643,13 @@ static const struct dmi_system_id bad_lid_status[] = {
DMI_MATCH(DMI_BOARD_NAME, "M5x0N"),
},
},
+ {
+ .ident = "Sony VGN-BX196VP",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"),
+ DMI_MATCH(DMI_BOARD_NAME, "VGN-BX196VP"),
+ },
+ },
{ }
};
--
1.6.3.3
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 2/2] drm/i915: blacklist lid status: Elite Co. G335
2010-03-15 19:32 ` [PATCH 0/2] blacklist lid status: Sony VGN-BX196VP and Elite Co Surbhi Palande
2010-03-15 19:32 ` [PATCH 1/2] drm/i915: blacklist lid status: Sony VGN-BX196VP Surbhi Palande
@ 2010-03-15 19:33 ` Surbhi Palande
2010-03-19 19:53 ` ACPI _LID failures Jesse Barnes
2 siblings, 0 replies; 7+ messages in thread
From: Surbhi Palande @ 2010-03-15 19:33 UTC (permalink / raw)
To: dri-devel
Cc: Chris Wilson, Eric Anholt, linux-kernel, airlied, yakui.zhao,
jbarnes, zhenyuw, stable
BugLink: http://launchpad.net/bug/515246
Elite Computers G335 reports the lid status as closed when it is open. This
leads to a "no connectors reported" error at startup. Blacklisting
it to always return a connected status for the default lvds connector.
Signed-off-by: Surbhi Palande <surbhi.palande@canonical.com>
---
drivers/gpu/drm/i915/intel_lvds.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/drivers/gpu/drm/i915/intel_lvds.c b/drivers/gpu/drm/i915/intel_lvds.c
index afd0ee7..b75a941 100644
--- a/drivers/gpu/drm/i915/intel_lvds.c
+++ b/drivers/gpu/drm/i915/intel_lvds.c
@@ -650,6 +650,13 @@ static const struct dmi_system_id bad_lid_status[] = {
DMI_MATCH(DMI_BOARD_NAME, "VGN-BX196VP"),
},
},
+ {
+ .ident = "Elitegroup ECS G335",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Elitegroup Co."),
+ DMI_MATCH(DMI_BOARD_NAME, "ECS G335"),
+ },
+ },
{ }
};
--
1.6.3.3
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: ACPI _LID failures
2010-03-15 19:32 ` [PATCH 0/2] blacklist lid status: Sony VGN-BX196VP and Elite Co Surbhi Palande
2010-03-15 19:32 ` [PATCH 1/2] drm/i915: blacklist lid status: Sony VGN-BX196VP Surbhi Palande
2010-03-15 19:33 ` [PATCH 2/2] drm/i915: blacklist lid status: Elite Co. G335 Surbhi Palande
@ 2010-03-19 19:53 ` Jesse Barnes
2010-03-19 20:53 ` Eric Anholt
2 siblings, 1 reply; 7+ messages in thread
From: Jesse Barnes @ 2010-03-19 19:53 UTC (permalink / raw)
To: Surbhi Palande
Cc: dri-devel, Chris Wilson, Eric Anholt, linux-kernel, airlied,
yakui.zhao, zhenyuw, Len Brown
On Mon, 15 Mar 2010 21:32:41 +0200
Surbhi Palande <surbhi.palande@canonical.com> wrote:
> The following two patches are quirks that blacklist bios which report
> incorrect lid status. These are bioses for machines with a 900 GM.
> The first one is tested by Ubuntu users and the second one isn't.
> Further testing will be appreciated.
>
>
> Surbhi Palande (2):
> drm/i915: blacklist lid status: Sony VGN-BX196VP
> drm/i915: blacklist lid status: Elite Co. G335
>
> drivers/gpu/drm/i915/intel_lvds.c | 14 ++++++++++++++
> 1 files changed, 14 insertions(+), 0 deletions(-)
Patches look ok to me. Len was curious about whether some recent ACPI
EC fixes will fix some of our lid detection bugs though.
Len, is there any particular patch or version people should try?
Thanks,
--
Jesse Barnes, Intel Open Source Technology Center
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ACPI _LID failures
2010-03-19 19:53 ` ACPI _LID failures Jesse Barnes
@ 2010-03-19 20:53 ` Eric Anholt
2010-03-19 21:05 ` Jesse Barnes
0 siblings, 1 reply; 7+ messages in thread
From: Eric Anholt @ 2010-03-19 20:53 UTC (permalink / raw)
To: Jesse Barnes, Surbhi Palande
Cc: dri-devel, Chris Wilson, linux-kernel, airlied, yakui.zhao,
zhenyuw, Len Brown
[-- Attachment #1: Type: text/plain, Size: 1123 bytes --]
On Fri, 19 Mar 2010 12:53:20 -0700, Jesse Barnes <jbarnes@virtuousgeek.org> wrote:
> On Mon, 15 Mar 2010 21:32:41 +0200
> Surbhi Palande <surbhi.palande@canonical.com> wrote:
>
> > The following two patches are quirks that blacklist bios which report
> > incorrect lid status. These are bioses for machines with a 900 GM.
> > The first one is tested by Ubuntu users and the second one isn't.
> > Further testing will be appreciated.
> >
> >
> > Surbhi Palande (2):
> > drm/i915: blacklist lid status: Sony VGN-BX196VP
> > drm/i915: blacklist lid status: Elite Co. G335
> >
> > drivers/gpu/drm/i915/intel_lvds.c | 14 ++++++++++++++
> > 1 files changed, 14 insertions(+), 0 deletions(-)
>
> Patches look ok to me. Len was curious about whether some recent ACPI
> EC fixes will fix some of our lid detection bugs though.
>
> Len, is there any particular patch or version people should try?
Unless ACPI is going to magically become more reliable at the lid
method, I think we should abandon using it on generations where it
fails. See other patch I submitted -- anyone care to ack it?
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ACPI _LID failures
2010-03-19 20:53 ` Eric Anholt
@ 2010-03-19 21:05 ` Jesse Barnes
2010-03-19 21:12 ` Matthew Garrett
0 siblings, 1 reply; 7+ messages in thread
From: Jesse Barnes @ 2010-03-19 21:05 UTC (permalink / raw)
To: Eric Anholt
Cc: Surbhi Palande, dri-devel, Chris Wilson, linux-kernel, airlied,
yakui.zhao, zhenyuw, Len Brown
On Fri, 19 Mar 2010 13:53:10 -0700
Eric Anholt <eric@anholt.net> wrote:
> On Fri, 19 Mar 2010 12:53:20 -0700, Jesse Barnes <jbarnes@virtuousgeek.org> wrote:
> > On Mon, 15 Mar 2010 21:32:41 +0200
> > Surbhi Palande <surbhi.palande@canonical.com> wrote:
> >
> > > The following two patches are quirks that blacklist bios which report
> > > incorrect lid status. These are bioses for machines with a 900 GM.
> > > The first one is tested by Ubuntu users and the second one isn't.
> > > Further testing will be appreciated.
> > >
> > >
> > > Surbhi Palande (2):
> > > drm/i915: blacklist lid status: Sony VGN-BX196VP
> > > drm/i915: blacklist lid status: Elite Co. G335
> > >
> > > drivers/gpu/drm/i915/intel_lvds.c | 14 ++++++++++++++
> > > 1 files changed, 14 insertions(+), 0 deletions(-)
> >
> > Patches look ok to me. Len was curious about whether some recent ACPI
> > EC fixes will fix some of our lid detection bugs though.
> >
> > Len, is there any particular patch or version people should try?
>
> Unless ACPI is going to magically become more reliable at the lid
> method, I think we should abandon using it on generations where it
> fails. See other patch I submitted -- anyone care to ack it?
Well, that was the hope. Len said they've fixed EC bugs in the past
only to find that several ACPI methods they assumed were broken
suddenly started working....
--
Jesse Barnes, Intel Open Source Technology Center
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ACPI _LID failures
2010-03-19 21:05 ` Jesse Barnes
@ 2010-03-19 21:12 ` Matthew Garrett
0 siblings, 0 replies; 7+ messages in thread
From: Matthew Garrett @ 2010-03-19 21:12 UTC (permalink / raw)
To: Jesse Barnes
Cc: Eric Anholt, Surbhi Palande, dri-devel, Chris Wilson,
linux-kernel, airlied, yakui.zhao, zhenyuw, Len Brown
On Fri, Mar 19, 2010 at 02:05:03PM -0700, Jesse Barnes wrote:
> Well, that was the hope. Len said they've fixed EC bugs in the past
> only to find that several ACPI methods they assumed were broken
> suddenly started working....
The broken Acer was reading from the wrong registers. I think that's
pretty strong evidence that Windows doesn't depend on lid state,
unfortunately.
--
Matthew Garrett | mjg59@srcf.ucam.org
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-03-19 21:13 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <89k83ahv05c@azsmga001.ch.intel.com>
2010-03-15 19:32 ` [PATCH 0/2] blacklist lid status: Sony VGN-BX196VP and Elite Co Surbhi Palande
2010-03-15 19:32 ` [PATCH 1/2] drm/i915: blacklist lid status: Sony VGN-BX196VP Surbhi Palande
2010-03-15 19:33 ` [PATCH 2/2] drm/i915: blacklist lid status: Elite Co. G335 Surbhi Palande
2010-03-19 19:53 ` ACPI _LID failures Jesse Barnes
2010-03-19 20:53 ` Eric Anholt
2010-03-19 21:05 ` Jesse Barnes
2010-03-19 21:12 ` Matthew Garrett
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox