Re: [PATCH] i915: Quirk out disconnected backlight

From: Grant Likely
Date: Fri Sep 14 2012 - 09:09:57 EST


On Fri, Sep 14, 2012 at 2:01 PM, Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> wrote:
> On Fri, 14 Sep 2012 13:57:06 +0100, Grant Likely <grant.likely@xxxxxxxxxxxx> wrote:
>> Some platforms (for instance MacbookPros) have custom backlight drivers
>> and don't use the integrated i915 backlight control. This patch adds a
>> quirk to disable registering the intel backlight when unused on a
>> platform.
>>
>> Tested on MacbookPro8,3. Without this patch both the intel_backlight and
>> gmux_backlight devices get registered and userspace doesn't know which
>> it should use.
>
> Userspace is informed throught the backlight/type property.

Perhaps, but userspace (Ubuntu) isn't doing anything with it, and it
still remains that it makes no sense whatsoever to register a
backlight device that doesn't exist.

g.

> -Chris
>
> --
> Chris Wilson, Intel Open Source Technology Centre



--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
--
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/