From cabd09ac9b8b5f3aba181c26678ca45379c87124 Mon Sep 17 00:00:00 2001 From: xuchen-amd Date: Wed, 7 Aug 2024 12:26:28 -0400 Subject: [PATCH] Enable rocprofv1 for additional socs (#391) * Enable rocprofv1 for gfx940/941/942. Signed-off-by: xuchen-amd * Enable rocprofv1 for gfx940/941/942. Enable rocprofv1 for gfx940/941/942, removing rocscope. Jira Tracking: https://ontrack-internal.amd.com/browse/SWDEV-474924 Signed-off-by: xuchen-amd --------- Signed-off-by: xuchen-amd --- src/omniperf_soc/soc_gfx940.py | 2 +- src/omniperf_soc/soc_gfx941.py | 2 +- src/omniperf_soc/soc_gfx942.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/omniperf_soc/soc_gfx940.py b/src/omniperf_soc/soc_gfx940.py index 511e83710..77afc0247 100644 --- a/src/omniperf_soc/soc_gfx940.py +++ b/src/omniperf_soc/soc_gfx940.py @@ -50,7 +50,7 @@ def __init__(self, args, mspec): str(config.omniperf_home), "omniperf_soc", "profile_configs", "gfx940" ) ) - self.set_compatible_profilers(["rocprofv2"]) + self.set_compatible_profilers(["rocprofv1", "rocprofv2"]) # Per IP block max number of simultaneous counters. GFX IP Blocks self.set_perfmon_config( { diff --git a/src/omniperf_soc/soc_gfx941.py b/src/omniperf_soc/soc_gfx941.py index fa2674463..c7a74081c 100644 --- a/src/omniperf_soc/soc_gfx941.py +++ b/src/omniperf_soc/soc_gfx941.py @@ -50,7 +50,7 @@ def __init__(self, args, mspec): str(config.omniperf_home), "omniperf_soc", "profile_configs", "gfx940" ) ) - self.set_compatible_profilers(["rocprofv2"]) + self.set_compatible_profilers(["rocprofv1", "rocprofv2"]) # Per IP block max number of simultaneous counters. GFX IP Blocks self.set_perfmon_config( { diff --git a/src/omniperf_soc/soc_gfx942.py b/src/omniperf_soc/soc_gfx942.py index 05b39a77e..d2ad35eb1 100644 --- a/src/omniperf_soc/soc_gfx942.py +++ b/src/omniperf_soc/soc_gfx942.py @@ -50,7 +50,7 @@ def __init__(self, args, mspec): str(config.omniperf_home), "omniperf_soc", "profile_configs", "gfx940" ) ) - self.set_compatible_profilers(["rocprofv2"]) + self.set_compatible_profilers(["rocprofv1", "rocprofv2"]) # Per IP block max number of simultaneous counters. GFX IP Blocks self.set_perfmon_config( {