summaryrefslogtreecommitdiff
path: root/src/drmmode_display.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drmmode_display.c')
-rw-r--r--src/drmmode_display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drmmode_display.c b/src/drmmode_display.c
index 309ccbd6..03b8a482 100644
--- a/src/drmmode_display.c
+++ b/src/drmmode_display.c
@@ -3014,7 +3014,7 @@ Bool radeon_do_pageflip(ScrnInfoPtr scrn, ClientPtr client,
for (i = 0; i < config->num_crtc; i++) {
crtc = config->crtc[i];
- if (!crtc->enabled)
+ if (!drmmode_crtc_can_flip(crtc))
continue;
flipdata->flip_count++;