projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4449933
)
drm/nouveau: fix backlight mask on ppc powerbook
author
Ilia Mirkin
<imirkin@alum.mit.edu>
Thu, 5 Sep 2013 08:45:01 +0000
(
04:45
-0400)
committer
Ben Skeggs
<bskeggs@redhat.com>
Fri, 8 Nov 2013 05:36:08 +0000
(15:36 +1000)
This code was originally moved to using nv_mask by
d31e078d84
. This
should not have any actual effect since the mask isn't applied to the
value.
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/dispnv04/dfp.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/nouveau/dispnv04/dfp.c
b/drivers/gpu/drm/nouveau/dispnv04/dfp.c
index 59d1c040b84f69c8d9513a20ebb9081267ee432e..bb6c3c3f981de5091a6f278efc4ff677c949762c 100644
(file)
--- a/
drivers/gpu/drm/nouveau/dispnv04/dfp.c
+++ b/
drivers/gpu/drm/nouveau/dispnv04/dfp.c
@@
-493,7
+493,7
@@
static void nv04_dfp_update_backlight(struct drm_encoder *encoder, int mode)
if (dev->pdev->device == 0x0174 || dev->pdev->device == 0x0179 ||
dev->pdev->device == 0x0189 || dev->pdev->device == 0x0329) {
if (mode == DRM_MODE_DPMS_ON) {
- nv_mask(device, NV_PBUS_DEBUG_DUALHEAD_CTL,
0
, 1 << 31);
+ nv_mask(device, NV_PBUS_DEBUG_DUALHEAD_CTL,
1 << 31
, 1 << 31);
nv_mask(device, NV_PCRTC_GPIO_EXT, 3, 1);
} else {
nv_mask(device, NV_PBUS_DEBUG_DUALHEAD_CTL, 1 << 31, 0);