intel/perf: add DG1 support

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Acked-by: Marcin Ślusarz <marcin.slusarz@intel.com>
Acked-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6518>
This commit is contained in:
Lionel Landwerlin
2020-08-26 16:39:13 +03:00
committed by Marge Bot
parent 1b335bc55a
commit f721f2ad05
4 changed files with 10760 additions and 2 deletions

View File

@@ -364,7 +364,8 @@ GEN_PERF_XML_FILES = \
perf/oa-ehl.xml \ perf/oa-ehl.xml \
perf/oa-tglgt1.xml \ perf/oa-tglgt1.xml \
perf/oa-tglgt2.xml \ perf/oa-tglgt2.xml \
perf/oa-rkl.xml perf/oa-rkl.xml \
perf/oa-dg1.xml
GEN_PERF_FILES = \ GEN_PERF_FILES = \
perf/gen_perf.c \ perf/gen_perf.c \

View File

@@ -477,6 +477,8 @@ get_register_queries_function(const struct gen_device_info *devinfo)
} }
if (devinfo->is_rocketlake) if (devinfo->is_rocketlake)
return gen_oa_register_queries_rkl; return gen_oa_register_queries_rkl;
if (devinfo->is_dg1)
return gen_oa_register_queries_dg1;
return NULL; return NULL;
} }

View File

@@ -6,7 +6,7 @@ gen_hw_metrics = [
'cflgt2', 'cflgt3', 'cflgt2', 'cflgt3',
'bxt', 'glk', 'bxt', 'glk',
'icl', 'ehl', 'icl', 'ehl',
'tglgt1', 'tglgt2', 'rkl' 'tglgt1', 'tglgt2', 'rkl', 'dg1',
] ]
gen_hw_metrics_xml_files = [] gen_hw_metrics_xml_files = []

10755
src/intel/perf/oa-dg1.xml Normal file

File diff suppressed because it is too large Load Diff