From: Alyssa Rosenzweig Date: Thu, 16 Jul 2020 18:07:09 +0000 (-0400) Subject: panfrost: Revert "Disable frame throttling" X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=40b99bb79e19a413da5e2f9717b219336919367b;p=mesa.git panfrost: Revert "Disable frame throttling" This reverts commit 4fee7b30c0ecc56d7659ecad1d8b140ab253f0db, which was intended to be a temporary workaround for a leak introduced in a65e29ccb26 ("gallium: simplify throttle implementation"). However, that leak was then fixed in 023282a4f667695ea1dbbe9fbe1cd3a9d550a426 and we forgot to revert this hack. Closes: #2108 Signed-off-by: Alyssa Rosenzweig Cc: mesa-stable Part-of: --- diff --git a/src/gallium/drivers/panfrost/pan_screen.c b/src/gallium/drivers/panfrost/pan_screen.c index d850cca71da..125f84d85c4 100644 --- a/src/gallium/drivers/panfrost/pan_screen.c +++ b/src/gallium/drivers/panfrost/pan_screen.c @@ -129,9 +129,6 @@ panfrost_get_param(struct pipe_screen *screen, enum pipe_cap param) /* WIP */ return is_gl3 ? 1 : 0; - /* Throttling frames breaks pipelining */ - case PIPE_CAP_THROTTLE: - return 0; /* ES3 features unsupported on Bifrost */ case PIPE_CAP_OCCLUSION_QUERY: