Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933597AbdCHDli (ORCPT ); Tue, 7 Mar 2017 22:41:38 -0500 Received: from mail-pf0-f171.google.com ([209.85.192.171]:35690 "EHLO mail-pf0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756703AbdCHDlf (ORCPT ); Tue, 7 Mar 2017 22:41:35 -0500 From: Wu-Cheng Li To: pawel@osciak.com, tiffany.lin@mediatek.com, andrew-ct.chen@mediatek.com, mchehab@kernel.org, matthias.bgg@gmail.com, hans.verkuil@cisco.com, wuchengli@google.com Cc: djkurtz@chromium.org, linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 0/1] mtk-vcodec: check the vp9 decoder buffer index from VPU Date: Wed, 8 Mar 2017 11:40:57 +0800 Message-Id: <20170308034058.99886-1-wuchengli@chromium.org> X-Mailer: git-send-email 2.12.0.246.ga2ecc84866-goog Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 614 Lines: 16 From: Wu-Cheng Li v2: also check the result of vdec_if_decode in mtk_vdec_worker. v3: set buffer status to VB2_BUF_STATE_ERROR. Move printk out of lock. Wu-Cheng Li (1): mtk-vcodec: check the vp9 decoder buffer index from VPU. drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c | 33 +++++++++++++++++----- 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, 56 insertions(+), 7 deletions(-) -- 2.12.0.246.ga2ecc84866-goog