Displaying 19 results from an estimated 19 matches for "nv_type".
2009 Mar 08
4
[PATCH 1/5] nv50: implement wfb
- Only for sufficiently new xserver's and exa_driver_pixmaps.
---
 src/nouveau_exa.c |  217 +++++++++++++++++++++++++++++++++++++++++++++++++++--
 src/nv_driver.c   |   51 +++++++++++--
 src/nv_proto.h    |    4 +
 src/nv_type.h     |   12 +++-
 4 files changed, 267 insertions(+), 17 deletions(-)
diff --git a/src/nouveau_exa.c b/src/nouveau_exa.c
index 93fc3c5..074a226 100644
--- a/src/nouveau_exa.c
+++ b/src/nouveau_exa.c
@@ -259,7 +259,11 @@ nouveau_exa_mark_sync(ScreenPtr pScreen)
 static void
 nouveau_exa_wait_marke...
2013 Feb 16
8
Bugfix + dri1 cleanup patches
...te dri2 build
[PATCH 6/7] configure: require xorg-macros 1.8
[PATCH 7/7] configure: printout the configuration info
--
 configure.ac       | 33 ++++++++++++++++++++++++++++++++-
 src/nouveau_dri2.c | 16 ++--------------
 src/nv_driver.c    | 46 +++++++++++++++++-----------------------------
 src/nv_type.h      |  8 --------
 4 files changed, 51 insertions(+), 52 deletions(-)
2009 Dec 11
2
[PATCH 1/2] exa: Pre-G80 tiling support.
...used
and we're told to with the NOUVEAU_CREATE_PIXMAP_TILED usage hint.
Signed-off-by: Francisco Jerez <currojerez at riseup.net>
---
 src/nouveau_exa.c |   31 ++++++++++++++++++++-----------
 src/nv50_exa.c    |    6 +++---
 src/nv50_xv.c     |    2 +-
 src/nv_proto.h    |    2 +-
 src/nv_type.h     |    1 +
 5 files changed, 26 insertions(+), 16 deletions(-)
diff --git a/src/nouveau_exa.c b/src/nouveau_exa.c
index 4769fd9..b5eb421 100644
--- a/src/nouveau_exa.c
+++ b/src/nouveau_exa.c
@@ -57,7 +57,7 @@ NVAccelDownloadM2MF(PixmapPtr pspix, int x, int y, int w, int h,
 	unsigned line_len...
2017 Mar 22
0
[PATCH xf86-video-nouveau] Add Pascal family support, identical to Maxwell
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
Untested.
 src/nouveau_copy.c    | 2 ++
 src/nouveau_exa.c     | 1 +
 src/nv_accel_common.c | 1 +
 src/nv_driver.c       | 3 +++
 src/nv_type.h         | 1 +
 src/nvc0_accel.c      | 6 ++++++
 6 files changed, 14 insertions(+)
diff --git a/src/nouveau_copy.c b/src/nouveau_copy.c
index 7118a7a..7fbcc87 100644
--- a/src/nouveau_copy.c
+++ b/src/nouveau_copy.c
@@ -42,6 +42,7 @@ nouveau_copy_init(ScreenPtr pScreen)
 		int engine;
 		Bool (*...
2010 Feb 10
0
[PATCH] Revert "kms: work around some bong hits with dpms"
This reverts commit 98c9e4edb58374f18249e5c9c53b392fb8b4a1d1. AFAIK
it's no longer needed.
Signed-off-by: Francisco Jerez <currojerez at riseup.net>
---
 src/drmmode_display.c |    3 ---
 src/nv_driver.c       |    2 --
 src/nv_type.h         |    1 -
 3 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/src/drmmode_display.c b/src/drmmode_display.c
index 7c45d9c..a91741d 100644
--- a/src/drmmode_display.c
+++ b/src/drmmode_display.c
@@ -651,9 +651,6 @@ drmmode_output_dpms(xf86OutputPtr output, int mode)
 	drmmode_pt...
2017 Mar 22
0
[PATCH xf86-video-nouveau v2] Add Pascal family support, identical to Maxwell
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
v1 -> v2: add 0x130 as a valid chip type early on in detection
 src/nouveau_copy.c    | 2 ++
 src/nouveau_exa.c     | 1 +
 src/nv_accel_common.c | 1 +
 src/nv_driver.c       | 4 ++++
 src/nv_type.h         | 1 +
 src/nvc0_accel.c      | 6 ++++++
 6 files changed, 15 insertions(+)
diff --git a/src/nouveau_copy.c b/src/nouveau_copy.c
index 7118a7a..7fbcc87 100644
--- a/src/nouveau_copy.c
+++ b/src/nouveau_copy.c
@@ -42,6 +42,7 @@ nouveau_copy_init(ScreenPtr pScreen)
 		int engine;
 		Bool (*...
2015 Jul 29
3
[PATCH 1/2] present: Fixup return type of nouveau_present_init()
Make it a Bool consistently, as declared in header.
Reported-by: Ilia Mirkin <imirkin at alum.mit.edu>
Signed-off-by: Mario Kleiner <mario.kleiner.de at gmail.com>
---
 src/nouveau_present.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/nouveau_present.c b/src/nouveau_present.c
index 4de1e6e..699a58d 100644
--- a/src/nouveau_present.c
+++
2012 Jul 27
1
[PATCH] nvc0: Add and enable vblank support
...ScrnInfoPtr pScrn);
 Bool NVAccelInitNV50TCL(ScrnInfoPtr pScrn);
 
 /* in nvc0_accel.c */
+void NVC0SyncToVBlank(PixmapPtr ppix, BoxPtr box);
 Bool NVAccelInitM2MF_NVC0(ScrnInfoPtr pScrn);
 Bool NVAccelInitCopy_NVC0(ScrnInfoPtr pScrn);
 Bool NVAccelInitP2MF_NVE0(ScrnInfoPtr pScrn);
diff --git a/src/nv_type.h b/src/nv_type.h
index e1ea494..272e34f 100644
--- a/src/nv_type.h
+++ b/src/nv_type.h
@@ -102,6 +102,7 @@ typedef struct _NVRec {
 	struct nouveau_object *Nv2D;
 	struct nouveau_object *Nv3D;
 	struct nouveau_object *NvSW;
+	struct nouveau_bo *notifier_bo;
 	struct nouveau_bo *scratch;
 
 	Bool c...
2015 Mar 14
1
[PATCH ddx] Add support for VRAM-less devices to the ddx
...v->vram_domain = NOUVEAU_BO_VRAM;
+	if (!dev->vram_size)
+		pNv->vram_domain = NOUVEAU_BO_GART;
+	else if (dev->vram_size <= 16 * 1024 * 1024)
 		defaultDepth = 16;
 	if (!xf86SetDepthBpp(pScrn, defaultDepth, 0, 0, Support32bppFb)) {
 		NVPreInitFail("\n");
diff --git a/src/nv_type.h b/src/nv_type.h
index e6ab192..c5a2684 100644
--- a/src/nv_type.h
+++ b/src/nv_type.h
@@ -122,6 +122,7 @@ typedef struct _NVRec {
 	struct nouveau_bo *scratch;
 
 	Bool ce_enabled;
+	uint32_t vram_domain;
 	struct nouveau_object *ce_channel;
 	struct nouveau_pushbuf *ce_pushbuf;
 	struct nouveau_...
2012 May 23
1
[PATCH (nouveau)] Add xwayland support
...y: Christopher James Halse Rogers <christopher.halse.rogers at canonical.com>
---
This is mostly just for testing, although it should be safe to apply to nouveau
trunk.
 src/nouveau_dri2.c |   34 +++++++++++
 src/nv_driver.c    |  163 +++++++++++++++++++++++++++++++++++++++++++++++-----
 src/nv_type.h      |    7 +++
 3 files changed, 191 insertions(+), 13 deletions(-)
diff --git a/src/nouveau_dri2.c b/src/nouveau_dri2.c
index 7e47575..cb1a395 100644
--- a/src/nouveau_dri2.c
+++ b/src/nouveau_dri2.c
@@ -8,6 +8,10 @@
 #ifdef DRI2
 #include "dri2.h"
 #endif
+#ifdef XORG_WAYLAND
+#incl...
2007 Jul 05
0
RANDR1.2 and LVDS
...nt i2c_index)
 {
@@ -784,6 +833,9 @@ void NvDCBSetupOutputs(ScrnInfoPtr pScrn)
 	case 0: /* analog */
 	  nv_add_analog_output(pScrn, port);
 	  break;
+	case 1: /* panel */
+	  nv_add_lvds_output(pScrn, port);
+	  break;
 	case 2:
 	  nv_add_digital_output(pScrn, port);
 	default:
diff --git a/src/nv_type.h b/src/nv_type.h
index fd5054f..fe18e38 100644
--- a/src/nv_type.h
+++ b/src/nv_type.h
@@ -309,6 +309,7 @@ typedef struct _NVRec {
     int dcb_entries;
 
     int analog_count;
+    int lvds_count;
     int digital_count;
     CARD32 dcb_table[NV40_NUM_DCB_ENTRIES]; /* 10 is a good limit */
 } NV...
2012 Jul 04
0
[PATCH] Add xwayland support (v2)
...opher James Halse Rogers <christopher.halse.rogers at canonical.com>
---
 configure.ac          |    7 ++
 src/Makefile.am       |    4 ++
 src/nouveau_dri2.c    |   19 ++++++
 src/nv_driver.c       |  179 +++++++++++++++++++++++++++++++++++++++----------
 src/nv_include.h      |    7 ++
 src/nv_type.h         |    5 ++
 src/xwayland_compat.c |   61 +++++++++++++++++
 src/xwayland_compat.h |   52 ++++++++++++++
 8 files changed, 299 insertions(+), 35 deletions(-)
 create mode 100644 src/xwayland_compat.c
 create mode 100644 src/xwayland_compat.h
diff --git a/configure.ac b/configure.ac
index a...
2013 Jul 22
0
[RFC PATCH] Support running nested in a Mir compositor
...not doing a fullscreen blit on all damage, integration with
DRI2 and SwapBuffers to avoid copies, etc.
Signed-off-by: Christopher James Halse Rogers <raof at ubuntu.com>
---
 src/nouveau_dri2.c |  22 ++++++-
 src/nv_driver.c    | 170 +++++++++++++++++++++++++++++++++++++++++++++++++----
 src/nv_type.h      |  10 ++++
 3 files changed, 188 insertions(+), 14 deletions(-)
diff --git a/src/nouveau_dri2.c b/src/nouveau_dri2.c
index 3785956..2ad9932 100644
--- a/src/nouveau_dri2.c
+++ b/src/nouveau_dri2.c
@@ -267,7 +267,7 @@ can_exchange(DrawablePtr draw, PixmapPtr dst_pix, PixmapPtr src_pix)
 	NVP...
2019 Jan 19
0
[PATCH xf86-video-nouveau] Check for xf86CursorResetCursor()
...call
the latter anymore.
Avoids gcc 8.2 warning:
drmmode_display.c: In function ‘drmmode_set_mode_major’:
drmmode_display.c:525:2: warning: ‘xf86_reload_cursors’ is deprecated [-Wdeprecated-declarations]
  xf86_reload_cursors(crtc->scrn->pScreen);
  ^~~~~~~~~~~~~~~~~~~
In file included from nv_type.h:10,
                 from nv_include.h:69,
                 from drmmode_display.c:36:
/usr/include/xorg/xf86Crtc.h:1068:37: note: declared here
 static _X_INLINE _X_DEPRECATED void xf86_reload_cursors(ScreenPtr screen) {}
                                     ^~~~~~~~~~~~~~~~~~~
(Ported from rad...
2012 Oct 24
0
[ANNOUNCE] xf86-video-nouveau 1.0.3
...dam Jackson (1):
      Remove mibstore.h
Ben Skeggs (1):
      shadowfb: fix segfault due to reading outside of shadow buffer
Dave Airlie (1):
      nouveau/dri2: fix pixmap/window offset calcs.
Maarten Lankhorst (6):
      nvc0/exa: make solid fill actually work
      remove unused members from nv_type.h
      exa: fix up download_from/upload_to screen
      exa: fix comparison in download_from_screen
      exa: remove exaMarkSync from download/upload screen
      bump version to 1.0.3
Mario Kleiner (1):
      dri2: Fix potential race and crash for swap at next vblank.
Sebastian Keller (1):...
2012 Oct 24
0
[ANNOUNCE] xf86-video-nouveau 1.0.3
...dam Jackson (1):
      Remove mibstore.h
Ben Skeggs (1):
      shadowfb: fix segfault due to reading outside of shadow buffer
Dave Airlie (1):
      nouveau/dri2: fix pixmap/window offset calcs.
Maarten Lankhorst (6):
      nvc0/exa: make solid fill actually work
      remove unused members from nv_type.h
      exa: fix up download_from/upload_to screen
      exa: fix comparison in download_from_screen
      exa: remove exaMarkSync from download/upload screen
      bump version to 1.0.3
Mario Kleiner (1):
      dri2: Fix potential race and crash for swap at next vblank.
Sebastian Keller (1):...
2007 Nov 10
1
xf86-video-nouveau does not compile
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/nouveau/attachments/20071110/afabc523/attachment.html
2014 Oct 29
1
[PATCH] Remove sarea header
...this as
well.
Signed-off-by: Stéphane Marchesin <marcheu at chromium.org>
---
 src/nv_include.h | 1 -
 1 file changed, 1 deletion(-)
diff --git a/src/nv_include.h b/src/nv_include.h
index de55570..eee8c5d 100644
--- a/src/nv_include.h
+++ b/src/nv_include.h
@@ -69,6 +69,5 @@
 #include "nv_type.h"
 #include "nv_proto.h"
 #include "nv_dma.h"
-#include "sarea.h"
 
 #endif /* __NV_INCLUDE_H__ */
-- 
2.1.0.rc2.206.gedb03e5
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