search for: nouveau_present_flip_check

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

2019 Jan 23
0
[PATCH] present: rotated crtc's work fine
...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)) + if (!scrn->vtSema || !drmmode_crtc_on(crtc) || crtc->rotatedData) return FALSE; retu...
2019 Oct 13
0
[PATCH xf86-video-nouveau] dri2, present: move in pixmap before getting addresses
...nouveau_bo_name_get(pixmap_bo, &front->name); + if (r) { (*draw->pScreen->DestroyPixmap)(pixmap); return FALSE; diff --git a/src/nouveau_present.c b/src/nouveau_present.c index 936475e..8167fd8 100644 --- a/src/nouveau_present.c +++ b/src/nouveau_present.c @@ -147,12 +147,25 @@ nouveau_present_flip_check(RRCrtcPtr rrcrtc, WindowPtr window, 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...
2017 Mar 04
0
[DDX PATCH] Consider CRTCs disabled when DPMS is off
...; - if (!config->crtc[i]->enabled) + if (!drmmode_crtc_on(config->crtc[i])) continue; flipdata->flip_count++; diff --git a/src/nouveau_present.c b/src/nouveau_present.c index 482ac6e..ebd5fcf 100644 --- a/src/nouveau_present.c +++ b/src/nouveau_present.c @@ -152,7 +152,7 @@ nouveau_present_flip_check(RRCrtcPtr rrcrtc, WindowPtr window, ScrnInfoPtr scrn = xf86ScreenToScrn(window->drawable.pScreen); xf86CrtcPtr crtc = rrcrtc->devPrivate; - if (!scrn->vtSema || !crtc->enabled) + if (!scrn->vtSema || !drmmode_crtc_on(crtc)) return FALSE; return TRUE; @@ -199,7 +199,7 @@...