driver: tegra: dc: No shutdown window blanking for simulation
Chao Xu [Wed, 26 Sep 2012 21:28:55 +0000 (14:28 -0700)]
To speed up simulation shutdown time.

Change-Id: I418e504b7473cb8258baac3f6bc30ba89e26609b
Signed-off-by: Chao Xu <cxu@nvidia.com>
Reviewed-on: http://git-master/r/139748
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bo Yan <byan@nvidia.com>

drivers/video/tegra/dc/dc.c

index 9ef6351..0a618bf 100644 (file)
@@ -2673,7 +2673,10 @@ static void tegra_dc_shutdown(struct platform_device *ndev)
        if (!dc || !dc->enabled)
                return;
 
+#ifndef CONFIG_TEGRA_SIMULATION_PLATFORM
+       /* Hack: no windows blanking for simulation to save shutdown time */
        tegra_dc_blank(dc);
+#endif
        tegra_dc_disable(dc);
 }