projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e056f8
)
radeonsi: add SWITCH_ON_EOI requirement for 4 SE parts
author
Marek Olšák
<marek.olsak@amd.com>
Sun, 18 Oct 2015 19:43:30 +0000
(21:43 +0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Fri, 23 Oct 2015 22:01:20 +0000
(
00:01
+0200)
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeonsi/si_state_draw.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/si_state_draw.c
b/src/gallium/drivers/radeonsi/si_state_draw.c
index 635fb5fe644755ffbe3b9103bc9fc246e18a461b..96448eeb7f383ed07d37c32428c49f26e9864b5f 100644
(file)
--- a/
src/gallium/drivers/radeonsi/si_state_draw.c
+++ b/
src/gallium/drivers/radeonsi/si_state_draw.c
@@
-292,6
+292,10
@@
static unsigned si_get_ia_multi_vgt_param(struct si_context *sctx,
if (info->count_from_stream_output)
wd_switch_on_eop = true;
+ /* Required on CIK and later. */
+ if (sctx->b.screen->info.max_se > 2 && !wd_switch_on_eop)
+ ia_switch_on_eoi = true;
+
/* If the WD switch is false, the IA switch must be false too. */
assert(wd_switch_on_eop || !ia_switch_on_eop);
}