From 39d60610e87dbb6f7b225bbf4e057ad79449c3fd Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Mon, 14 Mar 2011 18:07:15 -0400 Subject: r600g: fix logic error in 028987c80362eddd39176628486a456b076f0427 Spotted by Henri on IRC. Signed-off-by: Alex Deucher --- src/gallium/winsys/r600/drm/r600_hw_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/gallium/winsys/r600/drm/r600_hw_context.c b/src/gallium/winsys/r600/drm/r600_hw_context.c index ff662a2c85..a7c21784e5 100644 --- a/src/gallium/winsys/r600/drm/r600_hw_context.c +++ b/src/gallium/winsys/r600/drm/r600_hw_context.c @@ -764,7 +764,7 @@ static void rv6xx_context_surface_base_update(struct r600_context *ctx, unsigned base_update_flags) { /* need to emit surface base update on rv6xx */ - if ((ctx->radeon->family > CHIP_R600) || + if ((ctx->radeon->family > CHIP_R600) && (ctx->radeon->family < CHIP_RV770)) { ctx->pm4[ctx->pm4_cdwords++] = PKT3(PKT3_SURFACE_BASE_UPDATE, 0, 0); ctx->pm4[ctx->pm4_cdwords++] = base_update_flags; -- cgit v1.2.3