aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorBoy Petersen <boypetersen@gmail.com>2013-06-24 16:25:56 +0200
committerZiyan <jaraidaniel@gmail.com>2014-12-16 02:15:35 +0100
commit61c6c77b105e323514d56c786ef97b1e9e30df0b (patch)
tree445e8ec658f6d0bd9b41fb01d331a9cf5467cdc5 /arch/arm
parent84d447e30a9494d93eaff237aae0cba090c27a70 (diff)
downloadkernel_samsung_tuna-61c6c77b105e323514d56c786ef97b1e9e30df0b.zip
kernel_samsung_tuna-61c6c77b105e323514d56c786ef97b1e9e30df0b.tar.gz
kernel_samsung_tuna-61c6c77b105e323514d56c786ef97b1e9e30df0b.tar.bz2
optimized LPDDR RAM timings (~10% throughput increase)
Tweaked the device's RAM timings. Benchmarks suggest a 10 percent thorughput improvement (RgBandwidth RAM misc benchmark; threads: 1. 20 benchmark instances each, best result wins): Stock Tweaked Copy 1249.9 MB/s -> 1373.0 MB/s --> 9.86 % improvement Scale 1084.8 MB/s -> 1188.1 MB/s --> 9.52 % improvement Add 938.4 MB/s -> 1050.2 MB/s --> 11.91 % improvement Triad 923.0 MB/s -> 1043.5 MB/s --> 13.06 % improvement Change-Id: I082e7515d2995910b115c3fe0283fe25808d1cfb
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-omap2/board-tuna-emif.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/arch/arm/mach-omap2/board-tuna-emif.c b/arch/arm/mach-omap2/board-tuna-emif.c
index 84819ce..81509c0 100644
--- a/arch/arm/mach-omap2/board-tuna-emif.c
+++ b/arch/arm/mach-omap2/board-tuna-emif.c
@@ -17,11 +17,11 @@
const struct lpddr2_timings lpddr2_samsung_timings_400_mhz = {
.max_freq = 400000000,
- .RL = 6,
- .tRPab = 21,
- .tRCD = 18,
- .tWR = 15,
- .tRASmin = 42,
+ .RL = 5,
+ .tRPab = 14,
+ .tRCD = 14,
+ .tWR = 10,
+ .tRASmin = 30,
.tRRD = 10,
.tWTRx2 = 15,
.tXSR = 140,
@@ -41,10 +41,10 @@ const struct lpddr2_timings lpddr2_samsung_timings_400_mhz = {
const struct lpddr2_timings lpddr2_samsung_timings_200_mhz = {
.max_freq = 200000000,
.RL = 3,
- .tRPab = 21,
- .tRCD = 18,
- .tWR = 15,
- .tRASmin = 42,
+ .tRPab = 14,
+ .tRCD = 14,
+ .tWR = 10,
+ .tRASmin = 30,
.tRRD = 10,
.tWTRx2 = 20,
.tXSR = 140,