[v2,0/5] media: mediatek: vcodec: Fix decode random crash for PLT test

Message ID 20221117092453.31366-1-yunfei.dong@mediatek.com
Headers
Series media: mediatek: vcodec: Fix decode random crash for PLT test |

Message

Yunfei Dong (董云飞) Nov. 17, 2022, 9:24 a.m. UTC
  Decoder may decode timeout or error when PLT test, fix some error
condition not reasonable.

patch 1 fix getting dst buffer NULL.
patch 2 fix inner racing mode fail condition.
patch 3 fix h264 crash.
patch 4 fix vp9 crash.
patch 5 fix core thread empty list.
---
changed with v1:
- add Fix tag for patch 1.
- fix comments for patch 3.
---
Yunfei Dong (5):
  media: mediatek: vcodec: Fix getting NULL pointer for dst buffer
  media: mediatek: vcodec: Can't set dst buffer to done when lat decode
    error
  media: mediatek: vcodec: Fix h264 set lat buffer error
  media: mediatek: vcodec: Setting lat buf to lat_list when lat decode
    error
  media: mediatek: vcodec: Core thread depends on core_list

 .../vcodec/mtk_vcodec_dec_stateless.c         | 13 +++++----
 .../vcodec/vdec/vdec_h264_req_multi_if.c      | 28 +++++++++++--------
 .../vcodec/vdec/vdec_vp9_req_lat_if.c         | 15 ++++++----
 .../platform/mediatek/vcodec/vdec_msg_queue.c |  2 +-
 4 files changed, 36 insertions(+), 22 deletions(-)