projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12f5581
)
drm/i915: fix up PCH backlight #define mixup
author
Daniel Vetter
<
[email protected]
>
Tue, 10 Jul 2012 22:31:06 +0000
(
00:31
+0200)
committer
Daniel Vetter
<
[email protected]
>
Fri, 20 Jul 2012 10:21:38 +0000
(12:21 +0200)
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 <
[email protected]
>
Date: Tue Jun 5 10:07:09 2012 +0200
drm/i915: clear up backlight #define confusion on gen4+
Tested-by: Kenneth Graunke <
[email protected]
>
Signed-Off-by: Daniel Vetter <
[email protected]
>
drivers/gpu/drm/i915/i915_reg.h
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/i915_reg.h
b/drivers/gpu/drm/i915/i915_reg.h
index 7aa6e97c2c7298d0b7ae5eb6ecb2f2809fde9225..acc99b21e0b66d4fd215c16fb6f1e81b49b5fe8b 100644
(file)
--- a/
drivers/gpu/drm/i915/i915_reg.h
+++ b/
drivers/gpu/drm/i915/i915_reg.h
@@
-1900,7
+1900,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 << 3
0
)
+#define BLM_PCH_PWM_ENABLE (1 << 3
1
)
#define BLM_PCH_OVERRIDE_ENABLE (1 << 30)
#define BLM_PCH_POLARITY (1 << 29)
#define BLC_PWM_PCH_CTL2 0xc8254