diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2015-06-23 18:06:13 -0400 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2015-06-29 14:27:42 -0400 |
commit | ae7b988b0d8767cfbc2cffe4c7ec8757e4dd94a6 (patch) | |
tree | f045807a873c5c31d77f03c30977506057aa5edd /drivers/gpu/nvgpu/gk20a | |
parent | 9cc23218bad859017bae995d8bd6716440c3b686 (diff) |
gpu: nvgpu: Delete T132 specific configuration
Change-Id: I1cd97a8ea0911a657fc4d5b7a3aee534474aea47
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/762558
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c b/drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c index 41af2ca0..80dfce54 100644 --- a/drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c +++ b/drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c | |||
@@ -42,7 +42,6 @@ | |||
42 | #define TEGRA_DDR4_BW_PER_FREQ 16 | 42 | #define TEGRA_DDR4_BW_PER_FREQ 16 |
43 | 43 | ||
44 | extern struct device tegra_vpr_dev; | 44 | extern struct device tegra_vpr_dev; |
45 | static struct gk20a_platform t132_gk20a_tegra_platform; | ||
46 | 45 | ||
47 | struct gk20a_emc_params { | 46 | struct gk20a_emc_params { |
48 | long bw_ratio; | 47 | long bw_ratio; |
@@ -499,11 +498,6 @@ static int gk20a_tegra_probe(struct platform_device *dev) | |||
499 | 498 | ||
500 | platform->g->host1x_dev = host1x_pdev; | 499 | platform->g->host1x_dev = host1x_pdev; |
501 | 500 | ||
502 | if (tegra_get_chipid() == TEGRA_CHIPID_TEGRA13) { | ||
503 | t132_gk20a_tegra_platform.g = platform->g; | ||
504 | *platform = t132_gk20a_tegra_platform; | ||
505 | } | ||
506 | |||
507 | /* WAR for bug 1547668: Disable railgating and scaling irrespective of | 501 | /* WAR for bug 1547668: Disable railgating and scaling irrespective of |
508 | * platform data if the rework has not been made. */ | 502 | * platform data if the rework has not been made. */ |
509 | 503 | ||
@@ -548,50 +542,6 @@ static int gk20a_tegra_suspend(struct device *dev) | |||
548 | return 0; | 542 | return 0; |
549 | } | 543 | } |
550 | 544 | ||
551 | static struct gk20a_platform t132_gk20a_tegra_platform = { | ||
552 | .has_syncpoints = true, | ||
553 | |||
554 | /* power management configuration */ | ||
555 | .railgate_delay = 500, | ||
556 | .clockgate_delay = 50, | ||
557 | .can_railgate = true, | ||
558 | .enable_slcg = true, | ||
559 | .enable_blcg = true, | ||
560 | .enable_elcg = true, | ||
561 | .enable_elpg = true, | ||
562 | .enable_aelpg = true, | ||
563 | |||
564 | .force_reset_in_do_idle = false, | ||
565 | |||
566 | .default_big_page_size = SZ_128K, | ||
567 | |||
568 | .probe = gk20a_tegra_probe, | ||
569 | .late_probe = gk20a_tegra_late_probe, | ||
570 | .remove = gk20a_tegra_remove, | ||
571 | |||
572 | /* power management callbacks */ | ||
573 | .suspend = gk20a_tegra_suspend, | ||
574 | .railgate = gk20a_tegra_railgate, | ||
575 | .unrailgate = gk20a_tegra_unrailgate, | ||
576 | .is_railgated = gk20a_tegra_is_railgated, | ||
577 | |||
578 | .busy = gk20a_tegra_busy, | ||
579 | .idle = gk20a_tegra_idle, | ||
580 | |||
581 | .reset_assert = gk20a_tegra_reset_assert, | ||
582 | .reset_deassert = gk20a_tegra_reset_deassert, | ||
583 | |||
584 | /* frequency scaling configuration */ | ||
585 | .prescale = gk20a_tegra_prescale, | ||
586 | .postscale = gk20a_tegra_postscale, | ||
587 | .devfreq_governor = "nvhost_podgov", | ||
588 | .qos_id = PM_QOS_GPU_FREQ_MIN, | ||
589 | |||
590 | .secure_alloc = gk20a_tegra_secure_alloc, | ||
591 | .secure_page_alloc = gk20a_tegra_secure_page_alloc, | ||
592 | .dump_platform_dependencies = gk20a_tegra_debug_dump, | ||
593 | }; | ||
594 | |||
595 | struct gk20a_platform gk20a_tegra_platform = { | 545 | struct gk20a_platform gk20a_tegra_platform = { |
596 | .has_syncpoints = true, | 546 | .has_syncpoints = true, |
597 | 547 | ||