diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-10-15 21:36:48 -0400 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-10-16 08:13:38 -0400 |
commit | 4fee7b30c0ecc56d7659ecad1d8b140ab253f0db (patch) | |
tree | 9d8f86083c88e5691e5c83518b3e96d8bd532184 /src/gallium | |
parent | 16233797f49359aadf104b5fe6bfff5b66914974 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/panfrost/pan_screen.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; |