r600g: enable dynamic GPR resource management on evergreen
authorDave Airlie <airlied@redhat.com>
Wed, 8 Jun 2011 04:09:59 +0000 (14:09 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 8 Jun 2011 04:11:48 +0000 (14:11 +1000)
commitc1f9884bbf580ea4390cc71d1696c87eba9f8f2e
treee91905c767366454902ae4e0c2d21841f939ad7c
parentf659cc46bc80923694b88d8fc9549705d8ca90aa
r600g: enable dynamic GPR resource management on evergreen

Evergreen can do this as well as cayman, so we should enable it.

This fixes a gpu lockup with
glsl-vs-vec4-indexing-temp-dst-in-nested-loop-combined.shader_test

I need to add a better workaround for r600/r700.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/evergreen_state.c
src/gallium/drivers/r600/evergreend.h
src/gallium/winsys/r600/drm/evergreen_hw_context.c