[COMMON] media: mfc: add the RES_CHANGE_INIT state to wait SEQ_DONE
authorSunyoung Kang <sy0816.kang@samsung.com>
Sun, 17 Feb 2019 08:50:50 +0000 (17:50 +0900)
committerKim Gunho <gunho.kim@samsung.com>
Fri, 28 Jun 2019 14:45:40 +0000 (23:45 +0900)
commit7138b4fc1ed642fe196c59da837e01b00cd71216
treeb23469827966191d080f595e9bd4bbe60e1892b6
parentabb55fc34f7806bdeeff71f5240640cbe5ef2a15
[COMMON] media: mfc: add the RES_CHANGE_INIT state to wait SEQ_DONE

In case of DRC, if the g_fmt is called right after RES_CHANGE_INIT
it doesn't wait SEQ_DONE. And then the updated resolution is not applied
to dpb size. So this adds the RES_CHANGE_INIT state to condition for waiting SEQ_DONE.

Change-Id: If4ab14548db14cdb818f9393c043c4d2220bafe4
Signed-off-by: Sunyoung Kang <sy0816.kang@samsung.com>
drivers/media/platform/exynos/mfc/mfc_dec_v4l2.c
drivers/media/platform/exynos/mfc/mfc_dec_vb2.c
drivers/media/platform/exynos/mfc/mfc_hwlock.c