Displaying 6 results from an estimated 6 matches for "drmmode_screen_init".
2012 Apr 11
1
[error] xf86-video-nouveau on OpenBSD
...gure
make
But I get this error message :
CC nvc0_exa.lo
CC nvc0_xv.lo
CC drmmode_display.lo
drmmode_display.c: In function 'drmmode_page_flip':
drmmode_display.c:1319: warning: implicit declaration of function
'drmModePageFlip'
drmmode_display.c: In function 'drmmode_screen_init':
drmmode_display.c:1476: error: 'drmEventContext' has no member named
'page_flip_handler'
*** Error code 1
Stop in /home/xf86-video-nouveau-0.0.10/xf86-video-nouveau/src (line 448
of Makefile).
*** Error code 1
Stop in /home/xf86-video-nouveau-0.0.10/xf86-video-nouveau (line...
2012 Jul 04
0
[PATCH] Add xwayland support (v2)
...v->fd, pScrn->bitsPerPixel >> 3);
+
if (ret == FALSE)
NVPreInitFail("Kernel modesetting failed to initialize\n");
@@ -1241,7 +1349,8 @@ NVScreenInit(SCREEN_INIT_ARGS_DECL)
if (serverGeneration == 1)
xf86ShowUnusedOptions(pScrn->scrnIndex, pScrn->options);
- drmmode_screen_init(pScreen);
+ if (!pNv->xwl_screen)
+ drmmode_screen_init(pScreen);
return TRUE;
}
diff --git a/src/nv_include.h b/src/nv_include.h
index 8d628c0..d28ec89 100644
--- a/src/nv_include.h
+++ b/src/nv_include.h
@@ -65,6 +65,13 @@
#include "compat-api.h"
+#ifdef XORG_WAYLAND
+#inc...
2017 Mar 04
0
[DDX PATCH] Consider CRTCs disabled when DPMS is off
...config->crtc[i];
- if (!crtc->enabled)
+ if (!drmmode_crtc_on(crtc))
continue;
if ((x < (crtc->x + crtc->mode.HDisplay)) &&
diff --git a/src/nv_proto.h b/src/nv_proto.h
index 122ede5..4a57406 100644
--- a/src/nv_proto.h
+++ b/src/nv_proto.h
@@ -13,6 +13,7 @@ void drmmode_screen_init(ScreenPtr pScreen);
void drmmode_screen_fini(ScreenPtr pScreen);
int drmmode_crtc(xf86CrtcPtr crtc);
+Bool drmmode_crtc_on(xf86CrtcPtr crtc);
int drmmode_head(xf86CrtcPtr crtc);
void drmmode_swap(ScrnInfoPtr, uint32_t, uint32_t *);
--
2.9.3
2012 May 23
1
[PATCH (nouveau)] Add xwayland support
...el modesetting failed to initialize\n");
/*
@@ -1267,6 +1401,9 @@ NVScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
if (serverGeneration == 1)
xf86ShowUnusedOptions(pScrn->scrnIndex, pScrn->options);
+#ifdef XORG_WAYLAND
+ if (!pNv->xwl_screen)
+#endif
drmmode_screen_init(pScreen);
return TRUE;
}
diff --git a/src/nv_type.h b/src/nv_type.h
index 49150ba..4e36b7f 100644
--- a/src/nv_type.h
+++ b/src/nv_type.h
@@ -15,6 +15,9 @@
#else
#error "This driver requires a DRI-enabled X server"
#endif
+#ifdef XORG_WAYLAND
+#include <xwayland.h>
+#endif...
2013 Jul 22
0
[RFC PATCH] Support running nested in a Mir compositor
...ULL, CMAP_PALETTED_TRUECOLOR))
- return FALSE;
/* Report any unused options (only for the first generation) */
if (serverGeneration == 1)
xf86ShowUnusedOptions(pScrn->scrnIndex, pScrn->options);
- if (xf86_config->num_crtc)
+ if (!xorgMir && xf86_config->num_crtc)
drmmode_screen_init(pScreen);
else
pNv->glx_vblank = FALSE;
+
return TRUE;
}
diff --git a/src/nv_type.h b/src/nv_type.h
index e6945bc..f844fff 100644
--- a/src/nv_type.h
+++ b/src/nv_type.h
@@ -9,6 +9,14 @@
#include <stdint.h>
#include "xf86Crtc.h"
+#ifdef XMIR
+#include "xmir.h&q...
2012 Feb 15
11
[Patches][nouveau/ddx]: Improvements to bufferswap implementation and timestamping
Hi,
here a set of patches against the nouveau-ddx. This is an extended and
revised set, based on Francisco Jerez feedback from autumn last year.
[1/9] Makes pageflipping work again on X-Server 1.12rc. It apparently stopped
working somewhere around Xorg 1.11+.
[2/9] Implements handling of pageflip completion events from the kernel.
Francisco Jerez argument against including it was that the