Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1594329

[PATCH v2 0/1] mtk-vcodec: check the vp9 decoder buffer index from VPU

Path csiph.com!news.freedyn.net!open-news-network.org!aioe.org!bofh.it!news.nic.it!robomod
From Wu-Cheng Li <wuchengli@chromium.org>
Newsgroups linux.kernel
Subject [PATCH v2 0/1] mtk-vcodec: check the vp9 decoder buffer index from VPU
Date Tue, 07 Mar 2017 16:20:02 +0100
Message-ID <tip46-X4-7@gated-at.bofh.it> (permalink)
X-Original-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
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id; bh=yZ1iOrjmADWfnYQ/+2OqMsZ8vH+LYHOoXSnvw4cOLYo=; b=KsUx0zEgEZCSjiKSk0QdOUCSLChkQDNLojmQqWyCBlcCQZmrBZHogwMXOBX/DWJ41T aJ/pDetHvrtT2+f6bMgk3YNxHXPBIO52Hv6KWuihRSp1yY18Dq9MGD6Vn9Lu3/9tfvwt UILp9c4kFM8W40H+bkfYD7hXU6/mW1qeWEjEM=
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=yZ1iOrjmADWfnYQ/+2OqMsZ8vH+LYHOoXSnvw4cOLYo=; b=rQJe5FR6WgiQGmmdfGjGZmml8Schhhteb/eaFd60s4zTRXPh/dRz+aJHeqp+v18V/+ 9Ojf+lo2RvyHJfDmvXwevYskWhNdjIHzbKbDS9obyKy/DbxUMCw20jl6Es/Bv/Be32An b34hf9aKWKqDN3UHoSZr2QxZF5tTzJmd9CkuVoRX46yKa8mxiucOKHu1OvWYzLKwGhq5 3iotNgFI0TWSQrpGg1AqYraaerAvc0zjm5B9AkJagpWoOzTe84usTOJ/owbzIgihmCtg RY9Eqr/6yHLqNPxAEWxoqxTnEH6XTWDyH55MipI43fTolRx/ZW8eiB5cgqMkfAz2eZVU lfHA==
X-Gm-Message-State AMke39m4bzoFOrfnHHY09jlWh0AgtjJ/RPFwXQmqbAC53pVkqQKVl/bIdJihLhJeU0/WK8wn
X-Received by 10.99.167.9 with SMTP id d9mr730943pgf.19.1488897733647; Tue, 07 Mar 2017 06:42:13 -0800 (PST)
X-Mailer git-send-email 2.12.0.rc1.440.g5b76565f74-goog
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 18
Organization linux.* mail to news gateway
X-Original-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
X-Original-Date Tue, 7 Mar 2017 22:42:06 +0800
X-Original-Message-ID <20170307144207.133234-1-wuchengli@chromium.org>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1594329

Show key headers only | View raw


From: Wu-Cheng Li <wuchengli@google.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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/1] mtk-vcodec: check the vp9 decoder buffer index from VPU Wu-Cheng Li <wuchengli@chromium.org> - 2017-03-07 16:20 +0100
  [PATCH v2 1/1] mtk-vcodec: check the vp9 decoder buffer index from VPU. Wu-Cheng Li <wuchengli@chromium.org> - 2017-03-07 16:20 +0100
    Re: [PATCH v2 1/1] mtk-vcodec: check the vp9 decoder buffer index  from VPU. Tiffany Lin <tiffany.lin@mediatek.com> - 2017-03-08 04:30 +0100

csiph-web