Mesa (master): panfrost: Revert "Disable frame throttling"

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Jul 16 20:16:43 UTC 2020


Module: Mesa
Branch: master
Commit: 40b99bb79e19a413da5e2f9717b219336919367b
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=40b99bb79e19a413da5e2f9717b219336919367b

Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Thu Jul 16 14:07:09 2020 -0400

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 <alyssa.rosenzweig at collabora.com>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5858>

---

 src/gallium/drivers/panfrost/pan_screen.c | 3 ---
 1 file changed, 3 deletions(-)

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:



More information about the mesa-commit mailing list