etnaviv: don't expose timer queries
authorLucas Stach <l.stach@pengutronix.de>
Mon, 18 May 2020 13:50:36 +0000 (15:50 +0200)
committerLucas Stach <l.stach@pengutronix.de>
Mon, 18 May 2020 15:03:05 +0000 (17:03 +0200)
We don't support any timer queries, so stop lying about our
ability to do so.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5086>

src/gallium/drivers/etnaviv/etnaviv_screen.c

index d5f445881f335d7730ceaa6346317ff6887acb07..0e253ba061629187cb58f88c7f95750949a88a7d 100644 (file)
@@ -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: