Re: [PATCH 1/5] Backlight: Add backlight type

From: Matthew Garrett
Date: Mon Nov 22 2010 - 07:31:07 EST


On Mon, Nov 22, 2010 at 10:17:00AM +0000, Richard Purdie wrote:

> I also want to make sure you think this patch is going to scale with
> multiple GPU output machines? Thats the main reason I've held off any
> patch like this as it doesn't help solve that problem as far as I can
> tell. Yes, we have the device parent information and I see later in the
> patch series you ensure the backlight is registered against the
> connector which is good. If you have an ACPI "firmware" control that you
> say should always be preferred, how do we know which connector device
> that corresponds to in the multiple output case? From that point of view
> this model falls apart?

The ACPI device will point at the correct PCI device. Associating it
with the appropriate connector is theoretically possible in the case of
open drivers, but I hadn't seen it as a high priority since (in
practice) there's no situations where an ACPI interface will be able to
control more than one backlight.

--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/