search for: nouveau_driv

Displaying 15 results from an estimated 15 matches for "nouveau_driv".

Did you mean: nouveau_drv
2012 May 23
5
[Bug 50280] New: Mesa 8.0.3 fails to build dri/nouveau against libdrm 2.4.34
...link.it Created attachment 62018 --> https://bugs.freedesktop.org/attachment.cgi?id=62018 Log of a failed build As per summary. Building against libdrm 2.4.34 and kernel 3.2.16, Mandriva 2010.2 x86_64. The message error is: ************************** In file included from nouveau_fbo.c:27: nouveau_driver.h:41:28: error: nouveau_device.h: No such file or directory nouveau_driver.h:42:27: error: nouveau_grobj.h: No such file or directory nouveau_driver.h:43:29: error: nouveau_channel.h: No such file or directory nouveau_driver.h:44:24: error: nouveau_bo.h: No such file or directory nouveau_driver.h...
2014 Jan 10
2
[PATCH] nouveau: add framebuffer validation callback
...hments. Should MaxColorAttachments be set to 1? I think it's set to 8 right now. And there's also an odd nouveau_validate_framebuffer thing in nouveau_context.c, but I think that's related to actually rendering/invalidating the fb displayed to the screen. src/mesa/drivers/dri/nouveau/nouveau_driver.h | 1 + src/mesa/drivers/dri/nouveau/nouveau_fbo.c | 38 +++++++++++++++++++++++++++ src/mesa/drivers/dri/nouveau/nv04_context.c | 14 ++++++++++ src/mesa/drivers/dri/nouveau/nv10_context.c | 16 +++++++++++ src/mesa/drivers/dri/nouveau/nv20_context.c | 16 +++++++++++ 5 files changed,...
2014 Jan 14
0
[PATCH] nouveau: add framebuffer validation callback
...to renew any of the render buffers, e.g. in case the window was resized or SwapBuffers() was called. It's rather unfortunate that the name of your new function is just a permutation of the old one, how about 'nouveau_check_framebuffer_completeness'? > src/mesa/drivers/dri/nouveau/nouveau_driver.h | 1 + > src/mesa/drivers/dri/nouveau/nouveau_fbo.c | 38 +++++++++++++++++++++++++++ > src/mesa/drivers/dri/nouveau/nv04_context.c | 14 ++++++++++ > src/mesa/drivers/dri/nouveau/nv10_context.c | 16 +++++++++++ > src/mesa/drivers/dri/nouveau/nv20_context.c | 16 +++++++++...
2014 Jan 15
1
[PATCH v2] nouveau: add framebuffer validation callback
...8888: + case MESA_FORMAT_ARGB8888: + case MESA_FORMAT_Z24_S8: + return 32; + case MESA_FORMAT_RGB565: + case MESA_FORMAT_Z16: + return 16; + default: + return 0; + } +} + +static void +nouveau_check_framebuffer_complete(struct gl_context *ctx, + struct gl_framebuffer *fb) +{ + const struct nouveau_driver *drv = context_drv(ctx); + struct gl_renderbuffer_attachment *color = + &fb->Attachment[BUFFER_COLOR0]; + struct gl_renderbuffer_attachment *depth = + &fb->Attachment[BUFFER_DEPTH]; + int color_bpp = 0, zeta_bpp; + + if (color->Type == GL_TEXTURE) { + color_bpp = validate_form...
2010 Feb 16
1
Build failure in Mesa
...no-strict-aliasing -fPIC -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_XEXTPROTO_71 -I/usr/include/drm -I/usr/include/nouveau nouveau_driver.c -o nouveau_driver.o gcc -c -I. -I../../../../../src/mesa/drivers/dri/common -Iserver -I../../../../../include -I../../../../../src/mesa -I../../../../../src/egl/main -I../../../../../src/egl/drivers/dri -I/usr/include/drm -g -O2 -Wall -Wmissing-prototypes -std=c99 -ffast-math -fvisibility=hi...
2015 Dec 19
2
[PATCH] nvc0: add hardware ETC2 and ASTC support where possible
...NV50_TIC_0_FMT_ASTC_2D_8X8 0x44 +#define NV50_TIC_0_FMT_ASTC_2D_10X5 0x56 +#define NV50_TIC_0_FMT_ASTC_2D_10X6 0x57 +#define NV50_TIC_0_FMT_ASTC_2D_10X8 0x53 +#define NV50_TIC_0_FMT_ASTC_2D_10X10 0x45 +#define NV50_TIC_0_FMT_ASTC_2D_12X10 0x54 +#define NV50_TIC_0_FMT_ASTC_2D_12X12 0x46 + #if NOUVEAU_DRIVER == 0xc0 # define NVXX_3D_VAF_SIZE(s) NVC0_3D_VERTEX_ATTRIB_FORMAT_SIZE_##s # define NVXX_3D_VAF_TYPE(t) NVC0_3D_VERTEX_ATTRIB_FORMAT_TYPE_##t @@ -296,6 +319,47 @@ const struct nv50_format nv50_format_table[PIPE_FORMAT_COUNT] = F3B(BPTC_RGB_FLOAT, NONE, C0, C1, C2, xx, FLOAT, BPTC_FLOAT, t)...
2010 Feb 02
2
[RFC] Merge of a reincarnation of the nouveau classic mesa driver.
...| 107 +++ src/mesa/drivers/dri/nouveau/nouveau_bufferobj.c | 172 ++++ src/mesa/drivers/dri/nouveau/nouveau_bufferobj.h | 39 + src/mesa/drivers/dri/nouveau/nouveau_context.c | 273 +++++++ src/mesa/drivers/dri/nouveau/nouveau_context.h | 105 +++ src/mesa/drivers/dri/nouveau/nouveau_driver.c | 140 ++++ src/mesa/drivers/dri/nouveau/nouveau_driver.h | 89 ++ src/mesa/drivers/dri/nouveau/nouveau_fbo.c | 277 +++++++ src/mesa/drivers/dri/nouveau/nouveau_fbo.h | 51 ++ src/mesa/drivers/dri/nouveau/nouveau_gldefs.h | 263 ++++++ src/mesa/drivers/dri...
2015 Dec 19
0
[PATCH] nvc0: add hardware ETC2 and ASTC support where possible
...+#define NV50_TIC_0_FMT_ASTC_2D_10X5 0x56 > +#define NV50_TIC_0_FMT_ASTC_2D_10X6 0x57 > +#define NV50_TIC_0_FMT_ASTC_2D_10X8 0x53 > +#define NV50_TIC_0_FMT_ASTC_2D_10X10 0x45 > +#define NV50_TIC_0_FMT_ASTC_2D_12X10 0x54 > +#define NV50_TIC_0_FMT_ASTC_2D_12X12 0x46 > + > #if NOUVEAU_DRIVER == 0xc0 > # define NVXX_3D_VAF_SIZE(s) NVC0_3D_VERTEX_ATTRIB_FORMAT_SIZE_##s > # define NVXX_3D_VAF_TYPE(t) NVC0_3D_VERTEX_ATTRIB_FORMAT_TYPE_##t > @@ -296,6 +319,47 @@ const struct nv50_format nv50_format_table[PIPE_FORMAT_COUNT] = > F3B(BPTC_RGB_FLOAT, NONE, C0, C1, C2, xx, F...
2016 Feb 15
1
[PATCH 09/23] nv50-: separate vertex formats from surface format descriptions
...gt; + V_C4B(p, n, r, ZERO, ZERO, ONE_FLOAT, t, s, u) > +#define V_I1B(p, n, r, g, b, a, t, s, u) \ > + V_C4B(p, n, r, ZERO, ZERO, ONE_INT, t, s, u) > + > +#define V_A1B(p, n, r, g, b, a, t, s, u) \ > + V_C4B(p, n, ZERO, ZERO, ZERO, a, t, s, u) > + > +#if NOUVEAU_DRIVER == 0xc0 > +const struct nvc0_vertex_format nvc0_vertex_format[PIPE_FORMAT_COUNT] = > +#else > +const struct nv50_vertex_format nv50_vertex_format[PIPE_FORMAT_COUNT] = > +#endif > +{ > + V_C4A(B8G8R8A8_UNORM, BGRA8_UNORM, C2, C1, C0, C3, UNORM, 8_8_8_8, > TDV, 1), > + V...
2016 Feb 15
24
[PATCH 01/23] nv50: import updated g80_defs.xml.h from rnndb
From: Ben Skeggs <bskeggs at redhat.com> Signed-off-by: Ben Skeggs <bskeggs at redhat.com> --- src/gallium/drivers/nouveau/nv50/g80_defs.xml.h | 279 ++++++++++++++++++++++++ 1 file changed, 279 insertions(+) create mode 100644 src/gallium/drivers/nouveau/nv50/g80_defs.xml.h diff --git a/src/gallium/drivers/nouveau/nv50/g80_defs.xml.h
2016 Feb 15
0
[PATCH 09/23] nv50-: separate vertex formats from surface format descriptions
...(p, n, r, g, b, a, t, s, u) \ + V_C4B(p, n, r, ZERO, ZERO, ONE_FLOAT, t, s, u) +#define V_I1B(p, n, r, g, b, a, t, s, u) \ + V_C4B(p, n, r, ZERO, ZERO, ONE_INT, t, s, u) + +#define V_A1B(p, n, r, g, b, a, t, s, u) \ + V_C4B(p, n, ZERO, ZERO, ZERO, a, t, s, u) + +#if NOUVEAU_DRIVER == 0xc0 +const struct nvc0_vertex_format nvc0_vertex_format[PIPE_FORMAT_COUNT] = +#else +const struct nv50_vertex_format nv50_vertex_format[PIPE_FORMAT_COUNT] = +#endif +{ + V_C4A(B8G8R8A8_UNORM, BGRA8_UNORM, C2, C1, C0, C3, UNORM, 8_8_8_8, TDV, 1), + V_C4A(R8G8B8A8_UNORM, RGBA8_UNORM, C0, C1...
2015 Nov 26
9
[mesa 1/9] nouveau: bump required libdrm version to 2.4.66
From: Ben Skeggs <bskeggs at redhat.com> Signed-off-by: Ben Skeggs <bskeggs at redhat.com> --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 4016871..c02ee61 100644 --- a/configure.ac +++ b/configure.ac @@ -73,7 +73,7 @@ LIBDRM_RADEON_REQUIRED=2.4.56 LIBDRM_AMDGPU_REQUIRED=2.4.63 LIBDRM_INTEL_REQUIRED=2.4.61
2015 Dec 16
11
[mesa v3 1/9] nouveau: bump required libdrm version to 2.4.66
From: Ben Skeggs <bskeggs at redhat.com> v2. forgot bump for non-gallium driver Signed-off-by: Ben Skeggs <bskeggs at redhat.com> --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index b6680d0..965c6f7 100644 --- a/configure.ac +++ b/configure.ac @@ -72,8 +72,8 @@ LIBDRM_REQUIRED=2.4.60
2015 Nov 27
13
[mesa v2 1/9] nouveau: bump required libdrm version to 2.4.66
From: Ben Skeggs <bskeggs at redhat.com> Signed-off-by: Ben Skeggs <bskeggs at redhat.com> --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 4016871..c02ee61 100644 --- a/configure.ac +++ b/configure.ac @@ -73,7 +73,7 @@ LIBDRM_RADEON_REQUIRED=2.4.56 LIBDRM_AMDGPU_REQUIRED=2.4.63 LIBDRM_INTEL_REQUIRED=2.4.61
2014 Dec 31
2
[PATCH 1/2] nv50: regenerate rnndb headers
...C_0_FMT_16_16_16 NV50_TIC_0_FMT_16_16_16_16 +#define NV50_TIC_0_FMT_32_32_32 NVC0_TIC_0_FMT_32_32_32 +#define NV50_TIC_0_FMT_BPTC NVC0_TIC_0_FMT_BPTC +#define NV50_TIC_0_FMT_BPTC_FLOAT NVC0_TIC_0_FMT_BPTC_FLOAT +#define NV50_TIC_0_FMT_BPTC_UFLOAT NVC0_TIC_0_FMT_BPTC_UFLOAT #if NOUVEAU_DRIVER == 0xc0 # define NVXX_3D_VAF_SIZE(s) NVC0_3D_VERTEX_ATTRIB_FORMAT_SIZE_##s diff --git a/src/gallium/drivers/nouveau/nv50/nv50_program.c b/src/gallium/drivers/nouveau/nv50/nv50_program.c index 4744a3c..aaca4c5 100644 --- a/src/gallium/drivers/nouveau/nv50/nv50_program.c +++ b/src/gallium/drivers/...