st/nine: Force DYNAMIC SYSTEMMEM for sw vertex processing
authorAxel Davy <davyaxel0@gmail.com>
Fri, 12 Mar 2021 10:29:24 +0000 (11:29 +0100)
committerMarge Bot <eric+marge@anholt.net>
Sat, 13 Mar 2021 21:23:24 +0000 (21:23 +0000)
commit67c401b1122d0fb19d4372fe0fad249c6e38965b
treeb0d5a008a487e81900c389c4cffae0fa37af0f0a
parent380c2bf8876496183af50fa5bc59145f311962e0
st/nine: Force DYNAMIC SYSTEMMEM for sw vertex processing

SW vertex processing buffers are supposed to be sorted in RAM
and to be immediately idle after use (thus you can write at the
same location again immediately).

DYNAMIC SYSTEMMEM is by far the best fit for now for these kind
of buffers, though it can be improved further. Indeed the use
pattern will cause a lot of syncs with csmt actived.
Thus disable csmt when full sw vertex processing is requested.

Signed-off-by: Axel Davy <davyaxel0@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9451>
src/gallium/frontends/nine/buffer9.c
src/gallium/frontends/nine/device9.c