freedreno: Enable texture upload memory throttling.
Fixes oom-killer during streaming-texture-upload, which I found while trying to enable piglit in CI. Reviewed-by: Rob Clark <robdclark@chromium.org>
This commit is contained in:
parent
c496d44284
commit
e3b249f166
|
@ -353,6 +353,9 @@ fd_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
|
|||
*/
|
||||
return 128;
|
||||
|
||||
case PIPE_CAP_MAX_TEXTURE_UPLOAD_MEMORY_BUDGET:
|
||||
return 64 * 1024 * 1024;
|
||||
|
||||
case PIPE_CAP_SHAREABLE_SHADERS:
|
||||
case PIPE_CAP_GLSL_OPTIMIZE_CONSERVATIVELY:
|
||||
/* manage the variants for these ourself, to avoid breaking precompile: */
|
||||
|
|
Loading…
Reference in New Issue