summaryrefslogtreecommitdiff
path: root/src/etnaviv/viv.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/etnaviv/viv.h')
-rw-r--r--src/etnaviv/viv.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/etnaviv/viv.h b/src/etnaviv/viv.h
index 8aaf01e..a8daf47 100644
--- a/src/etnaviv/viv.h
+++ b/src/etnaviv/viv.h
@@ -214,6 +214,12 @@ struct _gcsQUEUE;
*/
int viv_open(enum viv_hw_type hw_type, struct viv_conn **out);
+/* Almost raw ioctl interface. This provides an interface similar to
+ * gcoOS_DeviceControl.
+ * @returns standard ioctl semantics
+ */
+int viv_ioctl(struct viv_conn *conn, int request, void *data, size_t size);
+
/* Call ioctl interface with structure cmd as input and output.
* @returns status (gcvSTATUS_xxx)
*/