summaryrefslogtreecommitdiffstats
path: root/src/mapi
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2013-11-02 20:58:10 -0700
committerKenneth Graunke <[email protected]>2013-11-21 15:01:14 -0800
commitc289c70ce156e1248c53f018401a7670b9f513eb (patch)
tree002b6b408eb993ea0b0611fcb5ef76111619b576 /src/mapi
parent834c9575b281f72385085fc1b9adca3893c9c71e (diff)
i965: Start and stop OA counters as necessary.
We need to start OA at the beginning of each batch where monitors are active. OACONTROL isn't part of the hardware context, so to avoid leaving counters enabled for other applications, we turn them off at the end of the batch too. We also need to start them at BeginPerfMonitor time (unless they've already been started). We stop them when the monitor last ends as well. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mapi')
0 files changed, 0 insertions, 0 deletions