Displaying 2 results from an estimated 2 matches for "nouveau_present_crtc".
2019 Jan 23
0
[PATCH] present: rotated crtc's work fine
...s 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 rrcrtc, WindowPtr window,
ScrnInfoPtr scrn = xf86ScreenToScrn(window->drawable.pScreen);
xf86CrtcPtr crtc...
2015 Jul 29
3
[PATCH 1/2] present: Fixup return type of nouveau_present_init()
...oPtr scrn = xf86ScreenToScrn(screen);
@@ -304,7 +304,7 @@ nouveau_present_init(ScreenPtr screen)
present = pNv->present = calloc(1, sizeof(*present));
if (!present)
- return -ENOMEM;
+ return FALSE;
present->info.version = PRESENT_SCREEN_INFO_VERSION;
present->info.get_crtc = nouveau_present_crtc;
--
1.9.1