diff options
| author | Ayoosh Bansal <ayooshb@nvidia.com> | 2015-10-26 16:41:20 -0400 |
|---|---|---|
| committer | Ayoosh Bansal <ayooshb@nvidia.com> | 2015-11-09 13:45:44 -0500 |
| commit | 5443442fe3595e6399b5015905f9a48e29b74e01 (patch) | |
| tree | b4a12d3db6c8a2c3a71901fd8046bc0604ce444d /include/linux/platform | |
| parent | eed8769ef3c09c7d604a33582e139945661cbc2c (diff) | |
platform: tegra: bwmgr: Add api for max iso eff
Add a new api which returns the dram efficiency at max
emc rate. This enabled ISO manager to calculate the max ISO bandwidth
supported for current DRAM configuration.
Bug 1675080
Change-Id: I2a04dddcd3774a304209fe476efcedcd9684a8ea
Signed-off-by: Ayoosh Bansal <ayooshb@nvidia.com>
Reviewed-on: http://git-master/r/823009
(cherry picked from commit 83c10061e800744962dbb176f5bd74694130b400)
Reviewed-on: http://git-master/r/829165
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>
Diffstat (limited to 'include/linux/platform')
| -rw-r--r-- | include/linux/platform/tegra/bwmgr_mc.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/platform/tegra/bwmgr_mc.h b/include/linux/platform/tegra/bwmgr_mc.h index d30796b07..35f641f22 100644 --- a/include/linux/platform/tegra/bwmgr_mc.h +++ b/include/linux/platform/tegra/bwmgr_mc.h | |||
| @@ -16,8 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #include <linux/types.h> | 17 | #include <linux/types.h> |
| 18 | 18 | ||
| 19 | extern int bwmgr_iso_bw_percentage; | ||
| 20 | |||
| 21 | unsigned long bwmgr_apply_efficiency( | 19 | unsigned long bwmgr_apply_efficiency( |
| 22 | unsigned long bw, unsigned long iso_bw, | 20 | unsigned long bw, unsigned long iso_bw, |
| 23 | unsigned long emc_max, u64 usage_flags, | 21 | unsigned long emc_max, u64 usage_flags, |
| @@ -29,5 +27,6 @@ unsigned long bwmgr_freq_to_bw(unsigned long freq); | |||
| 29 | unsigned long bwmgr_bw_to_freq(unsigned long bw); | 27 | unsigned long bwmgr_bw_to_freq(unsigned long bw); |
| 30 | 28 | ||
| 31 | u32 bwmgr_dvfs_latency(u32 ufreq); | 29 | u32 bwmgr_dvfs_latency(u32 ufreq); |
| 30 | int bwmgr_iso_bw_percentage_max(void); | ||
| 32 | 31 | ||
| 33 | #endif /* __BWMGR_MC_H */ | 32 | #endif /* __BWMGR_MC_H */ |
