From: Alyssa Rosenzweig Date: Wed, 16 Oct 2019 01:36:48 +0000 (-0400) Subject: panfrost: Disable frame throttling X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4fee7b30c0ecc56d7659ecad1d8b140ab253f0db;p=mesa.git panfrost: Disable frame throttling The new frame throttling implemention interacts unfortunately with pipelining, leading to fence fds leaking like crazy and ultimately apps crashing quickly. With this patch, apps still crash but not as quickly. We need to either figure out the real cause or revert the core changes. Nevertheless, we don't want frame throttling in the first place, so. Fixes: a65e29ccb26 ("gallium: simplify throttle implementation") Signed-off-by: Alyssa Rosenzweig --- diff --git a/src/gallium/drivers/panfrost/pan_screen.c b/src/gallium/drivers/panfrost/pan_screen.c index 0b7001c9ed8..0d67675b7fc 100644 --- a/src/gallium/drivers/panfrost/pan_screen.c +++ b/src/gallium/drivers/panfrost/pan_screen.c @@ -101,6 +101,9 @@ panfrost_get_param(struct pipe_screen *screen, enum pipe_cap param) case PIPE_CAP_MAX_RENDER_TARGETS: return is_deqp ? 4 : 1; + /* Throttling frames breaks pipelining */ + case PIPE_CAP_THROTTLE: + return 0; case PIPE_CAP_OCCLUSION_QUERY: return 1;