MLK-18439: ISI: fix image tearing issue
authorGuoniu.Zhou <guoniu.zhou@nxp.com>
Mon, 16 Jul 2018 01:03:19 +0000 (09:03 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commitb5d2c176b3edd9b3446455ac0902041f9a8f58b0
tree14f706f5a4d13d67c090565273971c83aace4a4b
parent66265ccfd7836cc4e8a70e51d312c3db894ac581
MLK-18439: ISI: fix image tearing issue

When there is no free buffer in driver as isi output, isi
will still write buffer which has been dequeue to userspace
and the buffer maybe is being scanning out by DC. So add a
temporary buffer as its output when the case happen

Signed-off-by: Guoniu.Zhou <guoniu.zhou@nxp.com>
Reviewed-by: Robby.Cai <robby.cai@nxp.com>
drivers/media/platform/imx8/mxc-isi-cap.c