lkml.org 
[lkml]   [2013]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 077/222] ACPI / video: ignore BIOS initial backlight value for HP Folio 13-2000
    Date
    3.5.7.3 -stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Zhang Rui <rui.zhang@intel.com>

    commit 129ff8f8d58297b04f47b5d6fad81aa2d08404e1 upstream.

    Or else the laptop will boot with a dimmed screen.

    References: https://bugzilla.kernel.org/show_bug.cgi?id=51141
    Tested-by: Stefan Nagy <public@stefan-nagy.at>
    Signed-off-by: Zhang Rui <rui.zhang@intel.com>
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
    Signed-off-by: Herton Ronaldo Krzesinski <herton.krzesinski@canonical.com>
    ---
    drivers/acpi/video.c | 14 ++++++++++++++
    1 file changed, 14 insertions(+)

    diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c
    index 9fe2659..3837739 100644
    --- a/drivers/acpi/video.c
    +++ b/drivers/acpi/video.c
    @@ -389,6 +389,12 @@ static int __init video_set_bqc_offset(const struct dmi_system_id *d)
    return 0;
    }

    +static int video_ignore_initial_backlight(const struct dmi_system_id *d)
    +{
    + use_bios_initial_backlight = 0;
    + return 0;
    +}
    +
    static struct dmi_system_id video_dmi_table[] __initdata = {
    /*
    * Broken _BQC workaround http://bugzilla.kernel.org/show_bug.cgi?id=13121
    @@ -433,6 +439,14 @@ static struct dmi_system_id video_dmi_table[] __initdata = {
    DMI_MATCH(DMI_PRODUCT_NAME, "Aspire 7720"),
    },
    },
    + {
    + .callback = video_ignore_initial_backlight,
    + .ident = "HP Folio 13-2000",
    + .matches = {
    + DMI_MATCH(DMI_BOARD_VENDOR, "Hewlett-Packard"),
    + DMI_MATCH(DMI_PRODUCT_NAME, "HP Folio 13 - 2000 Notebook PC"),
    + },
    + },
    {}
    };

    --
    1.7.9.5


    \
     
     \ /
      Last update: 2013-01-16 18:43    [W:4.030 / U:0.244 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site