search for: nv50_format

Displaying 20 results from an estimated 21 matches for "nv50_format".

Did you mean: nv50_formats
2015 Dec 19
2
[PATCH] nvc0: add hardware ETC2 and ASTC support where possible
These are supported on GK20A and GM107. Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu> --- Was a bit torn on where to place the enums... we're about to gut all the xml definitions so this seemed appropriate for now. Tested on GK20A only. src/gallium/drivers/nouveau/nv50/nv50_formats.c | 64 +++++++++++++++++++++++++ src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 10 ++++ src/gallium/drivers/nouveau/nvc0/nvc0_tex.c | 4 +- 3 files changed, 77 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/nouveau/nv50/nv50_formats.c b/src/gallium/drivers/nouveau/nv50/nv...
2014 Mar 01
0
[PATCH] nv50,nvc0: add 11f_11f_10f vertex support
...es's piglit tests (on list, but not checked in yet)... only assuming about nvc0, but it seems reasonable since all the other attributes are the same. docs/GL3.txt | 2 +- src/gallium/drivers/nouveau/nv50/nv50_3d.xml.h | 1 + src/gallium/drivers/nouveau/nv50/nv50_formats.c | 2 +- src/gallium/drivers/nouveau/nvc0/nvc0_3d.xml.h | 1 + 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/GL3.txt b/docs/GL3.txt index 755a89c..9738ffc 100644 --- a/docs/GL3.txt +++ b/docs/GL3.txt @@ -177,7 +177,7 @@ GL 4.4: GL_ARB_query_buffer_object...
2014 Jan 23
2
[PATCH v2] nv50, nvc0: clear out RT on a null cbuf
...the format to NONE. Either way this patch looks good afaics Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com> > Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu> > --- > src/gallium/drivers/nouveau/nv50/nv50_defs.xml.h | 1 + > src/gallium/drivers/nouveau/nv50/nv50_formats.c | 1 - > .../drivers/nouveau/nv50/nv50_state_validate.c | 30 +++++++++++++++++++--- > .../drivers/nouveau/nvc0/nvc0_state_validate.c | 28 +++++++++++++++++--- > 4 files changed, 52 insertions(+), 8 deletions(-) > > diff --git a/src/gallium/drivers/nouveau/nv50/nv50_...
2014 Jan 15
3
[PATCH] nv50, nvc0: don't crash on a null cbuf
This is needed since commit 9baa45f78b (st/mesa: bind NULL colorbuffers as specified by glDrawBuffers). Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu> --- Not sure whether something needs to be done to clear out the old RT_* settings for that index buffer, or if things are cleared out implicitly. Perhaps instead of skipping indices, RT_CONTROL needs to be adjusted with the
2014 Jan 17
0
[PATCH v2] nv50, nvc0: clear out RT on a null cbuf
...s implementation is highly based on a larger commit by Christoph Bumiller <e0425955 at student.tuwien.ac.at> in his gallium-nine branch. Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu> --- src/gallium/drivers/nouveau/nv50/nv50_defs.xml.h | 1 + src/gallium/drivers/nouveau/nv50/nv50_formats.c | 1 - .../drivers/nouveau/nv50/nv50_state_validate.c | 30 +++++++++++++++++++--- .../drivers/nouveau/nvc0/nvc0_state_validate.c | 28 +++++++++++++++++--- 4 files changed, 52 insertions(+), 8 deletions(-) diff --git a/src/gallium/drivers/nouveau/nv50/nv50_defs.xml.h b/src/gallium/...
2015 Dec 19
0
[PATCH] nvc0: add hardware ETC2 and ASTC support where possible
.... > > Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu> > --- > > Was a bit torn on where to place the enums... we're about to gut all > the xml definitions so this seemed appropriate for now. > > Tested on GK20A only. > > src/gallium/drivers/nouveau/nv50/nv50_formats.c | 64 +++++++++++++++++++++++++ > src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 10 ++++ > src/gallium/drivers/nouveau/nvc0/nvc0_tex.c | 4 +- > 3 files changed, 77 insertions(+), 1 deletion(-) > > diff --git a/src/gallium/drivers/nouveau/nv50/nv50_formats.c b/src/gallium...
2014 Jan 23
0
[PATCH v2] nv50, nvc0: clear out RT on a null cbuf
...Either way this patch looks good afaics > Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com> >> Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu> >> --- >> src/gallium/drivers/nouveau/nv50/nv50_defs.xml.h | 1 + >> src/gallium/drivers/nouveau/nv50/nv50_formats.c | 1 - >> .../drivers/nouveau/nv50/nv50_state_validate.c | 30 +++++++++++++++++++--- >> .../drivers/nouveau/nvc0/nvc0_state_validate.c | 28 +++++++++++++++++--- >> 4 files changed, 52 insertions(+), 8 deletions(-) >> >> diff --git a/src/gallium/drivers...
2016 Feb 15
1
[PATCH 09/23] nv50-: separate vertex formats from surface format descriptions
...; However, upcoming patches are going to transition the driver over to > using updated texture header definitions using NVIDIA's naming, and this > will no longer be the case. > > Signed-off-by: Ben Skeggs <bskeggs at redhat.com> > --- > src/gallium/drivers/nouveau/nv50/nv50_formats.c | 249 > ++++++++++++++++++------ > src/gallium/drivers/nouveau/nv50/nv50_screen.c | 3 +- > src/gallium/drivers/nouveau/nv50/nv50_screen.h | 5 + > src/gallium/drivers/nouveau/nv50/nv50_vbo.c | 4 +- > src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 3 +- > src...
2016 Feb 15
0
[PATCH 09/23] nv50-: separate vertex formats from surface format descriptions
...nse to define these together. However, upcoming patches are going to transition the driver over to using updated texture header definitions using NVIDIA's naming, and this will no longer be the case. Signed-off-by: Ben Skeggs <bskeggs at redhat.com> --- src/gallium/drivers/nouveau/nv50/nv50_formats.c | 249 ++++++++++++++++++------ src/gallium/drivers/nouveau/nv50/nv50_screen.c | 3 +- src/gallium/drivers/nouveau/nv50/nv50_screen.h | 5 + src/gallium/drivers/nouveau/nv50/nv50_vbo.c | 4 +- src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 3 +- src/gallium/drivers/nouveau/nvc0/...
2014 May 20
14
[PATCH 00/12] Cherry-pick nv50/nvc0 patches from gallium-nine
....../drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp | 11 ++++++++++- .../nouveau/codegen/nv50_ir_lowering_nv50.cpp | 5 ++++- .../drivers/nouveau/codegen/nv50_ir_peephole.cpp | 4 +++- src/gallium/drivers/nouveau/nv50/nv50_context.c | 7 ++----- src/gallium/drivers/nouveau/nv50/nv50_formats.c | 8 ++++---- src/gallium/drivers/nouveau/nv50/nv50_miptree.c | 2 ++ src/gallium/drivers/nouveau/nv50/nv50_screen.c | 10 ++++++++-- .../drivers/nouveau/nv50/nv50_state_validate.c | 4 ++++ src/gallium/drivers/nouveau/nv50/nv50_surface.c | 20 ++++++++++++++++++--...
2018 Nov 21
2
About Porting Android to nouveau
...d arm platforms. Now, I’m woking on porting android environment to Nvidia graphic cards. I have experience to port android to Vmware(SVGA). I found two display formats were not supported to display in nouveau driver: PIPE_FORMAT_R8G8B8A8_UNORM, PIPE_FORMAT_R8G8B8X8_UNORM. Which are defined at nv50/nv50_formats.c line: 130,131. C4(A, R8G8B8A8_UNORM, RGBA8_UNORM, R, G, B, A, UNORM, A8B8G8R8, IB), F3(A, R8G8B8X8_UNORM, RGBX8_UNORM, R, G, B, xx, UNORM, A8B8G8R8, TB), I want the last params to be “TD” or “ID” (support PIPE_BIND_DISPLAY_TARGET) , to support android. I modified these code, but got display i...
2016 Feb 15
1
[PATCH 23/23] nvc0: implement support for maxwell texture headers
...to a repo somewhere? I want to see what the final >> version looks like after all your changes, but it's hard to see that >> with these patches. > https://github.com/skeggsb/Mesa/commits/master Thanks. I looked over this series and it seems fine. I don't hate the outcome in nv50_formats.c although it would have been kinda nice to keep it together. However outside of new compressed formats, I doubt it'll be getting too many updates. Perhaps tic.maxwell should really be tic.version? Presumably later GPUs will also use this new TIC format? [There's also a v0 that we don'...
2019 Feb 16
0
About Porting Android to nouveau
On Sat, Feb 16, 2019 at 2:27 AM Yang Tsao <yang at fydeos.io> wrote: > > Thx for your reply. > Chromium OS is running based DRM driver. There is no X server frame work. I modified nv50/nv50_formats.c. > > And there also a few code related the display format: > nv50_surface.c > Function nv50_2d_format: > I add: > > ——————————— > switch (format) { > case PIPE_FORMAT_R8G8B8X8_UNORM: > return G80_SURFACE_FORMAT_RGBX8_UNORM; > break; >...
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
2015 Aug 01
15
[Bug 91526] New: World of Warcraft (on Wine) has UI corruption with nouveau
https://bugs.freedesktop.org/show_bug.cgi?id=91526 Bug ID: 91526 Summary: World of Warcraft (on Wine) has UI corruption with nouveau Product: Mesa Version: git Hardware: Other OS: Linux (All) Status: NEW Severity: normal Priority: medium Component:
2016 Feb 15
2
[PATCH 23/23] nvc0: implement support for maxwell texture headers
Can you push this to a repo somewhere? I want to see what the final version looks like after all your changes, but it's hard to see that with these patches. On Mon, Feb 15, 2016 at 12:38 AM, Ben Skeggs <skeggsb at gmail.com> wrote: > From: Ben Skeggs <bskeggs at redhat.com> > > Adds support for the new TIC layout that's present on Maxwell GPUs, > heavily based on
2014 Dec 31
2
[PATCH 1/2] nv50: regenerate rnndb headers
...gallium/drivers/nouveau/nv50/nv50_2d.xml.h | 133 +++--- src/gallium/drivers/nouveau/nv50/nv50_3d.xml.h | 449 +++++++++++---------- src/gallium/drivers/nouveau/nv50/nv50_3ddefs.xml.h | 55 ++- src/gallium/drivers/nouveau/nv50/nv50_defs.xml.h | 94 ++++- src/gallium/drivers/nouveau/nv50/nv50_formats.c | 12 +- src/gallium/drivers/nouveau/nv50/nv50_program.c | 2 +- src/gallium/drivers/nouveau/nv50/nv50_state.c | 4 +- .../drivers/nouveau/nv50/nv50_state_validate.c | 2 +- src/gallium/drivers/nouveau/nv50/nv50_surface.c | 4 +- .../drivers/nouveau/nv50/nv50_texture.x...
2014 Jun 17
0
[PATCH try 2 2/2] gallium/nouveau: move pushbuf and fences to context
...if (flags & NOUVEAU_BO_WR) - res->status |= NOUVEAU_BUFFER_STATUS_GPU_WRITING | - NOUVEAU_BUFFER_STATUS_DIRTY; - if (flags & NOUVEAU_BO_RD) - res->status |= NOUVEAU_BUFFER_STATUS_GPU_READING; - - nv50_resource_fence(res, flags); - } -} - struct nv50_format { uint32_t rt; uint32_t tic; @@ -150,6 +119,8 @@ nv50_screen_tsc_free(struct nv50_screen *screen, struct nv50_tsc_entry *tsc) } } -extern int nv50_tls_realloc(struct nv50_screen *screen, unsigned tls_space); +extern int nv50_tls_realloc(struct nv50_context *nv50, unsigned tls_space);...
2014 Jun 17
2
[PATCH try 2 1/2] gallium/nouveau: decouple nouveau_fence implementation from screen
Signed-off-by: Maarten Lankhorst <maarten.lankhorst at canonical.com> --- src/gallium/drivers/nouveau/nouveau_fence.c | 76 ++++++++++++------------- src/gallium/drivers/nouveau/nouveau_fence.h | 22 +++++-- src/gallium/drivers/nouveau/nouveau_screen.c | 9 +++ src/gallium/drivers/nouveau/nouveau_screen.h | 14 ++--- src/gallium/drivers/nouveau/nv30/nv30_context.c | 4 +-
2014 Jun 21
3
[Mesa-dev] [PATCH try 2 2/2] gallium/nouveau: move pushbuf and fences to context
...->status |= NOUVEAU_BUFFER_STATUS_GPU_WRITING | > - NOUVEAU_BUFFER_STATUS_DIRTY; > - if (flags & NOUVEAU_BO_RD) > - res->status |= NOUVEAU_BUFFER_STATUS_GPU_READING; > - > - nv50_resource_fence(res, flags); > - } > -} > - > struct nv50_format { > uint32_t rt; > uint32_t tic; > @@ -150,6 +119,8 @@ nv50_screen_tsc_free(struct nv50_screen *screen, struct nv50_tsc_entry *tsc) > } > } > > -extern int nv50_tls_realloc(struct nv50_screen *screen, unsigned tls_space); > +extern int nv50_tls_realloc(struct nv...