diff options
author | Rob Clark <[email protected]> | 2016-02-10 13:25:32 -0500 |
---|---|---|
committer | Rob Clark <[email protected]> | 2016-02-17 10:41:55 -0500 |
commit | 45ab5b1c34a7fe78f6e5f95e11f24674657ecfd3 (patch) | |
tree | 32c34b6810b716016b4d739d6fd66b9b809835b6 /src/gallium/drivers/freedreno/freedreno_screen.h | |
parent | dcb69185a07e0d25d056eb551b76eb8e929a9e19 (diff) |
freedreno: query max gpu freq
This will be needed to support converting from cycle counts to time for
performance related queries (initially time-elapsed, but there are some
additional performance counters that could be wired up).
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.h | 1 |
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 8fb096a10dd..a81c7786390 100644 --- a/src/gallium/drivers/freedreno/freedreno_screen.h +++ b/src/gallium/drivers/freedreno/freedreno_screen.h @@ -56,6 +56,7 @@ struct fd_screen { uint32_t device_id; uint32_t gpu_id; /* 220, 305, etc */ uint32_t chip_id; /* coreid:8 majorrev:8 minorrev:8 patch:8 */ + uint32_t max_freq; uint32_t max_rts; /* max # of render targets */ void *compiler; /* currently unused for a2xx */ |