summaryrefslogtreecommitdiff
path: root/drivers/video/b2r2/b2r2_profiler_socket.h
diff options
context:
space:
mode:
authorPhilippe Langlais <philippe.langlais@stericsson.com>2012-04-06 11:11:25 +0200
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-04-06 11:11:25 +0200
commit1824f16fd3633ea156a90926db7fca2606481346 (patch)
tree428667dbccfe0fdf8d33bee5a18e8cf1aa0b7767 /drivers/video/b2r2/b2r2_profiler_socket.h
parent453e007c74a011b84260aab6c28250635de2e322 (diff)
parentf7d8ac55db0b41ed64c4cd37f5d51bbd5bb8e776 (diff)
Merge topic branch 'video' into integration-linux-ux500-3.3
Diffstat (limited to 'drivers/video/b2r2/b2r2_profiler_socket.h')
-rw-r--r--drivers/video/b2r2/b2r2_profiler_socket.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/drivers/video/b2r2/b2r2_profiler_socket.h b/drivers/video/b2r2/b2r2_profiler_socket.h
new file mode 100644
index 00000000000..80b2c20293f
--- /dev/null
+++ b/drivers/video/b2r2/b2r2_profiler_socket.h
@@ -0,0 +1,22 @@
+/*
+ * Copyright (C) ST-Ericsson SA 2010
+ *
+ * ST-Ericsson B2R2 profiler socket communication
+ *
+ * Author: Johan Mossberg <johan.xx.mossberg@stericsson.com>
+ * for ST-Ericsson.
+ *
+ * License terms: GNU General Public License (GPL), version 2.
+ */
+
+#ifndef _LINUX_VIDEO_B2R2_PROFILER_SOCKET_H
+#define _LINUX_VIDEO_B2R2_PROFILER_SOCKET_H
+
+#include "b2r2_internal.h"
+
+/* Will give a correct result most of the time but can be wrong */
+bool is_profiler_registered_approx(void);
+
+void b2r2_call_profiler_blt_done(const struct b2r2_blt_request * const request);
+
+#endif /* _LINUX_VIDEO_B2R2_PROFILER_SOCKET_H */