public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915: fix up PCH backlight #define mixup
@ 2012-07-10 22:31 Daniel Vetter
  2012-07-10 22:36 ` Daniel Vetter
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Vetter @ 2012-07-10 22:31 UTC (permalink / raw)
  To: Intel Graphics Development; +Cc: Daniel Vetter

I so totally suck.

This can cause a black screen if (for whatever reason) the bios
hasn't set this bit itself.

This regression has been introduced in

commit 7cf4160148136deb31ee5f2802857dd935a38529
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Tue Jun 5 10:07:09 2012 +0200

    drm/i915: clear up backlight #define confusion on gen4+

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=51463
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
---
 drivers/gpu/drm/i915/i915_reg.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
index bd1cda2..45c6703 100644
--- a/drivers/gpu/drm/i915/i915_reg.h
+++ b/drivers/gpu/drm/i915/i915_reg.h
@@ -1921,7 +1921,7 @@
 /* PCH CTL1 is totally different, all but the below bits are reserved. CTL2 is
  * like the normal CTL from gen4 and earlier. Hooray for confusing naming. */
 #define BLC_PWM_PCH_CTL1	0xc8250
-#define   BLM_PCH_PWM_ENABLE			(1 << 30)
+#define   BLM_PCH_PWM_ENABLE			(1 << 31)
 #define   BLM_PCH_OVERRIDE_ENABLE		(1 << 30)
 #define   BLM_PCH_POLARITY			(1 << 29)
 #define BLC_PWM_PCH_CTL2	0xc8254
-- 
1.7.10.2

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] drm/i915: fix up PCH backlight #define mixup
  2012-07-10 22:31 [PATCH] drm/i915: fix up PCH backlight #define mixup Daniel Vetter
@ 2012-07-10 22:36 ` Daniel Vetter
  2012-07-11  8:23   ` Daniel Vetter
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Vetter @ 2012-07-10 22:36 UTC (permalink / raw)
  To: Intel Graphics Development; +Cc: Daniel Vetter

On Wed, Jul 11, 2012 at 12:31:06AM +0200, Daniel Vetter wrote:
> I so totally suck.
> 
> This can cause a black screen if (for whatever reason) the bios
> hasn't set this bit itself.
> 
> This regression has been introduced in
> 
> commit 7cf4160148136deb31ee5f2802857dd935a38529
> Author: Daniel Vetter <daniel.vetter@ffwll.ch>
> Date:   Tue Jun 5 10:07:09 2012 +0200
> 
>     drm/i915: clear up backlight #define confusion on gen4+
> 
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=51463
> Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>

>From irc:

Tested-by: Kenneth Graunke <kenneth@whitecape.org>

-Daniel
-- 
Daniel Vetter
Mail: daniel@ffwll.ch
Mobile: +41 (0)79 365 57 48

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] drm/i915: fix up PCH backlight #define mixup
  2012-07-10 22:36 ` Daniel Vetter
@ 2012-07-11  8:23   ` Daniel Vetter
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Vetter @ 2012-07-11  8:23 UTC (permalink / raw)
  To: Intel Graphics Development; +Cc: Daniel Vetter

On Wed, Jul 11, 2012 at 12:36:59AM +0200, Daniel Vetter wrote:
> On Wed, Jul 11, 2012 at 12:31:06AM +0200, Daniel Vetter wrote:
> > I so totally suck.
> > 
> > This can cause a black screen if (for whatever reason) the bios
> > hasn't set this bit itself.
> > 
> > This regression has been introduced in
> > 
> > commit 7cf4160148136deb31ee5f2802857dd935a38529
> > Author: Daniel Vetter <daniel.vetter@ffwll.ch>
> > Date:   Tue Jun 5 10:07:09 2012 +0200
> > 
> >     drm/i915: clear up backlight #define confusion on gen4+
> > 
> > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=51463
> > Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
> 
> From irc:
> 
> Tested-by: Kenneth Graunke <kenneth@whitecape.org>

I've queued this one for next, but with the bugzilla line removed - that
bug isn't fixed by this patch unfortunately.
-Daniel
-- 
Daniel Vetter
Mail: daniel@ffwll.ch
Mobile: +41 (0)79 365 57 48

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-07-11  8:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-10 22:31 [PATCH] drm/i915: fix up PCH backlight #define mixup Daniel Vetter
2012-07-10 22:36 ` Daniel Vetter
2012-07-11  8:23   ` Daniel Vetter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox