etnaviv: enable texture upload memory throttling
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Fri, 7 Feb 2020 10:24:55 +0000 (11:24 +0100)
committerMarge Bot <eric+marge@anholt.net>
Fri, 7 Feb 2020 18:21:54 +0000 (18:21 +0000)
commit0c36b1c0dbf2dcb8ded2509bc547a026b9624cc0
tree2bf2604e044984daea04e0f00f3573bca804296e
parent7bddaa61362924ec9dc360a2846cbdc8c647d834
etnaviv: enable texture upload memory throttling

Fixes oom-killer during piglit's streaming-texture-upload on a
SolidRun CuBox-i with 2GB of RAM.

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3745>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3745>
src/gallium/drivers/etnaviv/etnaviv_screen.c