summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2019-06-06 09:53:15 -0700
committerRob Clark <[email protected]>2019-06-07 12:07:29 -0700
commit8a02ca807de419d79dbe2555ec11104436dbbe01 (patch)
tree10025249ed6a64213b35194b452d1990e2660ac6 /src
parentb820c09fa8d1ce362cac0bc6e71693578d115563 (diff)
freedreno/a6xx: don't pre-dispatch texture fetch on accident
Signed-off-by: Rob Clark <[email protected]> Reviewed-by: Kristian H. Kristensen <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/freedreno/a6xx/fd6_program.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/a6xx/fd6_program.c b/src/gallium/drivers/freedreno/a6xx/fd6_program.c
index 619cd86c67a..dedd7ffb2f7 100644
--- a/src/gallium/drivers/freedreno/a6xx/fd6_program.c
+++ b/src/gallium/drivers/freedreno/a6xx/fd6_program.c
@@ -296,8 +296,11 @@ setup_stateobj(struct fd_ringbuffer *ring, struct fd6_program_state *state,
OUT_RING(ring, 0); /* SP_GS_CONFIG */
OUT_RING(ring, 0); /* SP_GS_INSTRLEN */
+ /* I believe this is related to pre-dispatch texture fetch.. we probably
+ * should't turn it on by accident:
+ */
OUT_PKT4(ring, REG_A6XX_SP_UNKNOWN_A99E, 1);
- OUT_RING(ring, 0x7fc0);
+ OUT_RING(ring, 0x0);
OUT_PKT4(ring, REG_A6XX_SP_UNKNOWN_A9A8, 1);
OUT_RING(ring, 0);