diff options
author | Maarten Maathuis <madman2003@gmail.com> | 2008-07-06 11:08:49 +0200 |
---|---|---|
committer | Maarten Maathuis <madman2003@gmail.com> | 2008-07-06 11:08:49 +0200 |
commit | 6738e7b00bf05529303ed690873495db6d83337c (patch) | |
tree | c29353f4c78fb75de913683add74ee6580be2972 /linux-core/nv50_kms_wrapper.c | |
parent | e810cb9243fe6c4905182869d9e3272d861a14cb (diff) |
modesetting-101: Rename DPMS modes to avoid compatibility issues with xorg definitions.
Diffstat (limited to 'linux-core/nv50_kms_wrapper.c')
-rw-r--r-- | linux-core/nv50_kms_wrapper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-core/nv50_kms_wrapper.c b/linux-core/nv50_kms_wrapper.c index b7ba7b00..8f71e649 100644 --- a/linux-core/nv50_kms_wrapper.c +++ b/linux-core/nv50_kms_wrapper.c @@ -681,7 +681,7 @@ int nv50_kms_crtc_set_config(struct drm_mode_set *set) if (output->crtc != crtc) continue; - rval = output->set_power_mode(output, DPMSModeOn); + rval = output->set_power_mode(output, DRM_MODE_DPMS_ON); if (rval != 0) { DRM_ERROR("output set power mode failed\n"); goto out; @@ -698,7 +698,7 @@ int nv50_kms_crtc_set_config(struct drm_mode_set *set) rval = drm_connector_property_set_value(drm_connector, dev->mode_config.dpms_property, - DPMSModeOn); + DRM_MODE_DPMS_ON); if (rval != 0) { DRM_ERROR("failed to update dpms state\n"); goto out; |