diff options
-rw-r--r-- | src/intel_driver.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/intel_driver.c b/src/intel_driver.c index 4fcd21aa..7ca802a5 100644 --- a/src/intel_driver.c +++ b/src/intel_driver.c @@ -2047,6 +2047,9 @@ Bool intel_crtc_on(xf86CrtcPtr crtc) if (intel->use_drm_mode) { int i, active_outputs = 0; + if (!crtc->enabled) + return FALSE; + /* Kernel manages CRTC status based out output config */ for (i = 0; i < xf86_config->num_output; i++) { xf86OutputPtr output = xf86_config->output[i]; @@ -2061,6 +2064,9 @@ Bool intel_crtc_on(xf86CrtcPtr crtc) } else { I830CrtcPrivatePtr intel_crtc = crtc->driver_private; + if (!crtc->enabled) + return FALSE; + if (intel_crtc->dpms_mode == DPMSModeOn) return TRUE; return FALSE; |