diff options
author | Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> | 2021-02-16 13:49:04 -0500 |
---|---|---|
committer | Marge Bot <eric+marge@anholt.net> | 2021-02-18 21:48:22 +0000 |
commit | 91d2171902936f59c1cc76c2c8f70f522b0aa8f6 (patch) | |
tree | 486580cbd6962a209ac1425cfe3f6985e1d32f30 | |
parent | ed29a2beb80e53e6a9985786c77350d963e860e7 (diff) |
panfrost: Comment on state of ARB_shader_clock
Pending on kernel work.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9105>
-rw-r--r-- | src/gallium/drivers/panfrost/pan_screen.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/drivers/panfrost/pan_screen.c b/src/gallium/drivers/panfrost/pan_screen.c index 366c2236402..5e8acdd19d7 100644 --- a/src/gallium/drivers/panfrost/pan_screen.c +++ b/src/gallium/drivers/panfrost/pan_screen.c @@ -134,6 +134,13 @@ panfrost_get_param(struct pipe_screen *screen, enum pipe_cap param) case PIPE_CAP_ANISOTROPIC_FILTER: return !!(dev->quirks & HAS_ANISOTROPIC); + /* Compile side is done for Bifrost, Midgard TODO. Needs some kernel + * work to turn on, since CYCLE_COUNT_START needs to be issued. In + * kbase, userspace requests this via BASE_JD_REQ_PERMON. There is not + * yet way to request this with mainline TODO */ + case PIPE_CAP_TGSI_CLOCK: + return 0; + case PIPE_CAP_TGSI_INSTANCEID: case PIPE_CAP_TEXTURE_MULTISAMPLE: case PIPE_CAP_SURFACE_SAMPLE_COUNT: |