summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/nv50_crtc.c2
-rw-r--r--linux-core/nv50_display.c2
-rw-r--r--linux-core/nv50_kms_wrapper.c6
3 files changed, 5 insertions, 5 deletions
diff --git a/linux-core/nv50_crtc.c b/linux-core/nv50_crtc.c
index c4ca7e76..f56aa339 100644
--- a/linux-core/nv50_crtc.c
+++ b/linux-core/nv50_crtc.c
@@ -127,7 +127,7 @@ static int nv50_crtc_execute_mode(struct nv50_crtc *crtc)
OUT_MODE(NV50_CRTC0_SCALE_CENTER_OFFSET + offset, NV50_CRTC_SCALE_CENTER_OFFSET_VAL(0,0));
/* Maybe move this as well? */
- crtc->blank(crtc, FALSE);
+ crtc->blank(crtc, false);
return 0;
}
diff --git a/linux-core/nv50_display.c b/linux-core/nv50_display.c
index b68c4e28..eeaa0e68 100644
--- a/linux-core/nv50_display.c
+++ b/linux-core/nv50_display.c
@@ -171,7 +171,7 @@ static int nv50_display_disable(struct nv50_display *display)
/* disable clock change interrupts. */
NV_WRITE(NV50_PDISPLAY_SUPERVISOR_INTR, NV_READ(NV50_PDISPLAY_SUPERVISOR_INTR) & ~0x70);
- display->init_done = FALSE;
+ display->init_done = false;
return 0;
}
diff --git a/linux-core/nv50_kms_wrapper.c b/linux-core/nv50_kms_wrapper.c
index 355d25d6..1c4b52d7 100644
--- a/linux-core/nv50_kms_wrapper.c
+++ b/linux-core/nv50_kms_wrapper.c
@@ -950,11 +950,11 @@ static enum drm_connector_status nv50_kms_connector_detect(struct drm_connector
i2c_detect = connector->i2c_detect(connector);
if (load_detect == 1) {
- nv50_kms_connector_set_digital(drm_connector, 0, TRUE); /* analog, forced */
+ nv50_kms_connector_set_digital(drm_connector, 0, true); /* analog, forced */
} else if (hpd_detect == 1 && load_detect == 0) {
- nv50_kms_connector_set_digital(drm_connector, 1, TRUE); /* digital, forced */
+ nv50_kms_connector_set_digital(drm_connector, 1, true); /* digital, forced */
} else {
- nv50_kms_connector_set_digital(drm_connector, -1, TRUE); /* unknown, forced */
+ nv50_kms_connector_set_digital(drm_connector, -1, true); /* unknown, forced */
}
if (hpd_detect == 1 || load_detect == 1 || i2c_detect == 1)