diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/bus_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/bus_gk20a.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/bus_gk20a.c b/drivers/gpu/nvgpu/gk20a/bus_gk20a.c index 3119e373..e81a5b2a 100644 --- a/drivers/gpu/nvgpu/gk20a/bus_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/bus_gk20a.c | |||
@@ -14,10 +14,9 @@ | |||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
15 | */ | 15 | */ |
16 | 16 | ||
17 | #include <soc/tegra/chip-id.h> | ||
18 | |||
19 | #include <nvgpu/page_allocator.h> | 17 | #include <nvgpu/page_allocator.h> |
20 | #include <nvgpu/log.h> | 18 | #include <nvgpu/log.h> |
19 | #include <nvgpu/soc.h> | ||
21 | 20 | ||
22 | #include "gk20a.h" | 21 | #include "gk20a.h" |
23 | 22 | ||
@@ -31,7 +30,7 @@ void gk20a_bus_init_hw(struct gk20a *g) | |||
31 | struct gk20a_platform *platform = gk20a_get_platform(g->dev); | 30 | struct gk20a_platform *platform = gk20a_get_platform(g->dev); |
32 | 31 | ||
33 | /* enable pri timeout only on silicon */ | 32 | /* enable pri timeout only on silicon */ |
34 | if (tegra_platform_is_silicon()) { | 33 | if (nvgpu_platform_is_silicon(g)) { |
35 | gk20a_writel(g, | 34 | gk20a_writel(g, |
36 | timer_pri_timeout_r(), | 35 | timer_pri_timeout_r(), |
37 | timer_pri_timeout_period_f( | 36 | timer_pri_timeout_period_f( |
@@ -46,7 +45,7 @@ void gk20a_bus_init_hw(struct gk20a *g) | |||
46 | timer_pri_timeout_en_en_disabled_f()); | 45 | timer_pri_timeout_en_en_disabled_f()); |
47 | } | 46 | } |
48 | 47 | ||
49 | if (!tegra_platform_is_silicon()) | 48 | if (!nvgpu_platform_is_silicon(g)) |
50 | gk20a_writel(g, bus_intr_en_0_r(), 0x0); | 49 | gk20a_writel(g, bus_intr_en_0_r(), 0x0); |
51 | else | 50 | else |
52 | gk20a_writel(g, bus_intr_en_0_r(), | 51 | gk20a_writel(g, bus_intr_en_0_r(), |