From patchwork Mon Dec 23 11:32:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 11308061 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3015313B6 for ; Mon, 23 Dec 2019 11:33:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0E0AE20882 for ; Mon, 23 Dec 2019 11:33:32 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="NdccdyXL" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726663AbfLWLdb (ORCPT ); Mon, 23 Dec 2019 06:33:31 -0500 Received: from mail-lj1-f195.google.com ([209.85.208.195]:41657 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726679AbfLWLda (ORCPT ); Mon, 23 Dec 2019 06:33:30 -0500 Received: by mail-lj1-f195.google.com with SMTP id h23so17399837ljc.8 for ; Mon, 23 Dec 2019 03:33:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=W86PjKWMp0DXo0oqU8GNbupPzD4JvnNKtjFCMr2/NeY=; b=NdccdyXLPkXmuyhQhYpFznqNVNxOoSsQFB6qZE+cGCN/yafZMxkrGX0vWu+TxIsXW/ X5BGr3a08PLAYMNKPk/W2RNBFvKi062Fy0T4WRkjPVBQTpKEkYFbAv7ZMAYw+R/2YrT9 UGJ46wZHvNC6WDA9XZS7gBWDVCB31c93auJxUMVpu0QsAJwj3Mhvxp+Bopcqu7p5Aajj v1YibMM54480J3Qh7wX7BLOSZMEigllisVovl2hKKF9ck7cUrijaKtfHSczq7eIdwtm5 +duB5ivl1vG4Eshuy2LtdzkuhTKtCGtOujbkafb06ml+1+gIV9k1KhjG6oAnGCBp1su0 ZUyw== 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=W86PjKWMp0DXo0oqU8GNbupPzD4JvnNKtjFCMr2/NeY=; b=qzOVSnR40gtOTl03b25EhkBfE91eJpsUFvmE9ZnNzGDkcGA+skE1bKrnARhuErawB/ J5hzzqSolyzaFDbcKmPZN9+3lfEsDLk7eaLgwcWcEfvJVjOw8m/XJGOjqYNXy6xuZuQp l3i1acw6faLEJGEkTO8BmlWcoCXyJV5egTWaHeCOWPUmasFzb/SoDUKQEYjZ4b+ihToP 6CDkp8WZD6aoN8/0jMN7Do8ZK45ckjw1+Il2CKx7XI1d4SkqIAeibvQTnM0MFLvyxDOq 5Ri9oZWqhdpB8k87PCvW5Wg3wGxECCT0JHHOdGCvEC5vdMay7ME71Te/HwOp5fQXtyWD ZhYw== X-Gm-Message-State: APjAAAXfVqiPocpFHB7Ww17rwY9K/VCerGBFHbNwF66fsBXEYj/LQTrz ATuGD7P8cVfKXOaJNdxJTtn3+CRgW6c= X-Google-Smtp-Source: APXvYqyvE4LFXz14TEeueaK3Hw30PRJx8l5ut0WQKynuK1BG5vv7bGEblHk4zcQqosmEsfb6sqn3Mw== X-Received: by 2002:a2e:2d01:: with SMTP id t1mr12640896ljt.36.1577100808204; Mon, 23 Dec 2019 03:33:28 -0800 (PST) Received: from localhost.localdomain ([37.157.136.193]) by smtp.gmail.com with ESMTPSA id g15sm8381500ljk.8.2019.12.23.03.33.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Dec 2019 03:33:27 -0800 (PST) From: Stanimir Varbanov To: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, devicetree@vger.kernel.org Cc: Vikash Garodia , dikshita@codeaurora.org, Stanimir Varbanov Subject: [PATCH v3 00/12] Venus new features Date: Mon, 23 Dec 2019 13:32:59 +0200 Message-Id: <20191223113311.20602-1-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 2.17.1 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Hello, Chnages since v2: - addressed DT schema review comments in patches 6/12 to 9/12 v2 can be found at [1]. regards, Stan [1] https://lkml.org/lkml/2019/12/18/444 Aniket Masule (2): media: venus: introduce core selection media: venus: vdec: handle 10bit bitstreams Stanimir Varbanov (10): venus: redesign clocks and pm domains control venus: venc: blacklist two encoder properties v4l: Add source event change for bit-depth dt-bindings: media: venus: Convert msm8916 to DT schema dt-bindings: media: venus: Convert msm8996 to DT schema dt-bindings: media: venus: Convert sdm845 to DT schema dt-bindings: media: venus: Add sdm845v2 DT schema venus: core: add sdm845-v2 DT compatible and resource struct arm64: dts: sdm845: follow venus-sdm845v2 DT binding dt-bindings: media: venus: delete old binding document .../bindings/media/qcom,msm8916-venus.yaml | 117 +++ .../bindings/media/qcom,msm8996-venus.yaml | 153 +++ .../bindings/media/qcom,sdm845-venus-v2.yaml | 139 +++ .../bindings/media/qcom,sdm845-venus.yaml | 157 +++ .../devicetree/bindings/media/qcom,venus.txt | 120 --- .../media/uapi/v4l/vidioc-dqevent.rst | 8 +- .../media/videodev2.h.rst.exceptions | 1 + arch/arm64/boot/dts/qcom/sdm845.dtsi | 25 +- drivers/media/platform/qcom/venus/Makefile | 2 +- drivers/media/platform/qcom/venus/core.c | 122 ++- drivers/media/platform/qcom/venus/core.h | 31 +- drivers/media/platform/qcom/venus/helpers.c | 435 ++------ drivers/media/platform/qcom/venus/helpers.h | 4 - drivers/media/platform/qcom/venus/hfi_cmds.c | 2 + .../media/platform/qcom/venus/hfi_helper.h | 6 + .../media/platform/qcom/venus/hfi_parser.h | 5 + .../media/platform/qcom/venus/pm_helpers.c | 964 ++++++++++++++++++ .../media/platform/qcom/venus/pm_helpers.h | 65 ++ drivers/media/platform/qcom/venus/vdec.c | 88 +- drivers/media/platform/qcom/venus/venc.c | 75 +- include/uapi/linux/videodev2.h | 1 + 21 files changed, 1873 insertions(+), 647 deletions(-) create mode 100644 Documentation/devicetree/bindings/media/qcom,msm8916-venus.yaml create mode 100644 Documentation/devicetree/bindings/media/qcom,msm8996-venus.yaml create mode 100644 Documentation/devicetree/bindings/media/qcom,sdm845-venus-v2.yaml create mode 100644 Documentation/devicetree/bindings/media/qcom,sdm845-venus.yaml delete mode 100644 Documentation/devicetree/bindings/media/qcom,venus.txt create mode 100644 drivers/media/platform/qcom/venus/pm_helpers.c create mode 100644 drivers/media/platform/qcom/venus/pm_helpers.h