aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/gcdebug.h
diff options
context:
space:
mode:
authorCraig Stout <craig.stout@ti.com>2012-06-12 14:18:58 -0700
committerDmytro Kedrovskyi <x0169235@ti.com>2012-06-14 14:13:17 +0300
commit1af418bd841efdb730e8769669cde47cd8ce848f (patch)
treef7dcd946b9c0850e0b484023d5fc79e9f4b72994 /include/linux/gcdebug.h
parentc40bd1dcdaeac66e02ce41d5cdf98af5b07cfd42 (diff)
downloadkernel_samsung_espresso10-1af418bd841efdb730e8769669cde47cd8ce848f.zip
kernel_samsung_espresso10-1af418bd841efdb730e8769669cde47cd8ce848f.tar.gz
kernel_samsung_espresso10-1af418bd841efdb730e8769669cde47cd8ce848f.tar.bz2
gcx: status dump displayed even when debugging is compiled out
Change-Id: I480cdd184b920243050ed40dfcd632c2464dfb56 Signed-off-by: Craig Stout <craig.stout@ti.com>
Diffstat (limited to 'include/linux/gcdebug.h')
-rw-r--r--include/linux/gcdebug.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/gcdebug.h b/include/linux/gcdebug.h
index 79d8126..33935fe 100644
--- a/include/linux/gcdebug.h
+++ b/include/linux/gcdebug.h
@@ -15,11 +15,15 @@
#ifndef GCDEBUG_H
#define GCDEBUG_H
+#define GCGPUSTATUS() \
+ gc_debug_dump_status(__func__, __LINE__)
+
void gc_debug_init(void);
void gc_debug_shutdown(void);
void gc_debug_poweroff_cache(void);
void gc_debug_cache_gpu_status_from_irq(unsigned int acknowledge);
+void gc_debug_dump_status(const char *function, int line);
void gc_debug_blt(int srccount, int dstWidth, int dstHeight);