video: tegra: host: gk20a: Use pod governor
Arto Merilainen [Mon, 9 Sep 2013 10:19:58 +0000 (13:19 +0300)]
This patch sets nvhost_pod to be the default devfreq governor for
gk20a.

Bug 1330780

Change-Id: I6b594b3e1c7ea0e76a36a68045fc0a94321e8d27
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/271995
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

drivers/video/tegra/host/gk20a/gk20a.c

index b4169d7..0fd5384 100644 (file)
@@ -823,6 +823,7 @@ static int gk20a_probe(struct platform_device *dev)
                pdata->scaling_init     = nvhost_gk20a_scale_init;
                pdata->scaling_deinit   = nvhost_gk20a_scale_deinit;
                pdata->suspend_ndev     = nvhost_scale3d_suspend;
+               pdata->devfreq_governor = &nvhost_podgov;
        }
 
        gk20a = kzalloc(sizeof(struct gk20a), GFP_KERNEL);