summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/nvgpu/os/linux/platform_gp10b_tegra.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/gpu/nvgpu/os/linux/platform_gp10b_tegra.c b/drivers/gpu/nvgpu/os/linux/platform_gp10b_tegra.c
index dccc5c3e..d5530368 100644
--- a/drivers/gpu/nvgpu/os/linux/platform_gp10b_tegra.c
+++ b/drivers/gpu/nvgpu/os/linux/platform_gp10b_tegra.c
@@ -13,7 +13,6 @@
13 * more details. 13 * more details.
14 */ 14 */
15 15
16#include <linux/version.h>
17#include <linux/of_platform.h> 16#include <linux/of_platform.h>
18#include <linux/debugfs.h> 17#include <linux/debugfs.h>
19#include <linux/dma-buf.h> 18#include <linux/dma-buf.h>
@@ -416,18 +415,6 @@ struct gk20a_platform gp10b_tegra_platform = {
416 .ldiv_slowdown_factor_init = SLOWDOWN_FACTOR_FPDIV_BY16, 415 .ldiv_slowdown_factor_init = SLOWDOWN_FACTOR_FPDIV_BY16,
417 416
418 /* power management configuration */ 417 /* power management configuration */
419#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 14, 0)
420 .can_railgate_init = false,
421 .enable_elpg = false,
422 .can_elpg_init = false,
423 .enable_blcg = false,
424 .enable_slcg = false,
425 .enable_elcg = false,
426 .can_slcg = false,
427 .can_blcg = false,
428 .can_elcg = false,
429 .enable_aelpg = false,
430#else
431 .can_railgate_init = true, 418 .can_railgate_init = true,
432 .enable_elpg = true, 419 .enable_elpg = true,
433 .can_elpg_init = true, 420 .can_elpg_init = true,
@@ -438,7 +425,6 @@ struct gk20a_platform gp10b_tegra_platform = {
438 .can_blcg = true, 425 .can_blcg = true,
439 .can_elcg = true, 426 .can_elcg = true,
440 .enable_aelpg = true, 427 .enable_aelpg = true,
441#endif
442 .enable_perfmon = true, 428 .enable_perfmon = true,
443 429
444 /* ptimer src frequency in hz*/ 430 /* ptimer src frequency in hz*/