Displaying 2 results from an estimated 2 matches for "ebd5fcf".
Did you mean:
ebd5f66
2019 Jan 23
0
[PATCH] present: rotated crtc's work fine
...e that.
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
At first blush, this seems to make DRI3 function reasonably with rotated
CRTCs
src/nouveau_present.c | 5 +----
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 r...
2017 Mar 04
0
[DDX PATCH] Consider CRTCs disabled when DPMS is off
...PixmapPtr back, void *priv,
int head = drmmode_crtc(config->crtc[i]);
void *token;
- 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->ena...