Displaying 2 results from an estimated 2 matches for "nouveau_present_flip_exec".
2017 Mar 04
0
[DDX PATCH] Consider CRTCs disabled when DPMS is off
...(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 @@ nouveau_present_flip_exec(ScrnInfoPtr scrn, uint64_t event_id, int sync,
flip->msc = target_msc;
for (i = 0; i < config->num_crtc; i++) {
- if (config->crtc[i]->enabled)
+ if (drmmode_crtc_on(config->crtc[i]))
last = i;
}
@@ -208,7 +208,7 @@ nouveau_present_flip_exec(ScrnInfoPtr...
2014 Jun 21
0
[PATCH 2/2] present: build only when glamor is enabled
nouveau_present_flip_exec references glamor_fd_from_pixmap,
which do not exist when glamor is disabled
Signed-off-by: Marcin Slusarz <marcin.slusarz at gmail.com>
---
src/nouveau_present.c | 2 +-
src/nouveau_present.h | 6 +++++-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/nouveau_present.c b...