diff options
author | Tomi Valkeinen <tomi.valkeinen@nokia.com> | 2009-12-17 14:35:21 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@nokia.com> | 2010-01-08 15:32:18 +0200 |
commit | dfc0fd8d8850ef11951ba6c251e06096d1b5a0bd (patch) | |
tree | b80a85226218abbb562c93b7777de8bbda2c5db2 /drivers/video/omap2/dss/core.c | |
parent | ff90a3488d98a63bf24bff37f77a9a37b00e7a54 (diff) | |
download | op-kernel-dev-dfc0fd8d8850ef11951ba6c251e06096d1b5a0bd.zip op-kernel-dev-dfc0fd8d8850ef11951ba6c251e06096d1b5a0bd.tar.gz |
OMAP: DSS2: Collect interrupt statistics
Collect interrupt statistics, printable via debugfs:
debugfs/omapdss/dispc_irq
debugfs/omapdss/dsi_irq
The counters are reset when printed.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
Diffstat (limited to 'drivers/video/omap2/dss/core.c')
-rw-r--r-- | drivers/video/omap2/dss/core.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/core.c b/drivers/video/omap2/dss/core.c index 29497a0..dbb0ce2 100644 --- a/drivers/video/omap2/dss/core.c +++ b/drivers/video/omap2/dss/core.c @@ -395,6 +395,14 @@ static int dss_initialize_debugfs(void) debugfs_create_file("clk", S_IRUGO, dss_debugfs_dir, &dss_debug_dump_clocks, &dss_debug_fops); + debugfs_create_file("dispc_irq", S_IRUGO, dss_debugfs_dir, + &dispc_dump_irqs, &dss_debug_fops); + +#ifdef CONFIG_OMAP2_DSS_DSI + debugfs_create_file("dsi_irq", S_IRUGO, dss_debugfs_dir, + &dsi_dump_irqs, &dss_debug_fops); +#endif + debugfs_create_file("dss", S_IRUGO, dss_debugfs_dir, &dss_dump_regs, &dss_debug_fops); debugfs_create_file("dispc", S_IRUGO, dss_debugfs_dir, |