panfrost: Revert "Disable frame throttling"
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 16 Jul 2020 18:07:09 +0000 (14:07 -0400)
committerMarge Bot <eric+marge@anholt.net>
Thu, 16 Jul 2020 19:59:43 +0000 (19:59 +0000)
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 <alyssa.rosenzweig@collabora.com>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5858>

src/gallium/drivers/panfrost/pan_screen.c

index d850cca71da007af95ac83b69f46933f950445ac..125f84d85c49d7dbd7b8a061fc4462076378c074 100644 (file)
@@ -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: