mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-25 02:52:51 +03:00
Revert "Revert "nvgpu: gp10b:remove EMC floor when GPU Fmin""
This reverts commit 74948b73e3 ("Revert "nvgpu:
gp10b: remove EMC floor when GPU Fmin"")
The orginal patch caused instability in GVS and was reverted
for unknown reasons.This reverts the revert.
Revert patch : http://git-master/r/#/c/1291512/
Original patch : http://git-master/r/#/c/1284572/
Bug 1864117
Bug 1863013
Change-Id: Iaeef74296d0df4bb63d02d567e0d4be63688643a
Signed-off-by: Cyril Raju <craju@nvidia.com>
Reviewed-on: http://git-master/r/1296294
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
771445abc8
commit
a58dc57282
@@ -312,7 +312,14 @@ static void gp10b_tegra_postscale(struct device *pdev,
|
||||
|
||||
gk20a_dbg_fn("");
|
||||
if (profile && !gp10b_tegra_is_railgated(pdev)) {
|
||||
emc_rate = (freq * EMC_BW_RATIO * g->emc3d_ratio) / 1000;
|
||||
unsigned long emc_scale;
|
||||
|
||||
if (freq <= gp10b_freq_table[0])
|
||||
emc_scale = 0;
|
||||
else
|
||||
emc_scale = g->emc3d_ratio;
|
||||
|
||||
emc_rate = (freq * EMC_BW_RATIO * emc_scale) / 1000;
|
||||
|
||||
if (emc_rate > tegra_bwmgr_get_max_emc_rate())
|
||||
emc_rate = tegra_bwmgr_get_max_emc_rate();
|
||||
|
||||
Reference in New Issue
Block a user