freedreno/ds: Add a8xx derived counters

Mostly just some counter renames (slice vs unslice, etc)

Signed-off-by: Rob Clark <rob.clark@oss.qualcomm.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41158>
This commit is contained in:
Rob Clark 2026-04-27 09:39:52 -07:00 committed by Marge Bot
parent b39cb31e66
commit 7bbdf0ffb7
4 changed files with 1068 additions and 0 deletions

File diff suppressed because it is too large Load diff

View file

@ -262,6 +262,9 @@ FreedrenoDriver::init_perfcnt()
case 7:
setup_a7xx_counters();
break;
case 8:
setup_a8xx_counters();
break;
default:
PERFETTO_FATAL("Unsupported GPU: a%03u", fd_dev_gpu_id(dev_id));
return false;

View file

@ -92,6 +92,7 @@ private:
void setup_a6xx_counters();
void setup_a7xx_counters();
void setup_a8xx_counters();
void configure_counters(bool reset, bool wait);
void collect_countables();

View file

@ -11,6 +11,7 @@ pps_freedreno_lib = static_library(
sources: [
'fd_pps_a6xx.cc',
'fd_pps_a7xx.cc',
'fd_pps_a8xx.cc',
'fd_pps_driver.cc',
'fd_pps_driver.h',
freedreno_xml_header_files,