freedreno: Add per-device parameters for private memory
authorConnor Abbott <cwabbott0@gmail.com>
Thu, 29 Oct 2020 14:08:36 +0000 (15:08 +0100)
committerConnor Abbott <cwabbott0@gmail.com>
Thu, 19 Nov 2020 16:55:03 +0000 (17:55 +0100)
commitb525934f26a52ba81a5b76ff1085c341c2a0a066
tree3dc420c1b50d6149cf448be0f627029be79e3e62
parentae109ca83c4872364d3195600ba002512c8d9385
freedreno: Add per-device parameters for private memory

We have to allocate backing storage big enough to hold all the private
memory for all threads that can possibly be in flight, which means that
we have to start filling in some more model-specific information as the
sizes will be different for models with different core counts/ALU
counts.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7386>
src/freedreno/common/freedreno_dev_info.c
src/freedreno/common/freedreno_dev_info.h