diff options
author | Jonathan Marek <[email protected]> | 2018-11-13 11:26:38 -0500 |
---|---|---|
committer | Rob Clark <[email protected]> | 2018-11-27 15:44:03 -0500 |
commit | e7114575f7d0218988239232e4b4f79693ecb7d3 (patch) | |
tree | b248f962e94a00474781ededd62969182e777aec /src/gallium/drivers | |
parent | a50b8a0152547f7260d728a70ed2f80c88fc85bc (diff) |
freedreno/a2xx: set VIZ_QUERY_ID on a20x
Signed-off-by: Jonathan Marek <[email protected]>
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/freedreno/a2xx/fd2_emit.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/a2xx/fd2_emit.c b/src/gallium/drivers/freedreno/a2xx/fd2_emit.c index 20bfd06b135..50e2fe13ebb 100644 --- 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); |