summaryrefslogtreecommitdiff
path: root/linux-core/intel_crt.c
diff options
context:
space:
mode:
authorMaarten Maathuis <madman2003@gmail.com>2008-07-06 10:52:25 +0200
committerMaarten Maathuis <madman2003@gmail.com>2008-07-06 10:52:25 +0200
commite810cb9243fe6c4905182869d9e3272d861a14cb (patch)
tree4d876dfd533ea6e62b488119d870b9fa0d7a3a1b /linux-core/intel_crt.c
parentd495a6e28f7fe5428c1ceb75378cad31b51a517a (diff)
modesetting-101: rename modeflags, as to avoid conflicts with the xorg definitions
Diffstat (limited to 'linux-core/intel_crt.c')
-rw-r--r--linux-core/intel_crt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/linux-core/intel_crt.c b/linux-core/intel_crt.c
index b9e8ee63..4326aef9 100644
--- a/linux-core/intel_crt.c
+++ b/linux-core/intel_crt.c
@@ -74,7 +74,7 @@ static void intel_crt_restore(struct drm_connector *connector)
static int intel_crt_mode_valid(struct drm_connector *connector,
struct drm_display_mode *mode)
{
- if (mode->flags & V_DBLSCAN)
+ if (mode->flags & DRM_MODE_FLAG_DBLSCAN)
return MODE_NO_DBLESCAN;
if (mode->clock > 400000 || mode->clock < 25000)
@@ -118,9 +118,9 @@ static void intel_crt_mode_set(struct drm_encoder *encoder,
}
adpa = 0;
- if (adjusted_mode->flags & V_PHSYNC)
+ if (adjusted_mode->flags & DRM_MODE_FLAG_PHSYNC)
adpa |= ADPA_HSYNC_ACTIVE_HIGH;
- if (adjusted_mode->flags & V_PVSYNC)
+ if (adjusted_mode->flags & DRM_MODE_FLAG_PVSYNC)
adpa |= ADPA_VSYNC_ACTIVE_HIGH;
if (intel_crtc->pipe == 0)