search for: probe_detect

Displaying 3 results from an estimated 3 matches for "probe_detect".

2010 Feb 09
1
[PATCH] Remove some UMS leftovers.
...his is called when VT switching away from the X server. Its job is * to restore the previous (text) mode. - * - * We may wish to remap video/MMIO memory too. */ /* Mandatory */ @@ -586,24 +579,6 @@ NVPreInit(ScrnInfoPtr pScrn, int flags) MessageType from; int ret, i; - if (flags & PROBE_DETECT) { - EntityInfoPtr pEnt = xf86GetEntityInfo(pScrn->entityList[0]); - - if (!pEnt) - return FALSE; - - i = pEnt->index; - xfree(pEnt); - - if (xf86LoadSubModule(pScrn, "vbe")) { - vbeInfoPtr pVbe = VBEInit(NULL, i); - ConfiguredMonitor = vbeDoEDID(pVbe, NULL); - vbeFree(...
2012 May 23
1
[PATCH (nouveau)] Add xwayland support
...); + pNv->drm_device_name = drmGetDeviceNameFromFd(drm_fd); return TRUE; } @@ -610,6 +729,9 @@ NVPreInit(ScrnInfoPtr pScrn, int flags) uint64_t v; int ret; int defaultDepth = 0; +#ifdef XORG_WAYLAND + struct xwl_screen *xwl_screen = pScrn->driverPrivate; +#endif if (flags & PROBE_DETECT) { EntityInfoPtr pEnt = xf86GetEntityInfo(pScrn->entityList[0]); @@ -643,6 +765,10 @@ NVPreInit(ScrnInfoPtr pScrn, int flags) if (!(pScrn->driverPrivate = xnfcalloc(1, sizeof(NVRec)))) return FALSE; pNv = NVPTR(pScrn); + +#ifdef XORG_WAYLAND + pNv->xwl_screen = xwl_screen; +#end...
2012 Jul 04
0
[PATCH] Add xwayland support (v2)
...NameFromFd(DRIMasterFD(pScrn)); + pNv->drm_device_name = drmGetDeviceNameFromFd(drm_fd); return TRUE; } @@ -602,6 +697,7 @@ NVPreInit(ScrnInfoPtr pScrn, int flags) uint64_t v; int ret; int defaultDepth = 0; + struct xwl_screen *xwl_screen = pScrn->driverPrivate; if (flags & PROBE_DETECT) { EntityInfoPtr pEnt = xf86GetEntityInfo(pScrn->entityList[0]); @@ -636,6 +732,8 @@ NVPreInit(ScrnInfoPtr pScrn, int flags) return FALSE; pNv = NVPTR(pScrn); + pNv->xwl_screen = xwl_screen; + /* Get the entity, and make sure it is PCI. */ pNv->pEnt = xf86GetEntityInfo(pScrn-...