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)
commit2b8134721c06ad2a212e64e0956af0f888ec310e
tree71df76b946634002bf1dc2d1a68be2c4ecaccfae
parent2581538a71371bd8c909a0ce8b313fcc7f200dab
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-hw.c