From patchwork Fri Aug 18 14:15:59 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 110388 Delivered-To: patch@linaro.org Received: by 10.182.109.195 with SMTP id hu3csp888882obb; Fri, 18 Aug 2017 07:16:27 -0700 (PDT) X-Received: by 10.84.194.1 with SMTP id g1mr9838689pld.26.1503065786991; Fri, 18 Aug 2017 07:16:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503065786; cv=none; d=google.com; s=arc-20160816; b=hkH3ljZebw0ETYKiYyrKFDeHdKrs3Zk+YDxX4QfcKngj23Z+gyPIypn+LM3zwYVGe5 1r8cW8TyAMBRls+A9dq5fI1I6rMG0wr3GBwoFqgiXQvCroMLTsUPKcvQPg/J8C72HEDe ivAwqUquYkxDoF1XGnQ7OFmb52wYngv4mp1PCgbQUXdqZyYhOoRYVCNJeCBhCbM+7+fJ 1qs7mVY/VhTubJLFUQRQ7H6giSZ82kjYZCQ4eZzJxBtVe1trOYAWAcRKbmgm/IeSA3zf XsZDVLbjD1qe24JxGwa94m5i577x9MSCmj2hqkab0ubCXmeJzp7/sx22feafjnzp5kS4 ZW5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=P9zWPQkTGuisDtkrM59w6dm3TFhPgdMnHvfs8K+yQMk=; b=kRp6rZm6Uq1PN1YoNVI2ZUWPHkPebLR7j6lWU3J+MizAUhABq3sPcgYUiZXqbq6W03 GZdePar6Szfte0ItADmOKGbZkrHGtdTbQRenRhd6LJU0coLoja0wIDjK0dca3s6D6YQs oOYOAURx/8KRY/g677I3RUniwGYv2Q896VPiUmEwrp4B9vbprc9ng3HZzLotkej7tWV5 cs2+7QivFGFHa2crl/jZyxe6pNko10wOLmEaeLm3q228blPQHb6k0lMzf50DEsAj/uHQ ww+yNalTN4o8r3m9zDPTL7+s3tZaPezErR+OhFIFyD5lcdPE9+jd/MGXxI9Y/siqtgPz ZQBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BgSkCCbS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b11si3682436pfd.435.2017.08.18.07.16.26; Fri, 18 Aug 2017 07:16:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BgSkCCbS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753474AbdHROQX (ORCPT + 26 others); Fri, 18 Aug 2017 10:16:23 -0400 Received: from mail-wm0-f54.google.com ([74.125.82.54]:38493 "EHLO mail-wm0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752444AbdHROQU (ORCPT ); Fri, 18 Aug 2017 10:16:20 -0400 Received: by mail-wm0-f54.google.com with SMTP id l19so983226wmi.1 for ; Fri, 18 Aug 2017 07:16:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=P9zWPQkTGuisDtkrM59w6dm3TFhPgdMnHvfs8K+yQMk=; b=BgSkCCbSoYE0SqhF4n4XhqYwYVINdHEzGy+5j4mY14JelFzkiElq9RaCeqBU5bCQlq YRPDmRDOsOxCdql0uUYF8PoKTIq6G4av+/6D6u3Vn7hEcYvk0AuiQPLV/r2Ietqv0L8r UBSEKKECjsJKPff73wL1W64ekQQqi6sfXjX1M= 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=P9zWPQkTGuisDtkrM59w6dm3TFhPgdMnHvfs8K+yQMk=; b=grYZqSXXw2fx5khpWTXyFx4nN6/v9caQlQj2gH6imScLeCq4pa0dPkqEUuRSUgCars lY/I/K2avlK/EYxbRvDf+EhwDgxL9plPOuzYINBDUEhPoFz4XFjsGl863LmixfIvcN2G cQYp6Swh/LJmwL0v6yYs2sS8wGMULteLxWntWtOatFHAZKiG28jaJWGl2bEh9wMLAfNv 37z2PSKHH1eZ/5wKWO4+Rk4iFvG2FPtYr23LEb8Pz+P4/Ni+MtayjBGCsjbSlyRAQ0C+ NzKo6FLmJyCEMwPOAjO1hFFPDchBwZS5Q438pV1ZXcfeBy7jLuX352wPYCgIOXCDq1ho 4mQg== X-Gm-Message-State: AHYfb5gpEqXIhT1GUFxuSjl+ehXSHtqap6AyII7kuS7sNt8LThgXtmP8 HV3dZhdsowLl7jX7 X-Received: by 10.28.142.203 with SMTP id q194mr1737149wmd.174.1503065779195; Fri, 18 Aug 2017 07:16:19 -0700 (PDT) Received: from localhost.localdomain ([37.157.136.206]) by smtp.gmail.com with ESMTPSA id 55sm1387383wrv.32.2017.08.18.07.16.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Aug 2017 07:16:18 -0700 (PDT) From: Stanimir Varbanov To: Mauro Carvalho Chehab , Hans Verkuil Cc: Pawel Osciak , Marek Szyprowski , Kyungmin Park , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Stanimir Varbanov Subject: [PATCH 0/7] Venus updates Date: Fri, 18 Aug 2017 17:15:59 +0300 Message-Id: <20170818141606.4835-1-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, Patch 1/7 has been sent already as an RFC but in this patchset it can be found as a regular patch. The RFC version can be found at [1] and also to prove its need look at [2]. Patch 2/7 fixes Venus encoder issue with help of 1/7. The other patches 3/7 to 7/7 can be treated as updates for v4.14. For more info look in the patch descriptions. Comments are welcome! regards, Stan [1] https://lkml.org/lkml/2017/8/14/104 [2] https://patchwork.kernel.org/patch/9394145/ Stanimir Varbanov (7): media: vb2: add bidirectional flag in vb2_queue media: venus: venc: set correct resolution on compressed stream media: venus: mark venc and vdec PM functions as __maybe_unused media: venus: fill missing video_device name media: venus: add helper to check supported codecs media: venus: use helper function to check supported codecs media: venus: venc: drop VP9 codec support drivers/media/platform/qcom/venus/helpers.c | 49 +++++++++++++++++++++++++++++ drivers/media/platform/qcom/venus/helpers.h | 1 + drivers/media/platform/qcom/venus/vdec.c | 31 +++++++++++------- drivers/media/platform/qcom/venus/venc.c | 47 +++++++++++++++------------ drivers/media/v4l2-core/videobuf2-core.c | 17 +++++----- include/media/videobuf2-core.h | 13 ++++++++ 6 files changed, 118 insertions(+), 40 deletions(-) -- 2.11.0