Module: Mesa Branch: master Commit: 1938e2596f5110c81920a1ad5e5933ef3a007a99 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1938e2596f5110c81920a1ad5e5933ef3a007a99
Author: Eric Anholt <[email protected]> Date: Tue Jul 7 19:14:34 2020 -0700 freedreno/computerator: Set SP_MODE_CONTROL to the same value as vulkan/GL This gets us consistent hcN access with our drivers, for experimenting. We don't know what the other bit does yet, but let's not have to debug that later. Reviewed-by: Rob Clark <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6179> --- src/freedreno/computerator/a6xx.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/freedreno/computerator/a6xx.c b/src/freedreno/computerator/a6xx.c index 4d8dce2b6aa..4cd8e5784f6 100644 --- a/src/freedreno/computerator/a6xx.c +++ b/src/freedreno/computerator/a6xx.c @@ -117,6 +117,9 @@ cs_program_emit(struct fd_ringbuffer *ring, struct kernel *kernel) const struct ir3_info *i = &v->info; enum a3xx_threadsize thrsz = FOUR_QUADS; + OUT_PKT4(ring, REG_A6XX_SP_MODE_CONTROL, 1); + OUT_RING(ring, A6XX_SP_MODE_CONTROL_CONSTANT_DEMOTION_ENABLE | 4); + OUT_PKT4(ring, REG_A6XX_HLSQ_INVALIDATE_CMD, 1); OUT_RING(ring, A6XX_HLSQ_INVALIDATE_CMD_VS_STATE | A6XX_HLSQ_INVALIDATE_CMD_HS_STATE | _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
