summaryrefslogtreecommitdiff
path: root/linux-core/intel_display.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-01-04 16:12:24 +1100
committerDave Airlie <airlied@redhat.com>2008-01-04 16:12:24 +1100
commit10937cf20b6814e4cf68114fab4619fad94eafcb (patch)
tree05bb4c7e91c63d5f25eb7efa6ac67134027e5cf8 /linux-core/intel_display.c
parent219ba5cd9aff2dc79e414bbe2e9f90406f7543df (diff)
drm: move drm_head to drm_minor and fix up users
Diffstat (limited to 'linux-core/intel_display.c')
-rw-r--r--linux-core/intel_display.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/linux-core/intel_display.c b/linux-core/intel_display.c
index 8a6ce440..a81cfe69 100644
--- a/linux-core/intel_display.c
+++ b/linux-core/intel_display.c
@@ -461,7 +461,7 @@ static void intel_crtc_dpms(struct drm_crtc *crtc, int mode)
intel_crtc_load_lut(crtc);
/* Give the overlay scaler a chance to enable if it's on this pipe */
- //intel_crtc_dpms_video(crtc, true); TODO
+ //intel_crtc_dpms_video(crtc, TRUE); TODO
break;
case DPMSModeOff:
/* Give the overlay scaler a chance to disable if it's on this pipe */
@@ -699,19 +699,19 @@ static void intel_crtc_mode_set(struct drm_crtc *crtc,
switch (intel_output->type) {
case INTEL_OUTPUT_LVDS:
- is_lvds = true;
+ is_lvds = TRUE;
break;
case INTEL_OUTPUT_SDVO:
- is_sdvo = true;
+ is_sdvo = TRUE;
break;
case INTEL_OUTPUT_DVO:
- is_dvo = true;
+ is_dvo = TRUE;
break;
case INTEL_OUTPUT_TVOUT:
- is_tv = true;
+ is_tv = TRUE;
break;
case INTEL_OUTPUT_ANALOG:
- is_crt = true;
+ is_crt = TRUE;
break;
}
}