mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 06:58:05 +02:00
r600g: don't use the CB/DB CP COHER logic on r6xx
There are hw bugs. Flush and inv event is sufficient. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=66837 Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
af16f73051
commit
e0a7565832
1 changed files with 10 additions and 2 deletions
|
|
@ -246,13 +246,21 @@ void r600_flush_emit(struct r600_context *rctx)
|
|||
cp_coher_cntl |= S_0085F0_TC_ACTION_ENA(1);
|
||||
}
|
||||
|
||||
if (rctx->flags & R600_CONTEXT_FLUSH_AND_INV_DB) {
|
||||
/* Don't use the DB CP COHER logic on r6xx.
|
||||
* There are hw bugs.
|
||||
*/
|
||||
if (rctx->chip_class >= R700 &&
|
||||
(rctx->flags & R600_CONTEXT_FLUSH_AND_INV_DB)) {
|
||||
cp_coher_cntl |= S_0085F0_DB_ACTION_ENA(1) |
|
||||
S_0085F0_DB_DEST_BASE_ENA(1) |
|
||||
S_0085F0_SMX_ACTION_ENA(1);
|
||||
}
|
||||
|
||||
if (rctx->flags & R600_CONTEXT_FLUSH_AND_INV_CB) {
|
||||
/* Don't use the CB CP COHER logic on r6xx.
|
||||
* There are hw bugs.
|
||||
*/
|
||||
if (rctx->chip_class >= R700 &&
|
||||
(rctx->flags & R600_CONTEXT_FLUSH_AND_INV_CB)) {
|
||||
cp_coher_cntl |= S_0085F0_CB_ACTION_ENA(1) |
|
||||
S_0085F0_CB0_DEST_BASE_ENA(1) |
|
||||
S_0085F0_CB1_DEST_BASE_ENA(1) |
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue