From 5e1ec0d89d3ff9c56e7664ba06e6d1fd5b2d5ec8 Mon Sep 17 00:00:00 2001 From: Tao Zeng Date: Tue, 30 Apr 2019 10:56:18 +0800 Subject: [PATCH] bandwidth: add min bandwidth read in usage_stat [1/1] PD#SWPL-7960 Problem: There is no min ddr bandwidth data Solution: Add this value in sysfs Verify: p212 Change-Id: I9d90476d30c0ca7789046d8d205f0802de2b4acf Signed-off-by: Tao Zeng --- include/linux/amlogic/aml_ddr_bandwidth.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/amlogic/aml_ddr_bandwidth.h b/include/linux/amlogic/aml_ddr_bandwidth.h index ba0057dc5d89..d6e47c9ef5c0 100644 --- a/include/linux/amlogic/aml_ddr_bandwidth.h +++ b/include/linux/amlogic/aml_ddr_bandwidth.h @@ -160,6 +160,7 @@ struct ddr_bandwidth { spinlock_t lock; struct ddr_bandwidth_sample cur_sample; struct ddr_bandwidth_sample max_sample; + struct ddr_bandwidth_sample min_sample; struct ddr_avg_bandwidth avg; u64 port[MAX_CHANNEL]; void __iomem *ddr_reg;