Mesa (master): r600g: don't emit SQ_DYN_GPR_RESOURCE_LIMIT_1 on cayman

Alex Deucher agd5f at kemper.freedesktop.org
Tue Mar 19 22:26:01 UTC 2013


Module: Mesa
Branch: master
Commit: 49c1fc7044eaaa5c2dca05ff4a709be8e3636871
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=49c1fc7044eaaa5c2dca05ff4a709be8e3636871

Author: Alex Deucher <alexander.deucher at amd.com>
Date:   Tue Mar 19 18:11:20 2013 -0400

r600g: don't emit SQ_DYN_GPR_RESOURCE_LIMIT_1 on cayman

Doesn't exist on the asic and will cause a CS rejection
if VM is disabled.

Note: this is a candidate for the 9.1 branch.

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>

---

 src/gallium/drivers/r600/evergreen_state.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/r600/evergreen_state.c b/src/gallium/drivers/r600/evergreen_state.c
index db5484d..7169614 100644
--- a/src/gallium/drivers/r600/evergreen_state.c
+++ b/src/gallium/drivers/r600/evergreen_state.c
@@ -2782,7 +2782,6 @@ static void cayman_init_atom_start_cs(struct r600_context *rctx)
 	r600_store_value(cb, 0); /* R_0286E4_SPI_PS_IN_CONTROL_2 */
 	r600_store_value(cb, 0); /* R_0286E8_SPI_COMPUTE_INPUT_CNTL */
 	r600_store_context_reg(cb, R_028B54_VGT_SHADER_STAGES_EN, 0);
-	r600_store_context_reg(cb, R_028838_SQ_DYN_GPR_RESOURCE_LIMIT_1, 0);
 
 	eg_store_loop_const(cb, R_03A200_SQ_LOOP_CONST_0, 0x01000FFF);
 	eg_store_loop_const(cb, R_03A200_SQ_LOOP_CONST_0 + (32 * 4), 0x01000FFF);




More information about the mesa-commit mailing list