From: Alex Deucher Date: Mon, 14 Mar 2011 22:07:15 +0000 (-0400) Subject: r600g: fix logic error in 028987c80362eddd39176628486a456b076f0427 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=39d60610e87dbb6f7b225bbf4e057ad79449c3fd;p=mesa.git r600g: fix logic error in 028987c80362eddd39176628486a456b076f0427 Spotted by Henri on IRC. Signed-off-by: Alex Deucher --- diff --git a/src/gallium/winsys/r600/drm/r600_hw_context.c b/src/gallium/winsys/r600/drm/r600_hw_context.c index ff662a2c857..a7c21784e51 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;