diff options
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c b/drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c index f61b14fa..87c678ea 100644 --- a/drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c +++ b/drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * GK20A Tegra Platform Interface | 2 | * GK20A Tegra Platform Interface |
3 | * | 3 | * |
4 | * Copyright (c) 2014-2016, 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, |
@@ -766,7 +766,9 @@ void gk20a_tegra_debug_dump(struct device *dev) | |||
766 | { | 766 | { |
767 | struct gk20a_platform *platform = gk20a_get_platform(dev); | 767 | struct gk20a_platform *platform = gk20a_get_platform(dev); |
768 | struct gk20a *g = platform->g; | 768 | struct gk20a *g = platform->g; |
769 | nvhost_debug_dump_device(g->host1x_dev); | 769 | |
770 | if (g->host1x_dev) | ||
771 | nvhost_debug_dump_device(g->host1x_dev); | ||
770 | } | 772 | } |
771 | 773 | ||
772 | int gk20a_tegra_busy(struct device *dev) | 774 | int gk20a_tegra_busy(struct device *dev) |