search for: nv_includ

Displaying 13 results from an estimated 13 matches for "nv_includ".

Did you mean: nv_include
2019 Jan 21
2
[PATCH xf86-video-nouveau] wfb: Fix missing init function decls behind FB_ACCESS_WRAPPER
...eenInit’; did you mean ‘fbScreenInit’? [-Wimplicit-function-declaration] ret = wfbScreenInit(pScreen, FBStart, pScrn->virtualX, ^~~~~~~~~~~~~ fbScreenInit (See xserver 706e6d9cd074da606016ed4ecff51e9c2a822087) Signed-off-by: Rhys Kidd <rhyskidd at gmail.com> --- src/nv_include.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/nv_include.h b/src/nv_include.h index de55570..6fdeeab 100644 --- a/src/nv_include.h +++ b/src/nv_include.h @@ -38,6 +38,7 @@ #include "dixstruct.h" #include "scrnintstr.h" +#define FB_ACCESS_WRAPPER #include "...
2019 Jan 23
0
[PATCH xf86-video-nouveau] wfb: Fix missing init function decls behind FB_ACCESS_WRAPPER
...mplicit-function-declaration] > ret = wfbScreenInit(pScreen, FBStart, pScrn->virtualX, > ^~~~~~~~~~~~~ > fbScreenInit > > (See xserver 706e6d9cd074da606016ed4ecff51e9c2a822087) > > Signed-off-by: Rhys Kidd <rhyskidd at gmail.com> > --- > src/nv_include.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/src/nv_include.h b/src/nv_include.h > index de55570..6fdeeab 100644 > --- a/src/nv_include.h > +++ b/src/nv_include.h > @@ -38,6 +38,7 @@ > #include "dixstruct.h" > #include "scrnintstr.h" &...
2014 Oct 29
1
[PATCH] Remove sarea header
This isn't needed any longer (DRI1 is gone) so let's remove 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 "sar...
2009 Jun 10
0
[PATCH] Use nanosleep instead of usleep when waiting the hardware.
...r receives SIGALRM or SIGIO the waits are shortened and random modesetting failures happen: Use nanosleep and loop around it until the requested time has elapsed. --- src/nouveau_hw.c | 2 +- src/nouveau_local.h | 6 ++++++ src/nv_bios.c | 2 +- src/nv_crtc.c | 2 +- src/nv_include.h | 1 + src/nv_output.c | 10 +++++----- 6 files changed, 15 insertions(+), 8 deletions(-) diff --git a/src/nouveau_hw.c b/src/nouveau_hw.c index 7d210d7..c2cad37 100644 --- a/src/nouveau_hw.c +++ b/src/nouveau_hw.c @@ -208,7 +208,7 @@ static void setPLL_single(ScrnInfoPtr pScrn, uin...
2012 Jul 04
0
[PATCH] Add xwayland support (v2)
...pat header Signed-off-by: Christopher 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/conf...
2019 Jan 19
0
[PATCH xf86-video-nouveau] Check for xf86CursorResetCursor()
...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 radeon commit d670c5c9851b4eff21c845d26c7...
2009 Jun 10
1
Compilation error in nouveau_exa.c
...inline-all-stringops -I/usr/local/include/xorg -I/usr/local/include -I/usr/local/include/drm -I/usr/pkg/include/pixman-1 -I/usr/pkg/include -I/usr/pkg/include/X11/dri -MT nouveau_exa.lo -MD -MP -MF .deps/nouveau_exa.Tpo -c nouveau_exa.c -fPIC -DPIC -o .libs/nouveau_exa.o > In file included from nv_include.h:72, > from nouveau_exa.c:23: > nouveau_hw.h: In function 'NVRead': > nouveau_hw.h:43: warning: value computed is not used > nouveau_exa.c: In function 'NVAccelDownloadM2MF': > nouveau_exa.c:92: error: 'struct nouveau_bo' has no member named...
2014 Jun 21
0
[PATCH 2/2] present: build only when glamor is enabled
...tions(-) diff --git a/src/nouveau_present.c b/src/nouveau_present.c index b294bbe..38f2cac 100644 --- a/src/nouveau_present.c +++ b/src/nouveau_present.c @@ -23,7 +23,7 @@ */ #include "nouveau_present.h" -#ifdef DRI3 +#if defined(DRI3) && defined(HAVE_GLAMOR) #include "nv_include.h" #include "nouveau_glamor.h" #include "xf86drmMode.h" diff --git a/src/nouveau_present.h b/src/nouveau_present.h index dea19ce..958c2f7 100644 --- a/src/nouveau_present.h +++ b/src/nouveau_present.h @@ -4,7 +4,11 @@ #include "xorg-server.h" #include "s...
2010 Aug 05
0
[PATCH] drmmode: Add backlight support
...play.c | 269 ++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 268 insertions(+), 1 deletions(-) diff --git a/src/drmmode_display.c b/src/drmmode_display.c index 9b5d52d..7c3c250 100644 --- a/src/drmmode_display.c +++ b/src/drmmode_display.c @@ -35,13 +35,30 @@ #include "nv_include.h" #include "xf86drmMode.h" -#include "X11/Xatom.h" +#include <X11/Xatom.h> +#include <fcntl.h> #include <sys/ioctl.h> #ifdef HAVE_LIBUDEV #include "libudev.h" #endif + +#define BACKLIGHT_NAME "Backlight" +#define...
2007 Jun 11
15
[Bug 11240] New: doesn't start X - DMA Queue hang
http://bugs.freedesktop.org/show_bug.cgi?id=11240 Summary: doesn't start X - DMA Queue hang Product: xorg Version: 7.2 Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Component: Driver/nouveau AssignedTo: nouveau at lists.freedesktop.org ReportedBy: notting
2013 Feb 16
8
Bugfix + dri1 cleanup patches
Had those patches living in my local tree for a while now. Here is a respin on top of latest master Patch 1: regression fix, preventing the ddx from loading if kernel module is not loaded Patches 2-5: Completely nuke dri1, make dri2 hard dependency Patches 6-7: Assist people with first-time build of nouveau Git complains about whitespace errors in patch 7, which for the sake of me I cannot
2007 May 30
0
[PATCH] added comments
- added lots of comments, discussed comments with ahuillet and refined comments - replaced two constants with MACROs - no changes to actual code diff --git a/src/nv_video.c b/src/nv_video.c index cf4f88d..d9ee700 100644 --- a/src/nv_video.c +++ b/src/nv_video.c @@ -25,6 +25,15 @@ #include "nv_include.h" #include "nv_dma.h" +/* +2046 is the maximum image size in one dimension. +- why 2046 and not 2048? a hardware filter needs a one pixel bound at every edge +- in some color spaces w may be rounded up to multiple of 4 and may thus exceed the maximum. + What happens then? +*/ +...
2009 Nov 04
1
[PATCH] nv10/exa: Spring-cleaning
...ight 2007 Arthur Huillet * Copyright 2007 Peter Winters + * Copyright 2009 Francisco Jerez * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -28,24 +29,83 @@ #include "nv_include.h" -typedef struct nv10_exa_state { - Bool have_mask; - Bool is_a8_plus_a8; - struct { - PictTransformPtr transform; - float width; - float height; - } unit[2]; -} nv10_exa_state_t; -static nv10_exa_state_t state; +/* Texture/Render target formats. */ +static struct pict_format { + int e...