turnip: Add magic register values to tu_physical_device

Graphics / Mesa 3D Graphics Library / Mesa - Chad Versace [kiwitree.net] - 12 February 2020 23:27 UTC

The value of some magic regsiters differ across chipsets. fd6_context manages the differences by initializing them at runtime. Let's do the same.

Add to tu_physical_device a subset of those found in fd6_context:

RB_UNKNOWN_8E04_blit RB_CCU_CNTL_gmem PC_UNKNOWN_9805 SP_UNKNOWN_A0F8

Part-of:

ef5da260899 turnip: Add magic register values to tu_physical_device
src/freedreno/vulkan/tu_blit.c | 3 ++-
src/freedreno/vulkan/tu_cmd_buffer.c | 15 ++++++++++-----
src/freedreno/vulkan/tu_device.c | 4 ++++
src/freedreno/vulkan/tu_private.h | 7 +++++++
4 files changed, 23 insertions(+), 6 deletions(-)

Upstream: cgit.freedesktop.org


  • Share