[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170307144207.133234-1-wuchengli@chromium.org>
Date: Tue, 7 Mar 2017 22:42:06 +0800
From: Wu-Cheng Li <wuchengli@...omium.org>
To: pawel@...iak.com, tiffany.lin@...iatek.com,
andrew-ct.chen@...iatek.com, mchehab@...nel.org,
matthias.bgg@...il.com, hans.verkuil@...co.com,
wuchengli@...gle.com
Cc: djkurtz@...omium.org, linux-media@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: [PATCH v2 0/1] mtk-vcodec: check the vp9 decoder buffer index from VPU
From: Wu-Cheng Li <wuchengli@...gle.com>
This patch guards against the invalid buffer index from
VPU firmware.
v2: also check the result of vdec_if_decode in mtk_vdec_worker.
Wu-Cheng Li (1):
mtk-vcodec: check the vp9 decoder buffer index from VPU.
drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c | 23 ++++++++++++++-----
drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.h | 2 ++
.../media/platform/mtk-vcodec/vdec/vdec_vp9_if.c | 26 ++++++++++++++++++++++
drivers/media/platform/mtk-vcodec/vdec_drv_if.h | 2 ++
4 files changed, 48 insertions(+), 5 deletions(-)
--
2.12.0.rc1.440.g5b76565f74-goog
Powered by blists - more mailing lists