aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLucas Stach <[email protected]>2020-05-18 15:50:36 +0200
committerLucas Stach <[email protected]>2020-05-18 17:03:05 +0200
commit78c46c2126109dc5c1cb2ff315aecdd69b93d1f5 (patch)
tree46921353172963bf2e5fb4f3fba0ad9aee9af1d8 /src
parentb5accb3ff997c073f9a9418c97ddd2365f81504f (diff)
etnaviv: don't expose timer queries
We don't support any timer queries, so stop lying about our ability to do so. Signed-off-by: Lucas Stach <[email protected]> Reviewed-by: Christian Gmeiner <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5086>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/etnaviv/etnaviv_screen.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/drivers/etnaviv/etnaviv_screen.c b/src/gallium/drivers/etnaviv/etnaviv_screen.c
index d5f445881f3..0e253ba0616 100644
--- a/src/gallium/drivers/etnaviv/etnaviv_screen.c
+++ b/src/gallium/drivers/etnaviv/etnaviv_screen.c
@@ -222,11 +222,9 @@ etna_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
case PIPE_CAP_SEAMLESS_CUBE_MAP_PER_TEXTURE:
return screen->specs.seamless_cube_map;
- /* Timer queries. */
+ /* Queries. */
case PIPE_CAP_OCCLUSION_QUERY:
return VIV_FEATURE(screen, chipMinorFeatures1, HALTI0);
- case PIPE_CAP_QUERY_TIMESTAMP:
- return 1;
/* Preferences */
case PIPE_CAP_PREFER_BLIT_BASED_TEXTURE_TRANSFER: