summaryrefslogtreecommitdiff
path: root/drm
diff options
context:
space:
mode:
authorVince Hsu <vinceh@nvidia.com>2014-12-22 17:11:39 +0800
committerBen Skeggs <bskeggs@redhat.com>2015-01-10 23:57:07 +1000
commitef66278d4fad9d0986c95f40d20f315897a59658 (patch)
tree1039780dec516abfa0536e98af69b96a29c82dbc /drm
parent1266b6921dacc4ba4d920f15d88241b407972cc5 (diff)
downloadnouveau-ef66278d4fad9d0986c95f40d20f315897a59658.tar.gz
pwr: add support for GK20A
This patch adds PWR support for GK20A. But instead of adding the PWR features like firmware loading and communication with PMU firmware, we add the DVFS (Dynamic Voltage and Frequency Scaling), which is one of the PMU firmware's jobs on dGPUs, in this patch. This refers to the idle signals provided by the NVIDIA hardware and tries to adjust the performance level based on the calculated target. The reclocking policy can be fine-tuned later when we have more real use cases. Signed-off-by: Vince Hsu <vinceh@nvidia.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drm')
-rw-r--r--drm/Kbuild1
l---------drm/core/subdev/pwr/gk20a.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/drm/Kbuild b/drm/Kbuild
index 6461e3565..ba6b660d3 100644
--- a/drm/Kbuild
+++ b/drm/Kbuild
@@ -201,6 +201,7 @@ nouveau-y += core/subdev/pwr/nvc0.o
nouveau-y += core/subdev/pwr/nvd0.o
nouveau-y += core/subdev/pwr/gk104.o
nouveau-y += core/subdev/pwr/nv108.o
+nouveau-y += core/subdev/pwr/gk20a.o
nouveau-y += core/subdev/therm/base.o
nouveau-y += core/subdev/therm/fan.o
nouveau-y += core/subdev/therm/fannil.o
diff --git a/drm/core/subdev/pwr/gk20a.c b/drm/core/subdev/pwr/gk20a.c
new file mode 120000
index 000000000..804979982
--- /dev/null
+++ b/drm/core/subdev/pwr/gk20a.c
@@ -0,0 +1 @@
+../../../../nvkm/subdev/pwr/gk20a.c \ No newline at end of file