mbox series

[0/6] media: mediatek: vcodec: Fix decoder under flow and plt test fails randomly

Message ID 20230417054816.17097-1-yunfei.dong@mediatek.com (mailing list archive)
Headers show
Series media: mediatek: vcodec: Fix decoder under flow and plt test fails randomly | expand

Message

Yunfei Dong April 17, 2023, 5:48 a.m. UTC
1: Getting decoder under flow error randomly when do stress test with youtube;
2: Video display black when do plt test with one night.

patch 1 can't regard getting lat buffer as fail.
patch 2 ~ 3 using decoder status instead of core work count.
patch 4 ~ 6 using empty lat buffer as the last one to flush decoder.
---
Yunfei Dong (6):
  media: mediatek: vcodec: can`t regard getting lat buffer fail as error
  media: mediatek: vcodec: add the definition of decoder status
  media: mediatek: vcodec: using decoder status instead of core work
    count
  media: mediatek: vcodec: add one empty lat buffer as the last one to
    decode
  media: mediatek: vcodec: move core context from device to each
    instance
  media: mediatek: vcodec: using empty lat buffer as the last one

 .../mediatek/vcodec/mtk_vcodec_dec_drv.c      |   1 -
 .../vcodec/mtk_vcodec_dec_stateless.c         |   2 +-
 .../platform/mediatek/vcodec/mtk_vcodec_drv.h |   2 -
 .../vcodec/vdec/vdec_h264_req_multi_if.c      |   6 +-
 .../vcodec/vdec/vdec_vp9_req_lat_if.c         |   4 +-
 .../platform/mediatek/vcodec/vdec_msg_queue.c | 105 ++++++++----------
 .../platform/mediatek/vcodec/vdec_msg_queue.h |  23 +++-
 7 files changed, 69 insertions(+), 74 deletions(-)