Displaying 1 result from an estimated 1 matches for "nvopendrmmaster".
2013 Jul 22
0
[RFC PATCH] Support running nested in a Mir compositor
...EN_ARGS_DECL)
ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen);
NVPtr pNv = NVPTR(pScrn);
- if (XF86_CRTC_CONFIG_PTR(pScrn)->num_crtc)
+ if (!xorgMir && XF86_CRTC_CONFIG_PTR(pScrn)->num_crtc)
drmmode_screen_fini(pScreen);
if (!pNv->NoAccel)
@@ -688,7 +808,7 @@ static Bool NVOpenDRMMaster(ScrnInfoPtr pScrn)
NVPtr pNv = NVPTR(pScrn);
NVEntPtr pNVEnt = NVEntPriv(pScrn);
struct pci_device *dev = pNv->PciInfo;
- char *busid;
+ char *busid = NULL;
drmSetVersion sv;
int err;
int ret;
@@ -712,8 +832,11 @@ static Bool NVOpenDRMMaster(ScrnInfoPtr pScrn)
busid = XNFprintf(&qu...