Commit 4eb9cedc authored by Mykola Lysenko's avatar Mykola Lysenko Committed by Michel Dänzer
Browse files

Initialize drmmode_crtc dpms_mode to DPMSModeOff

This disables query of disabled pipes for drmWaitVBlank on X start
Signed-off-by: default avatarMykola Lysenko <>
Reviewed-by: Michel Dänzer's avatarMichel Dänzer <>
parent 1d0b0c17
......@@ -993,6 +993,7 @@ drmmode_crtc_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, drmModeResPtr mode_res
drmmode_crtc->mode_crtc =
drmModeGetCrtc(pAMDGPUEnt->fd, mode_res->crtcs[num]);
drmmode_crtc->drmmode = drmmode;
drmmode_crtc->dpms_mode = DPMSModeOff;
crtc->driver_private = drmmode_crtc;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment