summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux')
-rw-r--r--drivers/gpu/nvgpu/common/linux/soc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/soc.c b/drivers/gpu/nvgpu/common/linux/soc.c
index d2bb5275..f0cbc3e7 100644
--- a/drivers/gpu/nvgpu/common/linux/soc.c
+++ b/drivers/gpu/nvgpu/common/linux/soc.c
@@ -25,6 +25,11 @@ bool nvgpu_platform_is_simulation(struct gk20a *g)
25 return tegra_platform_is_linsim() || tegra_platform_is_vdk(); 25 return tegra_platform_is_linsim() || tegra_platform_is_vdk();
26} 26}
27 27
28bool nvgpu_platform_is_fpga(struct gk20a *g)
29{
30 return tegra_platform_is_fpga();
31}
32
28bool nvgpu_is_hypervisor_mode(struct gk20a *g) 33bool nvgpu_is_hypervisor_mode(struct gk20a *g)
29{ 34{
30 return is_tegra_hypervisor_mode(); 35 return is_tegra_hypervisor_mode();