r600g: fix logic error in 028987c803

Spotted by Henri on IRC.

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
This commit is contained in:
Alex Deucher 2011-03-14 18:07:15 -04:00
parent 3e30148900
commit 39d60610e8
1 changed files with 1 additions and 1 deletions

View File

@ -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;