etnaviv: drop default state for FE_HALTI5_ID_CONFIG
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Fri, 24 Apr 2020 10:47:04 +0000 (12:47 +0200)
committerMarge Bot <eric+marge@anholt.net>
Fri, 24 Apr 2020 13:39:58 +0000 (13:39 +0000)
It gets emitted when needed - see emit_halti5_only_state(..).

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: Jonathan Marek <jonathan@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4729>

src/gallium/drivers/etnaviv/etnaviv_context.c

index 4f8578aac78d786e7f99c0c215c45e42782d9ae5..67c68f9eb4d116e62e93687c4d38916e498dfd64 100644 (file)
@@ -423,7 +423,6 @@ etna_reset_gpu_state(struct etna_context *ctx)
    if (screen->specs.halti >= 5) { /* Only on HALTI5+ */
       etna_set_state(stream, VIVS_NTE_DESCRIPTOR_UNK14C40, 0x00000001);
       etna_set_state(stream, VIVS_FE_HALTI5_UNK007D8, 0x00000002);
-      etna_set_state(stream, VIVS_FE_HALTI5_ID_CONFIG, 0x00000000);
       etna_set_state(stream, VIVS_PS_SAMPLER_BASE, 0x00000000);
       etna_set_state(stream, VIVS_VS_SAMPLER_BASE, 0x00000020);
       etna_set_state(stream, VIVS_SH_CONFIG, VIVS_SH_CONFIG_RTNE_ROUNDING);