summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c b/drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c
index ea49a124..05aec1a7 100644
--- a/drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c
+++ b/drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c
@@ -519,6 +519,31 @@ struct gk20a_platform gk20a_tegra_platform = {
519 .dump_platform_dependencies = gk20a_tegra_debug_dump, 519 .dump_platform_dependencies = gk20a_tegra_debug_dump,
520}; 520};
521 521
522struct gk20a_platform gm20b_tegra_platform = {
523 .has_syncpoints = true,
524
525 /* power management configuration */
526 .railgate_delay = 500,
527 .clockgate_delay = 50,
528
529 .probe = gk20a_tegra_probe,
530 .late_probe = gk20a_tegra_late_probe,
531
532 /* power management callbacks */
533 .suspend = gk20a_tegra_suspend,
534
535 /* frequency scaling configuration */
536 .prescale = gk20a_tegra_prescale,
537 .postscale = gk20a_tegra_postscale,
538 .devfreq_governor = "nvhost_podgov",
539 .qos_id = PM_QOS_GPU_FREQ_MIN,
540
541 .channel_busy = gk20a_tegra_channel_busy,
542 .channel_idle = gk20a_tegra_channel_idle,
543 .secure_alloc = gk20a_tegra_secure_alloc,
544 .dump_platform_dependencies = gk20a_tegra_debug_dump,
545};
546
522struct platform_device tegra_gk20a_device = { 547struct platform_device tegra_gk20a_device = {
523 .name = "gk20a", 548 .name = "gk20a",
524 .resource = gk20a_tegra_resources, 549 .resource = gk20a_tegra_resources,