diff options
author | Henri Verbeet <[email protected]> | 2011-07-09 17:19:00 +0200 |
---|---|---|
committer | Henri Verbeet <[email protected]> | 2011-07-09 18:12:50 +0200 |
commit | 2e53725bbc6385c76b26f069df0865c22fd365c0 (patch) | |
tree | 7739b2fe6f4f1fbb5e9dd040d8cc3622e144f5c8 /src | |
parent | 2b5b289a570c699403f115cf3ad094ce92eba2fb (diff) |
r600g: Check for Evergreen chip class instead of Cedar family in r600_context_flush().
Signed-off-by: Henri Verbeet <[email protected]>
Diffstat (limited to 'src')
-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 633cd35f7a7..a2f13ff0863 100644 --- a/src/gallium/winsys/r600/drm/r600_hw_context.c +++ b/src/gallium/winsys/r600/drm/r600_hw_context.c @@ -1504,7 +1504,7 @@ void r600_context_flush(struct r600_context *ctx) /* suspend queries */ r600_context_queries_suspend(ctx); - if (ctx->radeon->family >= CHIP_CEDAR) + if (ctx->radeon->chip_class >= EVERGREEN) evergreen_context_flush_dest_caches(ctx); else r600_context_flush_dest_caches(ctx); |