search for: nouveau_dri2

Displaying 20 results from an estimated 30 matches for "nouveau_dri2".

Did you mean: nouveau_dri
2015 Jul 14
3
[PATCH] avoid build fail without COMPOSITE
--- src/nouveau_dri2.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/nouveau_dri2.c b/src/nouveau_dri2.c index f22e319..4398559 100644 --- a/src/nouveau_dri2.c +++ b/src/nouveau_dri2.c @@ -142,6 +142,7 @@ nouveau_dri2_copy_region2(ScreenPtr pScreen, DrawablePtr pDraw, RegionPt...
2017 Dec 31
2
[PATCH] dri3: remove bogus condition for creating pixmap
Not clear what the depth % 8 was trying to protect against, but it was breaking 30bpp visuals with DRI3. Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu> --- src/nouveau_dri2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nouveau_dri2.c b/src/nouveau_dri2.c index cbb7b2a..07b6022 100644 --- a/src/nouveau_dri2.c +++ b/src/nouveau_dri2.c @@ -1076,7 +1076,7 @@ static PixmapPtr nouveau_dri3_pixmap_from_fd(ScreenPtr screen, int fd, CARD16 wi stru...
2015 Jul 14
2
[PATCH] avoid build fail without COMPOSITE
...Dave Airlie <airlied at redhat.com> Date: Tue Oct 16 16:15:16 2012 +1000 nouveau/dri2: fix pixmap/window offset calcs. This should fix prime rendering under kwin, and not break it under the others. Signed-off-by: Dave Airlie <airlied at redhat.com> diff --git a/src/nouveau_dri2.c b/src/nouveau_dri2.c index 71cff26..7bd0b3a 100644 --- a/src/nouveau_dri2.c +++ b/src/nouveau_dri2.c @@ -165,9 +165,9 @@ nouveau_dri2_copy_region2(ScreenPtr pScreen, DrawablePtr pDraw, RegionPtr pRegio translate = TRUE; if (translate && pDraw->type == DRAWABLE_...
2012 May 03
1
[PATCH] nouveau/dri2: don't try to page flip pixmaps
...ditionally, don't try to pageflip if user disabled it in xorg.conf. Currently this change is a no-op, because can_exchange returns true only when page flipping is enabled, but commit 169512fbe91f0671a90dfee5e280357f0a4ef701 - which changed can_exchange behavior - is due to be reverted) --- src/nouveau_dri2.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/nouveau_dri2.c b/src/nouveau_dri2.c index 588735f..3d8d22f 100644 --- a/src/nouveau_dri2.c +++ b/src/nouveau_dri2.c @@ -328,7 +328,8 @@ nouveau_dri2_finish_swap(DrawablePtr draw, unsigned int frame, type = DRI2_EXCH...
2019 Jan 21
5
[PATCH xf86-video-nouveau 0/4] Compiler warnings series
...wfb: Remove declaration for undefined function nouveau_wfb_init() dri2: Mark local create/destroy buffer and copy region functions as static xv: Mark local NVSetupTexturedVideo function as static xv/nv30,nv40: Mark local NV30GetSurfaceFormat and NV40GetSurfaceFormat as static src/nouveau_dri2.c | 12 ++++++------ src/nouveau_xv.c | 2 +- src/nv30_xv_tex.c | 2 +- src/nv40_xv_tex.c | 2 +- src/nv_proto.h | 1 - 5 files changed, 9 insertions(+), 10 deletions(-) -- 2.19.1
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
2015 Jun 30
3
[PATCH] Add Option "DRI3" to allow to disable DRI3 under EXA.
...nf Option "DRI3" allows to enforce or prevent use of DRI3/Present under EXA acceleration for testing. Also add a bit more output about status of Present and DRI3 to aid debugging. Signed-off-by: Mario Kleiner <mario.kleiner.de at gmail.com> --- man/nouveau.man | 6 ++++++ src/nouveau_dri2.c | 11 ++++++++++- src/nv_const.h | 2 ++ src/nv_driver.c | 17 +++++++++++++++-- 4 files changed, 33 insertions(+), 3 deletions(-) diff --git a/man/nouveau.man b/man/nouveau.man index 129bb7f..12cfbc0 100644 --- a/man/nouveau.man +++ b/man/nouveau.man @@ -125,6 +125,12 @@ that relies on...
2012 Mar 01
2
[Patches][nouveau/ddx]: Improvements to bufferswap implementation and timestamping v2
Two "updated" patches, according to Michel Daenzers review. See separate e-mail for details. 01/10: Replaces original 01/09 -- Same code, updated commit message. 10/10: Just for demonstration, not for application to ddx.
2015 Jul 04
2
[PATCH] Add Option "DRI3" to allow to disable DRI3 under EXA.
...er EXA acceleration for >> testing. >> >> Also add a bit more output about status of Present and >> DRI3 to aid debugging. >> >> Signed-off-by: Mario Kleiner <mario.kleiner.de at gmail.com> >> --- >> man/nouveau.man | 6 ++++++ >> src/nouveau_dri2.c | 11 ++++++++++- >> src/nv_const.h | 2 ++ >> src/nv_driver.c | 17 +++++++++++++++-- >> 4 files changed, 33 insertions(+), 3 deletions(-) >> >> diff --git a/man/nouveau.man b/man/nouveau.man >> index 129bb7f..12cfbc0 100644 >> --- a/man/nouveau....
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 +++
2015 Jul 04
2
[PATCH] Add Option "DRI3" to allow to disable DRI3 under EXA.
...gt;>> Also add a bit more output about status of Present and >>>> DRI3 to aid debugging. >>>> >>>> Signed-off-by: Mario Kleiner <mario.kleiner.de at gmail.com> >>>> --- >>>> man/nouveau.man | 6 ++++++ >>>> src/nouveau_dri2.c | 11 ++++++++++- >>>> src/nv_const.h | 2 ++ >>>> src/nv_driver.c | 17 +++++++++++++++-- >>>> 4 files changed, 33 insertions(+), 3 deletions(-) >>>> >>>> diff --git a/man/nouveau.man b/man/nouveau.man >>>> index 129...
2017 Dec 31
0
[PATCH] dri3: remove bogus condition for creating pixmap
...als with DRI3. Erm, actually switching to my test config which doesn't enable dri3 is what "fixed" things. DRI3 is still busted. Ignore this patch until that's properly figured out for 30bpp. > > Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu> > --- > src/nouveau_dri2.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/nouveau_dri2.c b/src/nouveau_dri2.c > index cbb7b2a..07b6022 100644 > --- a/src/nouveau_dri2.c > +++ b/src/nouveau_dri2.c > @@ -1076,7 +1076,7 @@ static PixmapPtr nouveau_dri3_pixmap_from_fd(ScreenPt...
2018 Feb 10
0
[PATCH] dri3: don't check permissions on render node
The permission check fails if udev sets the render node to 0666 but leaves the card at 0660, as is done in at least udev-236. Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu> --- src/nouveau_dri2.c | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/src/nouveau_dri2.c b/src/nouveau_dri2.c index ac0ca09..a726e86 100644 --- a/src/nouveau_dri2.c +++ b/src/nouveau_dri2.c @@ -1024,15 +1024,16 @@ nouveau_dri2_fini(ScreenPtr pScreen) } #ifdef DRI3 -stati...
2019 Oct 12
0
[PATCH xf86-video-nouveau] nv4/exa: tiling is unsupported pre-nv10, reduce alignment requirements
...e the maximum surface pitch has to be strictly less than 8192. The current logic will align 1920*4 up to 8192 unnecessarily. Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu> Cc: Marcin Koƛcielnicki <koriakin at 0x04.net> Cc: Francisco Jerez <currojerez at riseup.net> --- src/nouveau_dri2.c | 5 ++++- src/nv_driver.c | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/nouveau_dri2.c b/src/nouveau_dri2.c index 3d53785..ce0a573 100644 --- a/src/nouveau_dri2.c +++ b/src/nouveau_dri2.c @@ -62,7 +62,10 @@ nouveau_dri2_create_buffer2(ScreenPtr pScreen, DrawableP...
2019 Oct 13
0
[PATCH xf86-video-nouveau] dri2, present: move in pixmap before getting addresses
...without doing the explicit move-in. Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu> --- This fixes some crashes on a NV5 with 32MB VRAM + xfwm4 --vblank=present, however the failure modes (e.g. pixmap doesn't have backing) can happen anywhere I believe, just much less likely. src/nouveau_dri2.c | 18 +++++++++++++++--- src/nouveau_present.c | 15 ++++++++++++++- 2 files changed, 29 insertions(+), 4 deletions(-) diff --git a/src/nouveau_dri2.c b/src/nouveau_dri2.c index ce0a573..8c29eca 100644 --- a/src/nouveau_dri2.c +++ b/src/nouveau_dri2.c @@ -248,9 +248,13 @@ static uint64_t dri2...
2011 Dec 07
0
[PATCH] dri2: fix allocation of Z16 depth attachments
--- src/nouveau_dri2.c | 4 +++- src/nv_accel_common.c | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/nouveau_dri2.c b/src/nouveau_dri2.c index d14443f..b99893f 100644 --- a/src/nouveau_dri2.c +++ b/src/nouveau_dri2.c @@ -46,6 +46,8 @@ nouveau_dri2_create_buffer(DrawablePtr pDraw,...
2018 Feb 04
1
[PATCH 1/2] dri3: remove bogus condition for creating pixmap
Not clear what the depth % 8 was trying to protect against, but it was breaking 30bpp visuals with DRI3. Add it in to ensure that bitsPerPixel % 8 is 0, since there is plenty of bpp/8 math in the driver. Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu> --- src/nouveau_dri2.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/nouveau_dri2.c b/src/nouveau_dri2.c index cbb7b2a..ac0ca09 100644 --- a/src/nouveau_dri2.c +++ b/src/nouveau_dri2.c @@ -1076,13 +1076,16 @@ static PixmapPtr nouveau_dri3_pixmap_from_fd(ScreenPtr screen, int fd, CARD16 wi...
2012 Jul 27
1
[PATCH] nvc0: Add and enable vblank support
...ng is a problem, harmful if the GPU isn't fast enough to keep up with the monitor -refresh rate. Default: off. +refresh rate. Default: on. .TP .BI "Option \*qZaphodHeads\*q \*q" string \*q Specify the randr output(s) to use with zaphod mode for a particular driver diff --git a/src/nouveau_dri2.c b/src/nouveau_dri2.c index 0b3cc38..62333b1 100644 --- a/src/nouveau_dri2.c +++ b/src/nouveau_dri2.c @@ -316,6 +316,9 @@ nouveau_dri2_finish_swap(DrawablePtr draw, unsigned int frame, NOUVEAU_BO_VRAM | NOUVEAU_BO_RD }, 1); + if (pNv->Architecture >= NV_ARCH_C0) + NVC...
2017 Mar 04
0
[DDX PATCH] Consider CRTCs disabled when DPMS is off
...nd turn itself off - Shake the cursor or press something on the keyboard. Chances are the monitor will come back on, but the display remains black until the next time the X server is restarted. Signed-off-by: Lyude <lyude at redhat.com> --- src/drmmode_display.c | 14 ++++++++++++-- src/nouveau_dri2.c | 14 +++++++++----- src/nouveau_present.c | 6 +++--- src/nouveau_xv.c | 2 +- src/nv_proto.h | 1 + 5 files changed, 26 insertions(+), 11 deletions(-) diff --git a/src/drmmode_display.c b/src/drmmode_display.c index b6c9bb9..dd9fa27 100644 --- a/src/drmmode_display.c +++ b/sr...
2015 Mar 14
1
[PATCH ddx] Add support for VRAM-less devices to the ddx
...v at mblankhorst.nl> --- The only thing still missing is adding NOUVEAU_BO_COHERENT to nouveau_allocate_surface, the scratch buffer, and nouveau_exa_scratch. After that xorg stays up long enough to crash in nouveau_exa_share_pixmap_backing, I'm still investigating that. :-) diff --git a/src/nouveau_dri2.c b/src/nouveau_dri2.c index e3445b2..69fcd8c 100644 --- a/src/nouveau_dri2.c +++ b/src/nouveau_dri2.c @@ -684,7 +684,7 @@ nouveau_dri2_finish_swap(DrawablePtr draw, unsigned int frame, /* Reference the back buffer to sync it to vblank */ nouveau_pushbuf_refn(push, &(struct nouveau_pushbu...