projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b5b289
)
r600g: Check for Evergreen chip class instead of Cedar family in r600_context_flush().
author
Henri Verbeet
<hverbeet@gmail.com>
Sat, 9 Jul 2011 15:19:00 +0000
(17:19 +0200)
committer
Henri Verbeet
<hverbeet@gmail.com>
Sat, 9 Jul 2011 16:12:50 +0000
(18:12 +0200)
Signed-off-by: Henri Verbeet <hverbeet@gmail.com>
src/gallium/winsys/r600/drm/r600_hw_context.c
patch
|
blob
|
history
diff --git
a/src/gallium/winsys/r600/drm/r600_hw_context.c
b/src/gallium/winsys/r600/drm/r600_hw_context.c
index 633cd35f7a7177c0c6971e0fb63113d5314f3d8c..a2f13ff086394ba906c3f62d9c9f2689d8c6b06d 100644
(file)
--- 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);