diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/bus_gk20a.c | 1 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/fb_gk20a.c | 4 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/ltc_gk20a.c | 1 |
3 files changed, 4 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/bus_gk20a.c b/drivers/gpu/nvgpu/gk20a/bus_gk20a.c index 5f25271f..52ef08e4 100644 --- a/drivers/gpu/nvgpu/gk20a/bus_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/bus_gk20a.c | |||
@@ -19,6 +19,7 @@ | |||
19 | #include <nvgpu/soc.h> | 19 | #include <nvgpu/soc.h> |
20 | 20 | ||
21 | #include "gk20a.h" | 21 | #include "gk20a.h" |
22 | #include "bus_gk20a.h" | ||
22 | 23 | ||
23 | #include <nvgpu/hw/gk20a/hw_bus_gk20a.h> | 24 | #include <nvgpu/hw/gk20a/hw_bus_gk20a.h> |
24 | #include <nvgpu/hw/gk20a/hw_mc_gk20a.h> | 25 | #include <nvgpu/hw/gk20a/hw_mc_gk20a.h> |
diff --git a/drivers/gpu/nvgpu/gk20a/fb_gk20a.c b/drivers/gpu/nvgpu/gk20a/fb_gk20a.c index 4a76bd6b..5aae14f2 100644 --- a/drivers/gpu/nvgpu/gk20a/fb_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/fb_gk20a.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * GK20A memory interface | 2 | * GK20A memory interface |
3 | * | 3 | * |
4 | * Copyright (c) 2014-2015, NVIDIA CORPORATION. All rights reserved. | 4 | * Copyright (c) 2014-2017, 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, |
@@ -72,7 +72,7 @@ static unsigned int gk20a_fb_compressible_page_size(struct gk20a *g) | |||
72 | return SZ_64K; | 72 | return SZ_64K; |
73 | } | 73 | } |
74 | 74 | ||
75 | bool gk20a_fb_debug_mode_enabled(struct gk20a *g) | 75 | static bool gk20a_fb_debug_mode_enabled(struct gk20a *g) |
76 | { | 76 | { |
77 | u32 debug_ctrl = gk20a_readl(g, fb_mmu_debug_ctrl_r()); | 77 | u32 debug_ctrl = gk20a_readl(g, fb_mmu_debug_ctrl_r()); |
78 | return fb_mmu_debug_ctrl_debug_v(debug_ctrl) == | 78 | return fb_mmu_debug_ctrl_debug_v(debug_ctrl) == |
diff --git a/drivers/gpu/nvgpu/gk20a/ltc_gk20a.c b/drivers/gpu/nvgpu/gk20a/ltc_gk20a.c index 4bd8f816..70b688f6 100644 --- a/drivers/gpu/nvgpu/gk20a/ltc_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/ltc_gk20a.c | |||
@@ -22,6 +22,7 @@ | |||
22 | #include <nvgpu/bug.h> | 22 | #include <nvgpu/bug.h> |
23 | 23 | ||
24 | #include "gk20a.h" | 24 | #include "gk20a.h" |
25 | #include "ltc_gk20a.h" | ||
25 | 26 | ||
26 | #include <nvgpu/hw/gk20a/hw_ltc_gk20a.h> | 27 | #include <nvgpu/hw/gk20a/hw_ltc_gk20a.h> |
27 | 28 | ||