diff options
author | Simon Glass <sjg@chromium.org> | 2017-06-12 06:21:32 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-07-11 10:08:20 -0600 |
commit | 23acc48d8499944f41e4608b5683b1cdce95ec9b (patch) | |
tree | a89ddb60f787e65a6aa38f5dde985b2e67977a86 /drivers/video/tegra124 | |
parent | 878d68c0c357ff62120d5783d950f34ecd1065d9 (diff) |
tegra: video: Time the LCD init
Calculate the time taken to set up the LCD.
Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Tested-on: Beaver, Jetson-TK1
Diffstat (limited to 'drivers/video/tegra124')
-rw-r--r-- | drivers/video/tegra124/display.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/tegra124/display.c b/drivers/video/tegra124/display.c index bbbca13bdc..47752b27f1 100644 --- a/drivers/video/tegra124/display.c +++ b/drivers/video/tegra124/display.c @@ -471,7 +471,9 @@ static int tegra124_lcd_probe(struct udevice *dev) int ret; start = get_timer(0); + bootstage_start(BOOTSTAGE_ID_ACCUM_LCD, "lcd"); ret = tegra124_lcd_init(dev, (void *)plat->base, VIDEO_BPP16); + bootstage_accum(BOOTSTAGE_ID_ACCUM_LCD); debug("LCD init took %lu ms\n", get_timer(start)); if (ret) printf("%s: Error %d\n", __func__, ret); |