projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a50b8a0
)
freedreno/a2xx: set VIZ_QUERY_ID on a20x
author
Jonathan Marek
<jonathan@marek.ca>
Tue, 13 Nov 2018 16:26:38 +0000
(11:26 -0500)
committer
Rob Clark
<robdclark@gmail.com>
Tue, 27 Nov 2018 20:44:03 +0000
(15:44 -0500)
Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/a2xx/fd2_emit.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/freedreno/a2xx/fd2_emit.c
b/src/gallium/drivers/freedreno/a2xx/fd2_emit.c
index
20bfd06
..
50e2fe1
100644
(file)
--- a/
src/gallium/drivers/freedreno/a2xx/fd2_emit.c
+++ b/
src/gallium/drivers/freedreno/a2xx/fd2_emit.c
@@
-339,6
+339,11
@@
fd2_emit_restore(struct fd_context *ctx, struct fd_ringbuffer *ring)
A2XX_RB_BC_CONTROL_ENABLE_CRC_UPDATE |
A2XX_RB_BC_CONTROL_ACCUM_DATA_FIFO_LIMIT(8) |
A2XX_RB_BC_CONTROL_MEM_EXPORT_TIMEOUT_SELECT(3));
+
+ /* not sure why this is required */
+ OUT_PKT3(ring, CP_SET_CONSTANT, 2);
+ OUT_RING(ring, CP_REG(REG_A2XX_PA_SC_VIZ_QUERY));
+ OUT_RING(ring, A2XX_PA_SC_VIZ_QUERY_VIZ_QUERY_ID(16));
}
OUT_PKT0(ring, REG_A2XX_TP0_CHICKEN, 1);