summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a_scale.h
diff options
context:
space:
mode:
authorSeshendra Gadagottu <sgadagottu@nvidia.com>2015-10-13 14:39:43 -0400
committerTerje Bergstrom <tbergstrom@nvidia.com>2015-11-19 17:31:49 -0500
commitacde16dd16012004efa1edb9dc9813f0c62622e4 (patch)
tree415603313667448d1325fe610b41d49c564c49c1 /drivers/gpu/nvgpu/gk20a/gk20a_scale.h
parentd3cf5811996388a1d7501da72fff46ee19e5e7c7 (diff)
gpu: nvgpu: scaling driver update
Update scaling driver to support to differnt clock frameworks. Bug 200147662 Reviewed-on: http://git-master/r/816929 (cherry picked from commit cbd4cb575fb2d27870089797ff2a8f22540b87e8) Change-Id: Ie50304b4a593d74bd43b271005cc9616fdb52a6e Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-on: http://git-master/r/834748 Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a_scale.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a_scale.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a_scale.h b/drivers/gpu/nvgpu/gk20a/gk20a_scale.h
index 5a9eff97..889a3973 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a_scale.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a_scale.h
@@ -1,7 +1,7 @@
1/* 1/*
2 * gk20a clock scaling profile 2 * gk20a clock scaling profile
3 * 3 *
4 * Copyright (c) 2013-2014, NVIDIA Corporation. All rights reserved. 4 * Copyright (c) 2013-2015, NVIDIA Corporation. All rights reserved.
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it 6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms and conditions of the GNU General Public License, 7 * under the terms and conditions of the GNU General Public License,
@@ -38,7 +38,7 @@ void gk20a_scale_init(struct platform_device *);
38void gk20a_scale_exit(struct platform_device *); 38void gk20a_scale_exit(struct platform_device *);
39void gk20a_scale_hw_init(struct platform_device *pdev); 39void gk20a_scale_hw_init(struct platform_device *pdev);
40 40
41#ifdef CONFIG_GK20A_DEVFREQ 41#if defined(CONFIG_GK20A_DEVFREQ)
42/* 42/*
43 * call when performing submit to notify scaling mechanism that the module is 43 * call when performing submit to notify scaling mechanism that the module is
44 * in use 44 * in use