summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/therm
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common/therm')
-rw-r--r--drivers/gpu/nvgpu/common/therm/therm.c3
-rw-r--r--drivers/gpu/nvgpu/common/therm/therm_gm20b.c2
-rw-r--r--drivers/gpu/nvgpu/common/therm/therm_gp106.c3
-rw-r--r--drivers/gpu/nvgpu/common/therm/therm_gp10b.c7
-rw-r--r--drivers/gpu/nvgpu/common/therm/therm_gv11b.c9
5 files changed, 9 insertions, 15 deletions
diff --git a/drivers/gpu/nvgpu/common/therm/therm.c b/drivers/gpu/nvgpu/common/therm/therm.c
index cfe8a2c1..8c88ff0d 100644
--- a/drivers/gpu/nvgpu/common/therm/therm.c
+++ b/drivers/gpu/nvgpu/common/therm/therm.c
@@ -23,8 +23,7 @@
23#include <nvgpu/types.h> 23#include <nvgpu/types.h>
24#include <nvgpu/log.h> 24#include <nvgpu/log.h>
25#include <nvgpu/therm.h> 25#include <nvgpu/therm.h>
26 26#include <nvgpu/gk20a.h>
27#include "gk20a/gk20a.h"
28 27
29int nvgpu_init_therm_support(struct gk20a *g) 28int nvgpu_init_therm_support(struct gk20a *g)
30{ 29{
diff --git a/drivers/gpu/nvgpu/common/therm/therm_gm20b.c b/drivers/gpu/nvgpu/common/therm/therm_gm20b.c
index 023ec36a..925f6951 100644
--- a/drivers/gpu/nvgpu/common/therm/therm_gm20b.c
+++ b/drivers/gpu/nvgpu/common/therm/therm_gm20b.c
@@ -23,7 +23,7 @@
23 */ 23 */
24 24
25#include <nvgpu/io.h> 25#include <nvgpu/io.h>
26#include "gk20a/gk20a.h" 26#include <nvgpu/gk20a.h>
27 27
28#include "therm_gm20b.h" 28#include "therm_gm20b.h"
29 29
diff --git a/drivers/gpu/nvgpu/common/therm/therm_gp106.c b/drivers/gpu/nvgpu/common/therm/therm_gp106.c
index b22cefeb..b1490613 100644
--- a/drivers/gpu/nvgpu/common/therm/therm_gp106.c
+++ b/drivers/gpu/nvgpu/common/therm/therm_gp106.c
@@ -21,8 +21,7 @@
21 */ 21 */
22 22
23#include <nvgpu/io.h> 23#include <nvgpu/io.h>
24 24#include <nvgpu/gk20a.h>
25#include "gk20a/gk20a.h"
26 25
27#include "therm_gp106.h" 26#include "therm_gp106.h"
28#include "therm/thrmpmu.h" 27#include "therm/thrmpmu.h"
diff --git a/drivers/gpu/nvgpu/common/therm/therm_gp10b.c b/drivers/gpu/nvgpu/common/therm/therm_gp10b.c
index 905ff178..8b5371a9 100644
--- a/drivers/gpu/nvgpu/common/therm/therm_gp10b.c
+++ b/drivers/gpu/nvgpu/common/therm/therm_gp10b.c
@@ -21,13 +21,12 @@
21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 * DEALINGS IN THE SOFTWARE. 22 * DEALINGS IN THE SOFTWARE.
23 */ 23 */
24
25#include "gk20a/gk20a.h"
26#include "therm_gp10b.h"
27
28#include <nvgpu/soc.h> 24#include <nvgpu/soc.h>
29#include <nvgpu/io.h> 25#include <nvgpu/io.h>
30#include <nvgpu/utils.h> 26#include <nvgpu/utils.h>
27#include <nvgpu/gk20a.h>
28
29#include "therm_gp10b.h"
31 30
32#include <nvgpu/hw/gp10b/hw_therm_gp10b.h> 31#include <nvgpu/hw/gp10b/hw_therm_gp10b.h>
33 32
diff --git a/drivers/gpu/nvgpu/common/therm/therm_gv11b.c b/drivers/gpu/nvgpu/common/therm/therm_gv11b.c
index 419dd75e..971848fb 100644
--- a/drivers/gpu/nvgpu/common/therm/therm_gv11b.c
+++ b/drivers/gpu/nvgpu/common/therm/therm_gv11b.c
@@ -21,18 +21,15 @@
21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 * DEALINGS IN THE SOFTWARE. 22 * DEALINGS IN THE SOFTWARE.
23 */ 23 */
24
25#include "gk20a/gk20a.h"
26#include "therm_gv11b.h"
27
28#include <nvgpu/soc.h> 24#include <nvgpu/soc.h>
29#include <nvgpu/io.h> 25#include <nvgpu/io.h>
30#include <nvgpu/utils.h> 26#include <nvgpu/utils.h>
31 27#include <nvgpu/gk20a.h>
32#include <nvgpu/hw/gv11b/hw_therm_gv11b.h>
33 28
34#include "therm_gv11b.h" 29#include "therm_gv11b.h"
35 30
31#include <nvgpu/hw/gv11b/hw_therm_gv11b.h>
32
36int gv11b_init_therm_setup_hw(struct gk20a *g) 33int gv11b_init_therm_setup_hw(struct gk20a *g)
37{ 34{
38 u32 v; 35 u32 v;