search for: pnvent

Displaying 5 results from an estimated 5 matches for "pnvent".

Did you mean: invent
2015 Jun 28
3
[PATCH] Take shift in crtc positions for ZaphodHeads configs into account.
...= kencoder->possible_crtcs >> crtcshift; + output->possible_clones = kencoder->possible_clones >> crtcshift; output->interlaceAllowed = true; output->doubleScanAllowed = true; @@ -1421,6 +1421,7 @@ Bool drmmode_pre_init(ScrnInfoPtr pScrn, int fd, int cpp) NVEntPtr pNVEnt = NVEntPriv(pScrn); int i; unsigned int crtcs_needed = 0; + int crtcshift; drmmode = xnfalloc(sizeof *drmmode); drmmode->fd = fd; @@ -1444,8 +1445,9 @@ Bool drmmode_pre_init(ScrnInfoPtr pScrn, int fd, int cpp) } xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Initializing outputs ....
2018 Jan 13
0
[PATCH] drmmode: update logic for dynamic connectors, paths, and tiles
...@@ -770,7 +770,7 @@ static const xf86CrtcFuncsRec drmmode_crtc_funcs = { static unsigned int -drmmode_crtc_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int num) +drmmode_crtc_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, drmModeResPtr mode_res, int num) { NVPtr pNv = NVPTR(pScrn); NVEntPtr pNVEnt = NVEntPriv(pScrn); @@ -784,7 +784,7 @@ drmmode_crtc_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int num) drmmode_crtc = xnfcalloc(sizeof(drmmode_crtc_private_rec), 1); drmmode_crtc->mode_crtc = drmModeGetCrtc(drmmode->fd, - drmmode->mode_res->crtcs[num]); + mode_res-...
2018 Oct 09
0
[PATCH] drmmode: update logic for dynamic connectors, paths, and tiles
...@@ -770,7 +772,7 @@ static const xf86CrtcFuncsRec drmmode_crtc_funcs = { static unsigned int -drmmode_crtc_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int num) +drmmode_crtc_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, drmModeResPtr mode_res, int num) { NVPtr pNv = NVPTR(pScrn); NVEntPtr pNVEnt = NVEntPriv(pScrn); @@ -784,7 +786,7 @@ drmmode_crtc_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int num) drmmode_crtc = xnfcalloc(sizeof(drmmode_crtc_private_rec), 1); drmmode_crtc->mode_crtc = drmModeGetCrtc(drmmode->fd, - drmmode->mode_res->crtcs[num]); + mode_res-...
2015 Aug 06
0
[PATCH] Take shift in crtc positions for ZaphodHeads configs into account.
...t; + output->possible_clones = kencoder->possible_clones >> crtcshift; > > output->interlaceAllowed = true; > output->doubleScanAllowed = true; > @@ -1421,6 +1421,7 @@ Bool drmmode_pre_init(ScrnInfoPtr pScrn, int fd, int cpp) > NVEntPtr pNVEnt = NVEntPriv(pScrn); > int i; > unsigned int crtcs_needed = 0; > + int crtcshift; > > drmmode = xnfalloc(sizeof *drmmode); > drmmode->fd = fd; > @@ -1444,8 +1445,9 @@ Bool drmmode_pre_init(ScrnInfoPtr pScrn, int fd, int cpp) >...
2013 Jul 22
0
[RFC PATCH] Support running nested in a Mir compositor
...= 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("pci:%04x:%02x:%02x.%d", dev->domain, dev->bus...