freedreno/a6xx: Rename and document HLSQ_UPDATE_CNTL
authorConnor Abbott <cwabbott0@gmail.com>
Mon, 13 Jul 2020 10:22:20 +0000 (12:22 +0200)
committerConnor Abbott <cwabbott0@gmail.com>
Tue, 14 Jul 2020 08:23:58 +0000 (10:23 +0200)
commite1fa740c4c1412458b56732a222c86bef3bd6b31
tree2e9b03427366051d8e4e0f3532f57217e826a9ec
parentdad042b15a919d3a057482b99021a819ee81df64
freedreno/a6xx: Rename and document HLSQ_UPDATE_CNTL

It turns out that this clears CP_LOAD_STATE6 packets, including
disabling any pending loads for SS6_INDIRECT/SS6_BINDLESS (these loads
don't actually happen until the draw itself, and I'm not sure if they
happen if the state is unused by the shader) and marking constants and
UBO descriptors loaded with SS6_DIRECT as invalid. It's used very
differently from HLSQ_UPDATE_CNTL on a4xx from whence the name came, and
unlike on a4xx it's not readable, so this probably doesn't line up with
HLSQ_UPDATE_CNTL on a4xx.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5877>
src/freedreno/computerator/a6xx.c
src/freedreno/registers/a6xx.xml
src/freedreno/vulkan/tu_clear_blit.c
src/freedreno/vulkan/tu_cmd_buffer.c
src/freedreno/vulkan/tu_pipeline.c
src/gallium/drivers/freedreno/a6xx/fd6_compute.c
src/gallium/drivers/freedreno/a6xx/fd6_draw.c
src/gallium/drivers/freedreno/a6xx/fd6_emit.c
src/gallium/drivers/freedreno/a6xx/fd6_program.c