Skip to content

nvfx: rework render temps code and fixes

Lucas Stach nouveau 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 of 4 patches 7 repliesIn review

1 of 4 patches is in this archive. The cover letter announces 4.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4nvfx: say no to stream output capssrc/gallium/drivers/nvfx/nvfx_screen.c+5 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] nvfx: rework render temps code and fixes

This patch series silences some unknown cap warnings and fixes up
coding style (patch 1+4).

The most important part of this series are the two patches in the
middle. They rework the state_fb code, so that we are able to
render to not 64 byte aligned targets, as this is the only real
use-case for render temporaries this allows us to drop temp code
completely and simplifies a lot of cases.

This is only tested on nv49, but there should be nothing different
in this area for other nv3x or nv4x gpus.

I plan on working on top of that in the following days, so please
review and apply as time permits.

Thanks,
Lucas

Lucas Stach (4):
nvfx: say no to stream output caps
nvfx: rework state_fb code to get rid of render temps
nvfx: drop render temporaries code
nvfx: random cleanups of the state validation code

 src/gallium/drivers/nvfx/nvfx_context.h    |    2 +-
 src/gallium/drivers/nvfx/nvfx_fragtex.c    |    4 -
 src/gallium/drivers/nvfx/nvfx_miptree.c    |   18 +---
 src/gallium/drivers/nvfx/nvfx_resource.h   |   30 +-----
 src/gallium/drivers/nvfx/nvfx_screen.c     |    6 +-
 src/gallium/drivers/nvfx/nvfx_state_emit.c |   94 +++++------------
 src/gallium/drivers/nvfx/nvfx_state_fb.c   |  155 ++++++++++-----------------
 src/gallium/drivers/nvfx/nvfx_surface.c    |  136 +++----------------------
 8 files changed, 108 insertions(+), 337 deletions(-)
Signature · 1 line
1.7.7.5