Displaying 5 results from an estimated 5 matches for "nv_arch_04".
2010 Jul 29
1
[PATCH] Reflow logic to make it easier to follow
...r ^= 1;
 
-	/* If we're not using the hw overlay, we're rendering into a pixmap
-	 * and need to take a couple of additional steps...
-	 */
-	if (!(action_flags & USE_OVERLAY)) {
-		ppix = NVGetDrawablePixmap(pDraw);
+	if (action_flags & USE_OVERLAY) {
+		if (pNv->Architecture == NV_ARCH_04) {
+			NV04PutOverlayImage(pScrn, pPriv->video_mem, offset,
+					    id, dstPitch, &dstBox, 0, 0,
+					    xb, yb, npixels, nlines,
+					    src_w, src_h, drw_w, drw_h,
+					    clipBoxes);
+		} else {
+			NV10PutOverlayImage(pScrn, pPriv->video_mem, offset,
+					    uv_offset, id, d...
2010 Feb 10
0
[PATCH] Revert "kms: work around some bong hits with dpms"
...-331,10 +331,8 @@ NVEnterVT(int scrnIndex, int flags)
 	if (ret)
 		ErrorF("Unable to get master: %d\n", ret);
 
-	pNv->allow_dpms = FALSE;
 	if (!xf86SetDesiredModes(pScrn))
 		return FALSE;
-	pNv->allow_dpms = TRUE;
 
 	if (pNv->overlayAdaptor && pNv->Architecture != NV_ARCH_04)
 		NV10WriteOverlayParameters(pScrn);
diff --git a/src/nv_type.h b/src/nv_type.h
index 989812b..18ea3bb 100644
--- a/src/nv_type.h
+++ b/src/nv_type.h
@@ -69,7 +69,6 @@ typedef struct _NVRec {
     drmVersionPtr       pKernelDRMVersion;
 
 	void *drmmode; /* for KMS */
-	Bool allow_dpms;
 
 	/* DR...
2013 Mar 29
2
[Bug 62916] New: NVEnterTV fails on hybrid cards
...-29 17:20:15.810287942 -0400
@@ -407,8 +407,7 @@
     if (ret)
         ErrorF("Unable to get master: %s\n", strerror(errno));
-    if (!xf86SetDesiredModes(pScrn))
-        return FALSE;
+    xf86SetDesiredModes(pScrn);
     if (pNv->overlayAdaptor && pNv->Architecture != NV_ARCH_04)
         NV10WriteOverlayParameters(pScrn);
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20130329/d40f6251/attachment.html>...
2012 May 23
1
[PATCH (nouveau)] Add xwayland support
...--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
 
 #define NV_ARCH_03  0x03
 #define NV_ARCH_04  0x04
@@ -76,6 +79,10 @@ typedef struct _NVRec {
 
 	void *drmmode; /* for KMS */
 
+#ifdef XORG_WAYLAND
+	struct xwl_screen *xwl_screen;
+#endif
+
 	/* DRM interface */
 	struct nouveau_device *dev;
 	char *drm_device_name;
-- 
1.7.10
2012 Jul 04
0
[PATCH] Add xwayland support (v2)
...--git a/src/nv_type.h b/src/nv_type.h
index e1ea494..0e8690f 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
 
 #define NV_ARCH_03  0x03
 #define NV_ARCH_04  0x04
@@ -72,6 +75,8 @@ typedef struct _NVRec {
 
 	void *drmmode; /* for KMS */
 
+	struct xwl_screen *xwl_screen;
+
 	/* DRM interface */
 	struct nouveau_device *dev;
 	char *drm_device_name;
diff --git a/src/xwayland_compat.c b/src/xwayland_compat.c
new file mode 100644
index 0000000..bcc7685
-...