uapi: linux: mtk_vcu_controls: add ioctl for GET_LOG_OBJECT
The VCU userspace firmware is making log debug call through this
ioctl. Add its definition so that we can implement it.
Signed-off-by: Fabien Parent <fparent@baylibre.com>
diff --git a/include/uapi/linux/mtk_vcu_controls.h b/include/uapi/linux/mtk_vcu_controls.h
index bc779e3..dfc9310 100644
--- a/include/uapi/linux/mtk_vcu_controls.h
+++ b/include/uapi/linux/mtk_vcu_controls.h
@@ -24,6 +24,7 @@
#define VCUD_MVA_FREE _IOWR('v', 2, struct mem_obj)
#define VCUD_CACHE_FLUSH_ALL _IOWR('v', 3, struct mem_obj)
#define VCUD_GET_OBJECT _IOWR('v', 4, struct share_obj)
+#define VCUD_GET_LOG_OBJECT _IOW('v', 5, struct log_test_nofuse)
#define VCUD_MVA_MAP_CACHE _IOWR('v', 6, struct mem_obj)
#define VCUD_SET_MMAP_TYPE _IOW('v', 8, struct map_obj)
@@ -81,4 +82,8 @@
unsigned char share_buf[SHARE_BUF_SIZE];
};
+struct log_test_nofuse {
+ char log_info[1024];
+};
+
#endif