diff options
author | Jim Quigley <jim.quigley@arm.com> | 2020-08-25 17:30:07 +0100 |
---|---|---|
committer | Chris Kay <chris@cjkay.com> | 2020-08-28 13:45:06 +0100 |
commit | cfd6207742de555c81a23392767c13d796b8b966 (patch) | |
tree | 946a5a1f7984bd0f5d5566b18f159c2ec0291455 /product/sgm775 | |
parent | e3d2cceceb43fa8d68b53c192a9cccb623fdbd9a (diff) |
SCMI: Performance notifications and fast channels need to be separated
This patch allows the SCMI_PERF HAL to use whichever combination of
the SCMI Notifications and Fast Channels mechanisms (or neither) when
the DVFS module notifies it that there have been updates to the domain
performance limits or level settings.
Change-Id: I7e1c262edf33d090d21508eb8f1be293a0ab8e99
Signed-off-by: Jim Quigley <jim.quigley@arm.com>
Diffstat (limited to 'product/sgm775')
-rw-r--r-- | product/sgm775/scp_ramfw/config_dvfs.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/product/sgm775/scp_ramfw/config_dvfs.c b/product/sgm775/scp_ramfw/config_dvfs.c index f7f641d6..937f0f48 100644 --- a/product/sgm775/scp_ramfw/config_dvfs.c +++ b/product/sgm775/scp_ramfw/config_dvfs.c @@ -30,9 +30,9 @@ static const struct mod_dvfs_domain_config cpu_group_little = { 0, CONFIG_TIMER_DVFS_CPU_GROUP_LITTLE), .notification_id = FWK_ID_MODULE_INIT(FWK_MODULE_IDX_SCMI_PERF), - .notification_api_id = FWK_ID_API_INIT( + .updates_api_id = FWK_ID_API_INIT( FWK_MODULE_IDX_SCMI_PERF, - MOD_SCMI_PERF_DVFS_NOTIFICATION_API), + MOD_SCMI_PERF_DVFS_UPDATE_API), .retry_ms = 1, .latency = 1200, .sustained_idx = 2, @@ -72,9 +72,9 @@ static const struct mod_dvfs_domain_config cpu_group_big = { 0, CONFIG_TIMER_DVFS_CPU_GROUP_BIG), .notification_id = FWK_ID_MODULE_INIT(FWK_MODULE_IDX_SCMI_PERF), - .notification_api_id = FWK_ID_API_INIT( + .updates_api_id = FWK_ID_API_INIT( FWK_MODULE_IDX_SCMI_PERF, - MOD_SCMI_PERF_DVFS_NOTIFICATION_API), + MOD_SCMI_PERF_DVFS_UPDATE_API), .retry_ms = 1, .latency = 1200, .sustained_idx = 2, @@ -112,9 +112,9 @@ static const struct mod_dvfs_domain_config gpu = { .alarm_id = FWK_ID_SUB_ELEMENT_INIT(FWK_MODULE_IDX_TIMER, 0, CONFIG_TIMER_DVFS_GPU), .notification_id = FWK_ID_MODULE_INIT(FWK_MODULE_IDX_SCMI_PERF), - .notification_api_id = FWK_ID_API_INIT( + .updates_api_id = FWK_ID_API_INIT( FWK_MODULE_IDX_SCMI_PERF, - MOD_SCMI_PERF_DVFS_NOTIFICATION_API), + MOD_SCMI_PERF_DVFS_UPDATE_API), .retry_ms = 1, .latency = 1200, .sustained_idx = 4, |