summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/intel_batchbuffer.c
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2013-11-26 16:32:13 -0800
committerKenneth Graunke <kenneth@whitecape.org>2013-12-03 16:24:49 -0800
commitda07e1b6837616ef101d1374dbff322694d6a7d9 (patch)
treedbc2e1535b5efcc2a2a93cedf6f65e95e085b29a /src/mesa/drivers/dri/i965/intel_batchbuffer.c
parent4c110994533c67f2e501cd32ee0c2f91060630e0 (diff)
downloadexternal_mesa3d-da07e1b6837616ef101d1374dbff322694d6a7d9.zip
external_mesa3d-da07e1b6837616ef101d1374dbff322694d6a7d9.tar.gz
external_mesa3d-da07e1b6837616ef101d1374dbff322694d6a7d9.tar.bz2
i965: Fix OACONTROL assertion failures on Ironlake.
I guarded half of the callers to start/stop_oa_counters with generation checks, but missed the other half (which were added later). OACONTROL doesn't exist on Ironlake, so we better not write it. Also, there's no need---Ironlake's performance counters are always running. This patch moves the generation checks into start/stop_oa_counters, rather than requiring the caller to do them. Fixes assertion failures in Piglit's AMD_performance_monitor/measure. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_batchbuffer.c')
0 files changed, 0 insertions, 0 deletions