aboutsummaryrefslogtreecommitdiff
path: root/linux-core/nv50_sor.c
diff options
context:
space:
mode:
authorMaarten Maathuis <madman2003@gmail.com>2008-07-06 11:08:49 +0200
committerMaarten Maathuis <madman2003@gmail.com>2008-07-06 11:08:49 +0200
commit6738e7b00bf05529303ed690873495db6d83337c (patch)
treec29353f4c78fb75de913683add74ee6580be2972 /linux-core/nv50_sor.c
parente810cb9243fe6c4905182869d9e3272d861a14cb (diff)
modesetting-101: Rename DPMS modes to avoid compatibility issues with xorg definitions.
Diffstat (limited to 'linux-core/nv50_sor.c')
-rw-r--r--linux-core/nv50_sor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/nv50_sor.c b/linux-core/nv50_sor.c
index 021a45bf..41116923 100644
--- a/linux-core/nv50_sor.c
+++ b/linux-core/nv50_sor.c
@@ -127,7 +127,7 @@ static int nv50_sor_set_power_mode(struct nv50_output *output, int mode)
val = NV_READ(NV50_PDISPLAY_SOR_REGS_DPMS_CTRL(or));
- if (mode == DPMSModeOn)
+ if (mode == DRM_MODE_DPMS_ON)
val |= NV50_PDISPLAY_SOR_REGS_DPMS_CTRL_ON;
else
val &= ~NV50_PDISPLAY_SOR_REGS_DPMS_CTRL_ON;