OSDN Git Service

radeonsi: don't flush CB/DB caches for performance counters
authorMarek Olšák <marek.olsak@amd.com>
Sun, 17 Apr 2016 13:18:31 +0000 (15:18 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 18 Apr 2016 17:51:24 +0000 (19:51 +0200)
commit28c2573b4f1b311145b3f21a1794adb3dcd5f61a
treebba5b73768051ad9ab8e4277a078fc0eba15038e
parent97c328b2a39ec3a7ae617d913efa7e6bf1df4d07
radeonsi: don't flush CB/DB caches for performance counters

I'm not sure about this. This will make the engines go idle, but the caches
will be unflushed. This should match app behavior without performance
counters, which can be a good thing.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_perfcounter.c