summaryrefslogtreecommitdiff
path: root/libcopybit/copybit.h
diff options
context:
space:
mode:
authorTerence Hampson <thampson@codeaurora.org>2013-05-23 12:21:02 -0400
committerGerrit - the friendly Code Review server <code-review@localhost>2013-05-29 09:34:02 -0700
commitadf4730f2f1aa1e7973a6065f4195f0ce1585902 (patch)
tree89623c9583e7aea28b10d215ae786718fdec85f5 /libcopybit/copybit.h
parent68337552868ad723cda02a8de697a2bc1b356980 (diff)
downloaddisplay-adf4730f2f1aa1e7973a6065f4195f0ce1585902.tar.gz
copybit: Enable copy bit to use sync pt
Since mdp composition is now an async call, the waiting for fences is now no longer needed inside copybit. In addition, how composition ioctl is called is slightly different as a result needing to pass in aquire fences device performing compsition Change-Id: Ia12dfb2960ba2fc78b14e776984ffe0c3fe45fdb
Diffstat (limited to 'libcopybit/copybit.h')
-rw-r--r--libcopybit/copybit.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/libcopybit/copybit.h b/libcopybit/copybit.h
index 07593f30..0f4332f3 100644
--- a/libcopybit/copybit.h
+++ b/libcopybit/copybit.h
@@ -213,6 +213,18 @@ struct copybit_device_t {
struct copybit_region_t const *region);
/**
+ * Give acquire fence to copybit to be used in upcoming stretch
+ * call
+ *
+ * @param dev from open
+ * @param acquireFenceFd is the acquire fence
+ *
+ * @return 0 if successful
+ */
+ int (*set_sync)(struct copybit_device_t *dev,
+ int acquireFenceFd);
+
+ /**
* Execute the stretch bit blit copy operation
*
* @param dev from open