projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af1ac18
)
drm/nouveau: Fix DPMS 1 on G4 Snowball, from snow white to coal black.
author
Stefan de Konink
<stefan@konink.de>
Sat, 22 Dec 2012 17:04:37 +0000
(18:04 +0100)
committer
Ben Skeggs
<bskeggs@redhat.com>
Wed, 20 Feb 2013 06:00:55 +0000
(16:00 +1000)
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=40275.
Signed-off-by: Stefan de Konink <stefan@konink.de>
Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nv04_dfp.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/nv04_dfp.c
b/drivers/gpu/drm/nouveau/nv04_dfp.c
index 39ffc07f906b8f57fcaf2427e3a5be3bbfd76bb5..7e24cdf1cb3944d1b343829182cf321b026d2869 100644
(file)
--- a/
drivers/gpu/drm/nouveau/nv04_dfp.c
+++ b/
drivers/gpu/drm/nouveau/nv04_dfp.c
@@
-490,8
+490,8
@@
static void nv04_dfp_update_backlight(struct drm_encoder *encoder, int mode)
/* BIOS scripts usually take care of the backlight, thanks
* Apple for your consistency.
*/
- if (dev->pci_device == 0x017
9 || dev->pci_device == 0x018
9 ||
- dev->pci_device == 0x0329) {
+ if (dev->pci_device == 0x017
4 || dev->pci_device == 0x017
9 ||
+ dev->pci_device == 0x0
189 || dev->pci_device == 0x0
329) {
if (mode == DRM_MODE_DPMS_ON) {
nv_mask(device, NV_PBUS_DEBUG_DUALHEAD_CTL, 0, 1 << 31);
nv_mask(device, NV_PCRTC_GPIO_EXT, 3, 1);