From: Rob Clark Date: Wed, 9 Oct 2019 19:16:03 +0000 (-0700) Subject: freedreno: update registers X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=766a68cdb9bff2c37ff43792056c484cfe50d75b;p=mesa.git freedreno: update registers Signed-off-by: Rob Clark Reviewed-by: Kristian H. Kristensen --- diff --git a/src/freedreno/registers/a6xx.xml b/src/freedreno/registers/a6xx.xml index b7cfecdc121..00618de0b2a 100644 --- a/src/freedreno/registers/a6xx.xml +++ b/src/freedreno/registers/a6xx.xml @@ -2934,7 +2934,28 @@ to upconvert to 32b float internally? - + + + + + + + + + + + + + + + + + + + diff --git a/src/freedreno/vulkan/tu_pipeline.c b/src/freedreno/vulkan/tu_pipeline.c index 03df9f97dfa..8a51fb05553 100644 --- a/src/freedreno/vulkan/tu_pipeline.c +++ b/src/freedreno/vulkan/tu_pipeline.c @@ -454,7 +454,7 @@ tu6_emit_fs_config(struct tu_cs *cs, const struct ir3_shader_variant *fs) if (fs->instrlen) sp_fs_config |= A6XX_SP_FS_CONFIG_ENABLED; - tu_cs_emit_pkt4(cs, REG_A6XX_SP_UNKNOWN_A99E, 1); + tu_cs_emit_pkt4(cs, REG_A6XX_SP_FS_PREFETCH_CNTL, 1); tu_cs_emit(cs, 0); tu_cs_emit_pkt4(cs, REG_A6XX_SP_UNKNOWN_A9A8, 1); diff --git a/src/gallium/drivers/freedreno/a6xx/fd6_program.c b/src/gallium/drivers/freedreno/a6xx/fd6_program.c index 493ee67a088..084a05ea952 100644 --- a/src/gallium/drivers/freedreno/a6xx/fd6_program.c +++ b/src/gallium/drivers/freedreno/a6xx/fd6_program.c @@ -359,7 +359,7 @@ setup_stateobj(struct fd_ringbuffer *ring, struct fd_screen *screen, /* 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_PKT4(ring, REG_A6XX_SP_FS_PREFETCH_CNTL, 1); OUT_RING(ring, 0x0); OUT_PKT4(ring, REG_A6XX_SP_UNKNOWN_A9A8, 1);