summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/panfrost/pan_screen.c
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>2020-07-16 14:07:09 -0400
committerMarge Bot <eric+marge@anholt.net>2020-07-16 19:59:43 +0000
commit40b99bb79e19a413da5e2f9717b219336919367b (patch)
treebee0a4f9a7d3fd7a846761f762b32221adb97be0 /src/gallium/drivers/panfrost/pan_screen.c
parent19da8121d6ad12efbff136e54fd90ef1b5327b03 (diff)
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@collabora.com> Cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5858>
Diffstat (limited to 'src/gallium/drivers/panfrost/pan_screen.c')
-rw-r--r--src/gallium/drivers/panfrost/pan_screen.c3
1 files changed, 0 insertions, 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: