Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/nvidia Adjust voltage when changing CPU frequency.



details:   https://anonhg.NetBSD.org/src/rev/52dee592d083
branches:  trunk
changeset: 823634:52dee592d083
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sat Apr 29 23:00:42 2017 +0000

description:
Adjust voltage when changing CPU frequency.

diffstat:

 sys/arch/arm/nvidia/tegra124_cpu.c |  22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)

diffs (43 lines):

diff -r 18b48e784a04 -r 52dee592d083 sys/arch/arm/nvidia/tegra124_cpu.c
--- a/sys/arch/arm/nvidia/tegra124_cpu.c        Sat Apr 29 20:43:48 2017 +0000
+++ b/sys/arch/arm/nvidia/tegra124_cpu.c        Sat Apr 29 23:00:42 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tegra124_cpu.c,v 1.2 2017/04/29 20:43:48 jakllsch Exp $ */
+/* $NetBSD: tegra124_cpu.c,v 1.3 2017/04/29 23:00:42 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2015 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -30,7 +30,7 @@
 #include "opt_multiprocessor.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tegra124_cpu.c,v 1.2 2017/04/29 20:43:48 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tegra124_cpu.c,v 1.3 2017/04/29 23:00:42 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -88,15 +88,15 @@
        u_int divp;
        u_int uvol;
 } tegra124_cpufreq_rates[] = {
-       { 2316, 1, 193, 0, 1200000 },
-       { 2100, 1, 175, 0, 1200000 },
-       { 1896, 1, 158, 0, 1200000 },
-       { 1692, 1, 141, 0, 1200000 },
-       { 1500, 1, 125, 0, 1200000 },
-       { 1296, 1, 108, 0, 1200000 },
-       { 1092, 1, 91,  0, 1200000 },
-       { 900,  1, 75,  0, 1200000 },
-       { 696,  1, 58,  0, 1200000 }
+       { 2316, 1, 193, 0, 1360000 },
+       { 2100, 1, 175, 0, 1260000 },
+       { 1896, 1, 158, 0, 1180000 },
+       { 1692, 1, 141, 0, 1100000 },
+       { 1500, 1, 125, 0, 1020000 },
+       { 1296, 1, 108, 0, 960000 },
+       { 1092, 1, 91,  0, 900000 },
+       { 900,  1, 75,  0, 840000 },
+       { 696,  1, 58,  0, 800000 }
 };
 
 static const u_int tegra124_cpufreq_max[] = {



Home | Main Index | Thread Index | Old Index