Commit 23acc48d8499944f41e4608b5683b1cdce95ec9b
1 parent
878d68c0c3
Exists in
smarc_8mq_lf_v2020.04
and in
17 other branches
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
Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff
drivers/video/tegra124/display.c
... | ... | @@ -471,7 +471,9 @@ |
471 | 471 | int ret; |
472 | 472 | |
473 | 473 | start = get_timer(0); |
474 | + bootstage_start(BOOTSTAGE_ID_ACCUM_LCD, "lcd"); | |
474 | 475 | ret = tegra124_lcd_init(dev, (void *)plat->base, VIDEO_BPP16); |
476 | + bootstage_accum(BOOTSTAGE_ID_ACCUM_LCD); | |
475 | 477 | debug("LCD init took %lu ms\n", get_timer(start)); |
476 | 478 | if (ret) |
477 | 479 | printf("%s: Error %d\n", __func__, ret); |