diff options
author | Kenneth Graunke <[email protected]> | 2013-11-02 20:58:10 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2013-11-21 15:01:14 -0800 |
commit | c289c70ce156e1248c53f018401a7670b9f513eb (patch) | |
tree | 002b6b408eb993ea0b0611fcb5ef76111619b576 /src/mapi | |
parent | 834c9575b281f72385085fc1b9adca3893c9c71e (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