The BBCR and BBCW LA values should be set based on ISO bw
reservation requests. The BBCLLR LA value should be set for
640 MB/s so that cache misses are not throttled and is not
expected to change.
Bug
1258931
Change-Id: Ibfcc1fac931bab6600d13aee0e43761a10b801ad
Signed-off-by: Neil Patel <neilp@nvidia.com>
Reviewed-on: http://git-master/r/212156
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Frederic Bossy <fbossy@nvidia.com>
Reviewed-by: Stephane Dion <sdion@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Steve Lin <stlin@nvidia.com>
if (!ret)
dev_err(dev, "can't reserve iso bw\n");
+ tegra_set_latency_allowance(TEGRA_LA_BBCR, bw / 1000);
+ tegra_set_latency_allowance(TEGRA_LA_BBCW, bw / 1000);
+
return size;
}
return size;
}
-/* TODO: set LA*/
+ tegra_set_latency_allowance(TEGRA_LA_BBCR, bw / 1000);
+ tegra_set_latency_allowance(TEGRA_LA_BBCW, bw / 1000);
+
return size;
}
if (!bbc->isomgr_handle)
goto iso_error;
+ tegra_set_latency_allowance(TEGRA_LA_BBCLLR, 640);
+
attrs = mc_attributes;
while ((attr = *attrs++)) {
ret = device_create_file(&pdev->dev, attr);