From a8d544cc3978051d72e69e9a618bc7394c727614 Mon Sep 17 00:00:00 2001 From: goukon01 Date: Fri, 27 Dec 2024 11:22:21 +0530 Subject: [PATCH 1/2] tc: update expected values for tc3 and tc4 update the expected SCP version. update the expected performance domain names. update the expected performance domain number for GPU on tc4. Signed-off-by: Gourish Kondeti --- platform/linux/tc/include/pal_base_expected.h | 2 +- .../linux/tc/include/pal_performance_expected.h | 15 ++++++++++----- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/platform/linux/tc/include/pal_base_expected.h b/platform/linux/tc/include/pal_base_expected.h index f6fa8c9..59ffa9a 100644 --- a/platform/linux/tc/include/pal_base_expected.h +++ b/platform/linux/tc/include/pal_base_expected.h @@ -37,7 +37,7 @@ static char *agents[] = { static char *vendor_name = "arm"; static char *subvendor_name = "arm"; -#ifdef TC4 +#if defined(TC3) || defined(TC4) #define VERSION_MINOR 14 #else #define VERSION_MINOR 12 diff --git a/platform/linux/tc/include/pal_performance_expected.h b/platform/linux/tc/include/pal_performance_expected.h index 11fd621..64b58e8 100644 --- a/platform/linux/tc/include/pal_performance_expected.h +++ b/platform/linux/tc/include/pal_performance_expected.h @@ -23,19 +23,24 @@ static uint32_t num_perf_domains = 0x04; static uint32_t perf_num_performance_levels[] = { -#if defined(TC4) 5, /* CPU_GROUP_CORTEX_A520 */ 5, /* CPU_GROUP_CORTEX_A720 */ 5, /* CPU_GROUP_CORTEX_X4 */ +#if defined(TC4) 2 /* GPU */ #else - 5, /* CPU_GROUP_CORTEX_A520 */ - 5, /* CPU_GROUP_CORTEX_A720 */ - 5, /* CPU_GROUP_CORTEX_X4 */ 4 /* GPU */ #endif }; -#if defined(TC4) + +#if defined(TC3) +static char *performance_domain_names[] = { + "CPU_GROUP_CORTEX_A520", + "CPU_GROUP_CORTEX_A725", + "CPU_GROUP_CORTEX_X925", + "GPU" +}; +#elif defined(TC4) static char *performance_domain_names[] = { "CPU_GROUP_NEVIS", "CPU_GROUP_GELAS", -- GitLab From 0796527210735f32f14e892d69cfd0686f99a533 Mon Sep 17 00:00:00 2001 From: Gourish Kondeti Date: Fri, 27 Dec 2024 05:56:16 +0000 Subject: [PATCH 2/2] Update pal_base_expected.h --- platform/linux/tc/include/pal_base_expected.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/linux/tc/include/pal_base_expected.h b/platform/linux/tc/include/pal_base_expected.h index 59ffa9a..de512ed 100644 --- a/platform/linux/tc/include/pal_base_expected.h +++ b/platform/linux/tc/include/pal_base_expected.h @@ -44,4 +44,4 @@ static char *subvendor_name = "arm"; #endif static uint32_t implementation_version = VERSION_ENCODE32(2, VERSION_MINOR, 0); -#endif /* __PAL_BASE_EXPECTED_H__ */ +#endif /* __PAL_BASE_EXPECTED_H__ */ \ No newline at end of file -- GitLab