s/TRUE/true

main
Dave Airlie 2007-12-21 18:38:55 +10:00
parent 21b01cd4b5
commit 219ba5cd9a
2 changed files with 8 additions and 8 deletions

View File

@ -356,7 +356,7 @@ void drm_crtc_probe_single_output_modes(struct drm_output *output, int maxX, int
}
drm_mode_prune_invalid(dev, &output->modes, TRUE);
drm_mode_prune_invalid(dev, &output->modes, true);
if (list_empty(&output->modes)) {
struct drm_display_mode *stdmode;
@ -510,7 +510,7 @@ bool drm_crtc_set_mode(struct drm_crtc *crtc, struct drm_display_mode *mode,
/* XXX free adjustedmode */
drm_mode_destroy(dev, adjusted_mode);
ret = TRUE;
ret = true;
/* TODO */
// if (scrn->pScreen)
// drm_crtc_set_screen_sub_pixel_order(dev);

View File

@ -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;
}
}