From: Lucas Stach Date: Mon, 18 May 2020 13:50:36 +0000 (+0200) Subject: etnaviv: don't expose timer queries X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=78c46c2126109dc5c1cb2ff315aecdd69b93d1f5;p=mesa.git 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: --- 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: