Displaying 3 results from an estimated 3 matches for "rotateddata".
Did you mean:
rotatedata
2019 Jan 23
0
[PATCH] present: rotated crtc's work fine
...--
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/nouveau_present.c b/src/nouveau_present.c
index ebd5fcf..936475e 100644
--- a/src/nouveau_present.c
+++ b/src/nouveau_present.c
@@ -46,9 +46,6 @@ nouveau_present_crtc(WindowPtr window)
if (!crtc)
return NULL;
- if (crtc->rotatedData)
- return NULL;
-
return crtc->randr_crtc;
}
@@ -152,7 +149,7 @@ nouveau_present_flip_check(RRCrtcPtr rrcrtc, WindowPtr window,
ScrnInfoPtr scrn = xf86ScreenToScrn(window->drawable.pScreen);
xf86CrtcPtr crtc = rrcrtc->devPrivate;
- if (!scrn->vtSema || !drmmode_crtc_on(crtc)...
2017 Mar 04
0
[DDX PATCH] Consider CRTCs disabled when DPMS is off
...ig = XF86_CRTC_CONFIG_PTR(scrn);
NVPtr pNv = NVPTR(scrn);
- int i;
+ int i, active_crtc_count = 0;
if (!xf86_config->num_crtc)
return FALSE;
for (i = 0; i < xf86_config->num_crtc; i++) {
xf86CrtcPtr crtc = xf86_config->crtc[i];
- if (crtc->enabled && crtc->rotatedData)
- return FALSE;
+ if (drmmode_crtc_on(crtc)) {
+ if (crtc->rotatedData)
+ return FALSE;
+ active_crtc_count++;
+ }
}
return ((DRI2CanFlip(draw) && pNv->has_pageflip)) &&
dst_pix->drawable.width == src_pix->drawable.width &&
dst_pix->d...
2019 Oct 13
0
[PATCH xf86-video-nouveau] dri2, present: move in pixmap before getting addresses
...PixmapPtr pixmap, Bool sync_flip)
{
ScrnInfoPtr scrn = xf86ScreenToScrn(window->drawable.pScreen);
+ NVPtr pNv = NVPTR(scrn);
xf86CrtcPtr crtc = rrcrtc->devPrivate;
+ struct nouveau_pixmap *priv = nouveau_pixmap(pixmap);
if (!scrn->vtSema || !drmmode_crtc_on(crtc) || crtc->rotatedData)
return FALSE;
- return TRUE;
+ if (!priv) {
+ /* The pixmap may not have had backing for low-memory GPUs, or
+ * if we ran out of VRAM. Make sure it's properly backed for
+ * flipping.
+ */
+ pNv->exa_force_cp = TRUE;
+ exaMoveInPixmap(pixmap);
+ pNv->exa_force_cp = FALSE;...