diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/soc.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/soc.c b/drivers/gpu/nvgpu/common/linux/soc.c index 5ad9c019..6a2bc7c0 100644 --- a/drivers/gpu/nvgpu/common/linux/soc.c +++ b/drivers/gpu/nvgpu/common/linux/soc.c | |||
@@ -12,6 +12,7 @@ | |||
12 | */ | 12 | */ |
13 | 13 | ||
14 | #include <soc/tegra/chip-id.h> | 14 | #include <soc/tegra/chip-id.h> |
15 | #include <soc/tegra/tegra_bpmp.h> | ||
15 | 16 | ||
16 | #include <nvgpu/soc.h> | 17 | #include <nvgpu/soc.h> |
17 | 18 | ||
@@ -34,3 +35,8 @@ bool nvgpu_is_hypervisor_mode(struct gk20a *g) | |||
34 | { | 35 | { |
35 | return is_tegra_hypervisor_mode(); | 36 | return is_tegra_hypervisor_mode(); |
36 | } | 37 | } |
38 | |||
39 | bool nvgpu_is_bpmp_running(struct gk20a *g) | ||
40 | { | ||
41 | return tegra_bpmp_running(); | ||
42 | } | ||