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

Initialize drmmode_crtc dpms_mode to DPMSModeOff

This disables query of disabled pipes for drmWaitVBlank on X start
Signed-off-by: default avatarMykola Lysenko <Mykola.Lysenko@amd.com>
Reviewed-by: Michel Dänzer's avatarMichel Dänzer <michel.daenzer@amd.com>
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;
drmmode_crtc_hw_id(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