On 01/30/2012 01:11 PM, Laurent Pinchart wrote: >> static int g2d_open(struct file *file) >> @@ -564,6 +591,8 @@ static void device_run(void *prv) >> g2d_set_dst_addr(dev, vb2_dma_contig_plane_dma_addr(dst, 0)); >> >> g2d_set_rop4(dev, ctx->rop); >> + g2d_set_flip(dev, ctx->hflip | ctx->vflip); >> + > > Is this called for every frame, or once at stream start only ? In the later > case, this means that hflip and vflip won't be changeable during streaming. Is > that on purpose ? The device_run() callback is called per each frame, i.e. per each single buffer pair. Hence it should be possible to reconfigure flipping when streaming is on. Thanks, -- Sylwester Nawrocki Samsung Poland R&D Center -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html