lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1321449575.23167.YahooMailNeo@web130111.mail.mud.yahoo.com>
Date:	Wed, 16 Nov 2011 05:19:35 -0800 (PST)
From:	Alex Davis <alex14641@...oo.com>
To:	Takashi Iwai <tiwai@...e.de>, Keith Packard <keithp@...thp.com>
Cc:	"intel-gfx@...ts.freedesktop.org" <intel-gfx@...ts.freedesktop.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	Kamal Mostafa <kamal@...onical.com>,
	"mjg@...hat.com" <mjg@...hat.com>
Subject: Re: [PATCH] drm/i915: Fix inconsistent backlight level during disabled



>diff --git a/drivers/gpu/drm/i915/intel_panel.c b/drivers/gpu/drm/i915/intel_panel.c
>index 499d4c0..21f60b7 100644
>--- a/drivers/gpu/drm/i915/intel_panel.c
>+++ b/drivers/gpu/drm/i915/intel_panel.c
>@@ -326,7 +326,8 @@ static int intel_panel_update_status(struct backlight_device *bd)
>static int intel_panel_get_brightness(struct backlight_device *bd)
>{
>    struct drm_device *dev = bl_get_data(bd);
>-    return intel_panel_get_backlight(dev);
>+    struct drm_i915_private *dev_priv = dev->dev_private;
>+    return dev_priv->backlight_level;
>}
>
>static const struct backlight_ops intel_panel_bl_ops = {
>-- 
>1.7.7

I'll test this patch sometime this weekend.

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ