From 78c46c2126109dc5c1cb2ff315aecdd69b93d1f5 Mon Sep 17 00:00:00 2001 From: Lucas Stach Date: Mon, 18 May 2020 15:50:36 +0200 Subject: [PATCH] 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 Reviewed-by: Christian Gmeiner Part-of: --- src/gallium/drivers/etnaviv/etnaviv_screen.c | 4 +--- 1 file changed, 1 insertion(+), 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: -- 2.30.2