gpu: ipu-v3: Add ipu_idmac_clear_buffer()
[firefly-linux-kernel-4.4.55.git] / include / video / imx-ipu-v3.h
index 10013378394e83800b045525738378c928edb484..ae44eb067f5bba0cf933f5c2747f3ce7b4c9d8bf 100644 (file)
@@ -167,6 +167,7 @@ void ipu_idmac_set_double_buffer(struct ipuv3_channel *channel,
 int ipu_idmac_get_current_buffer(struct ipuv3_channel *channel);
 bool ipu_idmac_buffer_is_ready(struct ipuv3_channel *channel, u32 buf_num);
 void ipu_idmac_select_buffer(struct ipuv3_channel *channel, u32 buf_num);
+void ipu_idmac_clear_buffer(struct ipuv3_channel *channel, u32 buf_num);
 
 /*
  * IPU Channel Parameter Memory (cpmem) functions