From c8821f49ba6a37fc75e0772342fba9f57f99bb99 Mon Sep 17 00:00:00 2001 From: Seema Khowala Date: Fri, 7 Apr 2017 13:57:57 -0700 Subject: gpu: nvgpu: fpga: set gr_idle_timeout_default set gr_idle_timeout_default to 100000 ms instead of MAX_SCHEDULE_TIMEOUT, and enable timeouts_enabled Change-Id: I0b4d014dc6f3fc3c365214f7ffad7af054f771b9 Signed-off-by: Seema Khowala Reviewed-on: http://git-master/r/1458178 Reviewed-by: svccoveritychecker GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom --- drivers/gpu/nvgpu/common/linux/soc.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'drivers/gpu/nvgpu/common/linux') 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) return tegra_platform_is_linsim() || tegra_platform_is_vdk(); } +bool nvgpu_platform_is_fpga(struct gk20a *g) +{ + return tegra_platform_is_fpga(); +} + bool nvgpu_is_hypervisor_mode(struct gk20a *g) { return is_tegra_hypervisor_mode(); -- cgit v1.2.2