diff options
author | Georgi Djakov <georgi.djakov@linaro.org> | 2019-08-09 15:13:23 +0300 |
---|---|---|
committer | Georgi Djakov <georgi.djakov@linaro.org> | 2019-08-13 23:02:44 +0300 |
commit | 127ab2cc5f19692efe422935267b9db0845b2b04 (patch) | |
tree | 104e5154b6166e0c87251ab2ad9948154b809e38 /drivers/interconnect/qcom/sdm845.c | |
parent | d45331b00ddb179e291766617259261c112db872 (diff) | |
download | linux-127ab2cc5f19692efe422935267b9db0845b2b04.tar.xz |
interconnect: Add support for path tags
Consumers may have use cases with different bandwidth requirements based
on the system or driver state. The consumer driver can append a specific
tag to the path and pass this information to the interconnect platform
driver to do the aggregation based on this state.
Introduce icc_set_tag() function that will allow the consumers to append
an optional tag to each path. The aggregation of these tagged paths is
platform specific.
Reviewed-by: Evan Green <evgreen@chromium.org>
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
Diffstat (limited to 'drivers/interconnect/qcom/sdm845.c')
-rw-r--r-- | drivers/interconnect/qcom/sdm845.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/interconnect/qcom/sdm845.c b/drivers/interconnect/qcom/sdm845.c index 4915b78da673..fb526004c82e 100644 --- a/drivers/interconnect/qcom/sdm845.c +++ b/drivers/interconnect/qcom/sdm845.c @@ -626,7 +626,7 @@ static void bcm_aggregate(struct qcom_icc_bcm *bcm) bcm->dirty = false; } -static int qcom_icc_aggregate(struct icc_node *node, u32 avg_bw, +static int qcom_icc_aggregate(struct icc_node *node, u32 tag, u32 avg_bw, u32 peak_bw, u32 *agg_avg, u32 *agg_peak) { size_t i; |