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

Lucas Stach dev at lynxeye.de
Tue Jan 10 03:41:00 PST 2012


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(-)

-- 
1.7.7.5



More information about the Nouveau mailing list