From b888d8e9372b671074844a208fd9cd499ef53c69 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Tue, 23 Feb 2016 12:03:43 -0500 Subject: freedreno: hw timestamp support If the kernel supports it, use hw counter for timestamps. Signed-off-by: Rob Clark --- src/gallium/drivers/freedreno/freedreno_screen.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers/freedreno/freedreno_screen.h') diff --git a/src/gallium/drivers/freedreno/freedreno_screen.h b/src/gallium/drivers/freedreno/freedreno_screen.h index a81c7786390..0c899d5a7f0 100644 --- a/src/gallium/drivers/freedreno/freedreno_screen.h +++ b/src/gallium/drivers/freedreno/freedreno_screen.h @@ -58,6 +58,7 @@ struct fd_screen { uint32_t chip_id; /* coreid:8 majorrev:8 minorrev:8 patch:8 */ uint32_t max_freq; uint32_t max_rts; /* max # of render targets */ + bool has_timestamp; void *compiler; /* currently unused for a2xx */ -- cgit v1.2.3