diff options
author | Kamal Kannan Balagopalan <kbalagopalan@nvidia.com> | 2013-04-09 17:39:15 -0700 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2013-04-16 15:47:08 -0700 |
commit | e1102d350e1005c2dcd414e2630993ba4ce7075b (patch) | |
tree | 1f4a87decf03f44326897ad170d46e004b0ac79a /drivers/video | |
parent | 75a3af2b9506fbe24312c1262682e5f61e9e8955 (diff) |
video: tegra: dc: Log display-on time via uS timer
Bug 1252226
Change-Id: I0c7486813c6682a12d79fdfcddc4a47799794ab6
Signed-off-by: Kamal Kannan Balagopalan <kbalagopalan@nvidia.com>
Reviewed-on: http://git-master/r/217940
(cherry picked from commit 28199be1263b88070718bac2725e8d5b26c6a0f6)
Reviewed-on: http://git-master/r/219471
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-by: Venkata (Muni) Anda <vanda@nvidia.com>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/tegra/dc/dc.c | 7 | ||||
-rw-r--r-- | drivers/video/tegra/dc/dsi.c | 3 |
2 files changed, 2 insertions, 8 deletions
diff --git a/drivers/video/tegra/dc/dc.c b/drivers/video/tegra/dc/dc.c index cce51f7c4196..8487b86c2034 100644 --- a/drivers/video/tegra/dc/dc.c +++ b/drivers/video/tegra/dc/dc.c @@ -1828,13 +1828,9 @@ static bool _tegra_dc_controller_enable(struct tegra_dc *dc) tegra_dc_unpowergate_locked(dc); - if (dc->out->enable) { + if (dc->out->enable) dc->out->enable(&dc->ndev->dev); - /* important to track dc init latency */ - dev_info(&dc->ndev->dev, "dc out enabled\n"); - } - tegra_dc_setup_clk(dc, dc->clk); tegra_dc_clk_enable(dc); tegra_dc_io_start(dc); @@ -1879,6 +1875,7 @@ static bool _tegra_dc_controller_enable(struct tegra_dc *dc) * is enabled. */ dc->out->flags &= ~TEGRA_DC_OUT_INITIALIZED_MODE; + tegra_log_resume_time(); tegra_dc_io_end(dc); return true; diff --git a/drivers/video/tegra/dc/dsi.c b/drivers/video/tegra/dc/dsi.c index 7dc66ec07685..9ae3491820cd 100644 --- a/drivers/video/tegra/dc/dsi.c +++ b/drivers/video/tegra/dc/dsi.c @@ -2099,9 +2099,6 @@ static int tegra_dsi_init_hw(struct tegra_dc *dc, dsi->status.dc_stream = DSI_DC_STREAM_DISABLE; dsi->status.lp_op = DSI_LP_OP_NOT_INIT; - /* important to track dsi init latency */ - dev_info(&dc->ndev->dev, "DSI: HW init completed\n"); - return 0; } |