diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2011-03-14 18:07:15 -0400 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2011-03-14 18:07:15 -0400 |
commit | 39d60610e87dbb6f7b225bbf4e057ad79449c3fd (patch) | |
tree | 1927258db73e7b4c0b50c37830f91bbb088a31f8 | |
parent | 3e30148900f27e29d4ea0faa5b0513f8d944fab0 (diff) |
r600g: fix logic error in 028987c80362eddd39176628486a456b076f0427
Spotted by Henri on IRC.
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
-rw-r--r-- | src/gallium/winsys/r600/drm/r600_hw_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |