linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Hector Martin <hector@marcansoft.com>
To: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: Zhang Rui <rui.zhang@intel.com>, Len Brown <lenb@kernel.org>,
	linux-acpi <linux-acpi@vger.kernel.org>
Subject: Re: [PATCH -mm] ACPI video: only one ACPI bus video device is allowed for one VGA controller
Date: Wed, 15 Jul 2009 23:59:36 +0200	[thread overview]
Message-ID: <4A5E5148.808@marcansoft.com> (raw)
In-Reply-To: <20090715143103.GB22098@khazad-dum.debian.net>

Henrique de Moraes Holschuh wrote:
> On Wed, 15 Jul 2009, Zhang Rui wrote:
>> Only one ACPI video bus device for a VGA controller.
>>
>> Some buggy BIOS exports multiple ACPI video bus devices for the same
>> VGA controller, and multiple backlight control methods as well.
>> This messes up the ACPI video backlight control.
>> http://bugzilla.kernel.org/show_bug.cgi?id=13577
>>
>> With this patch applied, only the first ACPI video bus device
>> under a PCI device node is bind to ACPI video driver.
>>
>> The questions is that, we never notice this kind of devices before,
>> thus I'm not sure this won't break any laptops.
> 
> Laptops often have more than one video bus device, and you _have_ to choose
> the one that is _active_ (which might not be the first one you find).  This
> is done on laptops that can have either discrete or in-chipset graphics, for
> example.  I have seen it in several thinkpad models.

The video subsystem already picks only graphics devices that actually
exist in the PCI bus. The issue here is that there are two ACPI
"subdevices" under one address reference to a PCI device (which exists),
and both have backlight functionality. I am not aware of any standard
method to distinguish between such devices - I'd say it's probably yet
another DSDT bug.

-- 
Hector Martin (hector@marcansoft.com)
Public Key: http://www.marcansoft.com/marcan.asc


  reply	other threads:[~2009-07-15 21:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-15  9:18 [PATCH -mm] ACPI video: only one ACPI bus video device is allowed for one VGA controller Zhang Rui
2009-07-15 14:31 ` Henrique de Moraes Holschuh
2009-07-15 21:59   ` Hector Martin [this message]
2009-07-16  2:37     ` Zhang Rui
2009-07-16 11:49       ` Henrique de Moraes Holschuh
2009-07-16 12:10         ` Hector Martin
2009-08-30  2:18 ` Len Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A5E5148.808@marcansoft.com \
    --to=hector@marcansoft.com \
    --cc=hmh@hmh.eng.br \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=rui.zhang@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).