search for: crtcs_needed

Displaying 4 results from an estimated 4 matches for "crtcs_needed".

2015 Jun 28
3
[PATCH] Take shift in crtc positions for ZaphodHeads configs into account.
...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 ...\n"); + crtcshift = ffs(pNVEnt->assigned_crtcs...
2018 Jan 13
0
[PATCH] drmmode: update logic for dynamic connectors, paths, and tiles
...name), output); + return 1; } @@ -1429,6 +1574,7 @@ static const xf86CrtcConfigFuncsRec drmmode_xf86crtc_config_funcs = { Bool drmmode_pre_init(ScrnInfoPtr pScrn, int fd, int cpp) { drmmode_ptr drmmode; + drmModeResPtr mode_res; NVEntPtr pNVEnt = NVEntPriv(pScrn); int i; unsigned int crtcs_needed = 0; @@ -1441,32 +1587,31 @@ Bool drmmode_pre_init(ScrnInfoPtr pScrn, int fd, int cpp) xf86CrtcConfigInit(pScrn, &drmmode_xf86crtc_config_funcs); drmmode->cpp = cpp; - drmmode->mode_res = drmModeGetResources(drmmode->fd); - if (!drmmode->mode_res) + mode_res = drmModeGetResour...
2018 Oct 09
0
[PATCH] drmmode: update logic for dynamic connectors, paths, and tiles
...name), output); + return 1; } @@ -1429,6 +1585,7 @@ static const xf86CrtcConfigFuncsRec drmmode_xf86crtc_config_funcs = { Bool drmmode_pre_init(ScrnInfoPtr pScrn, int fd, int cpp) { drmmode_ptr drmmode; + drmModeResPtr mode_res; NVEntPtr pNVEnt = NVEntPriv(pScrn); int i; unsigned int crtcs_needed = 0; @@ -1441,32 +1598,31 @@ Bool drmmode_pre_init(ScrnInfoPtr pScrn, int fd, int cpp) xf86CrtcConfigInit(pScrn, &drmmode_xf86crtc_config_funcs); drmmode->cpp = cpp; - drmmode->mode_res = drmModeGetResources(drmmode->fd); - if (!drmmode->mode_res) + mode_res = drmModeGetResour...
2015 Aug 06
0
[PATCH] Take shift in crtc positions for ZaphodHeads configs into account.
...> 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...