[igt-dev] [PATCH i-g-t] lib/i915/perf: Include ATSM in ACM metrics

Umesh Nerlige Ramappa umesh.nerlige.ramappa at intel.com
Tue Nov 29 21:08:33 UTC 2022


lgtm,

Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa at intel.com>

Thanks,
Umesh

On Tue, Nov 29, 2022 at 08:59:53AM -0800, Ashutosh Dixit wrote:
>ATSM shares DG2 metrics.
>
>Signed-off-by: Ashutosh Dixit <ashutosh.dixit at intel.com>
>---
> lib/i915/perf.c | 2 ++
> 1 file changed, 2 insertions(+)
>
>diff --git a/lib/i915/perf.c b/lib/i915/perf.c
>index 4a946906a84..c7e87457bd0 100644
>--- a/lib/i915/perf.c
>+++ b/lib/i915/perf.c
>@@ -159,6 +159,7 @@ is_acm_gt1(const struct intel_perf_devinfo *devinfo)
> #define INTEL_VGA_DEVICE(_id, _info) _id
> 	static const uint32_t devids[] = {
> 		INTEL_DG2_G11_IDS(NULL),
>+		INTEL_ATS_M75_IDS(NULL),
> 	};
> #undef INTEL_VGA_DEVICE
> 	for (uint32_t i = 0; i < ARRAY_SIZE(devids); i++) {
>@@ -193,6 +194,7 @@ is_acm_gt3(const struct intel_perf_devinfo *devinfo)
> #define INTEL_VGA_DEVICE(_id, _info) _id
> 	static const uint32_t devids[] = {
> 		INTEL_DG2_G10_IDS(NULL),
>+		INTEL_ATS_M150_IDS(NULL),
> 	};
> #undef INTEL_VGA_DEVICE
> 	for (uint32_t i = 0; i < ARRAY_SIZE(devids); i++) {
>-- 
>2.38.0
>


More information about the igt-dev mailing list