MLK-21659: VPU Decoder: fix invalid timestamp(-1) may be outputed
authorming_qian <ming.qian@nxp.com>
Tue, 7 May 2019 05:54:04 +0000 (13:54 +0800)
committerming_qian <ming.qian@nxp.com>
Tue, 7 May 2019 09:36:15 +0000 (17:36 +0800)
commit76f49889758ffb9582ceaf5e399a0a605866ea2a
treeb75d2ca02ecfbedcf9348b69870fb461ff94df90
parent6c473064f2d9ba73ec2b27ae952b4a66c84bd851
MLK-21659: VPU Decoder: fix invalid timestamp(-1) may be outputed

Driver may steal 3 frame buffers to firmware.
In android platform, user may do munmap,
it will cause that driver can't find a frame buffer by physical address
when decoded event is received.
It will cause the TSManagerValid2 isn't called for some frame.
and the TSManagerSend2 may output an invalid timestamp(-1)

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