summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/freedreno_screen.h
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2016-02-23 12:03:43 -0500
committerRob Clark <[email protected]>2016-07-23 13:39:30 -0400
commitb888d8e9372b671074844a208fd9cd499ef53c69 (patch)
tree11b217d919cc196850214dca1b8e197db4bf048c /src/gallium/drivers/freedreno/freedreno_screen.h
parent6a4b052820a4553c536b08176795e3685f4a16e4 (diff)
freedreno: hw timestamp support
If the kernel supports it, use hw counter for timestamps. Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_screen.h')
-rw-r--r--src/gallium/drivers/freedreno/freedreno_screen.h1
1 files changed, 1 insertions, 0 deletions
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 */