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)
commitd4c20fc8a1ab0b0adda2a3442c85d642c07c1b7a
treed885875b6903712aa0060dd739e7ffdae506bfb0
parent1c4e468f19d940752656b6dd79cadf0427ac16ea
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-core.h