mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-09 23:08:18 +02:00
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:
parent
b39cb31e66
commit
7bbdf0ffb7
4 changed files with 1068 additions and 0 deletions
1063
src/freedreno/ds/fd_pps_a8xx.cc
Normal file
1063
src/freedreno/ds/fd_pps_a8xx.cc
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue