MMFMWK-8570: VPU Decoder: fix error in skip frames
authorming_qian <ming.qian@nxp.com>
Wed, 24 Jul 2019 03:16:18 +0000 (11:16 +0800)
committerming_qian <ming.qian@nxp.com>
Thu, 25 Jul 2019 01:21:32 +0000 (09:21 +0800)
commitb2efe16f8a94f653ad9f7ba8376b2fa325410d21
treed944deb7a387c420cba34c10733f0d4f7e54e100
parent4ec0a73aca88914770532995ef0c8faf01ba58ae
MMFMWK-8570: VPU Decoder: fix error in skip frames

the amount of REL_FRAME_BUFF event may be much bigger  the BUFF_RDY
event.
it means that some frame buffer are not used for decoding,
and firmware just release it directly.

The frame who is need to skip is decoded but not ready.

Signed-off-by: ming_qian <ming.qian@nxp.com>
Reviewed-by: Shijie Qin <shijie.qin@nxp.com>
drivers/mxc/vpu_malone/vpu_b0.c