Message ID | 1385312534.2501.4.camel@PC.localdomain (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/src/uxa/intel_driver.c b/src/uxa/intel_driver.c index 1c38075..c5d85c8 100644 --- a/src/uxa/intel_driver.c +++ b/src/uxa/intel_driver.c @@ -549,6 +549,12 @@ static Bool I830PreInit(ScrnInfoPtr scrn, int flags) intel->PciInfo = xf86GetPciInfoForEntity(intel->pEnt->index); + if (!xorgWayland && (!intel_open_drm_master(scrn))) { + xf86DrvMsg(scrn->scrnIndex, X_ERROR, + "Failed to become DRM master.\n"); + return FALSE; + } + scrn->monitor = scrn->confScreen->monitor; scrn->progClock = TRUE;