Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1003203imm; Fri, 1 Jun 2018 13:27:28 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIIFQBwOvlxmQb6G6izQvW8tOzbPojxdiUzae+OsyFCBCaj+eHQQIgf4MwvwNx2u9bqPMLB X-Received: by 2002:a62:a38d:: with SMTP id q13-v6mr12285111pfl.49.1527884847969; Fri, 01 Jun 2018 13:27:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527884847; cv=none; d=google.com; s=arc-20160816; b=QsoYv1Vy6SK2uCyMZWe17on4Coft5sOXnD6atrpQmxos6R4tPrfI00DQi1qHSviZgI Qhfjc8zJ6rU2Lae8dSvNRDd5kTyRm47H/rMmlHu7kyzyLpJXkhB3SljVLT44jzG+nCxM NOsqkfHXBBm4b7ikGDSS+WztW2eoiI31v/mdMN8lxGgvVWo/Y6i5mNGnBcLc+R+nMJJO Gg4WhbLujH28tuNKSnWTa0O8tg+jDZTTVQk9LYc0ZwIfBoKBoHHTYNNZdo4eoN1SugyH aRH2WTZJiKL/w5wzI25gqS+BBuYA/PcJiydz1ZWavC3IbzuyLQdcH7TiVTQtLO32vN/e cyhA== 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 :dmarc-filter:dkim-signature:dkim-signature :arc-authentication-results; bh=89gGG+906avD93QcOSX18htK+md1ORzG1bnbk0fO/9k=; b=U57IoBGvPYVCPimofZZAAnWy7lX6DxMb+X9z3Li2yGpS/TEXXljbc4TeIO3OP1dtFI QLIKWvKpXBI0Ij+J+kanM2TBJ4gyY2vQmZgXsyx2Ltj5V8947XnnasFEaDfhgmF5O+TT mvPtl/QgY7ETCeWf2E4kyNdV7+bqYbuaqAZE3YJMf3C39Ut4wKOIsMVN9+BEjwLjrW9A fepgj7keTGuSeVHb4159+pntXX3mTmJiXzNwnDcCudqlnc6h7YVRMzoe2kGzZGmW8Vv6 sItoa8Rkw1Yufmisbwlx7J80WPJdZdK7bB/do/PfHAd+J0Gdr2B+dazjvFdRpc/Xk+B+ j6XQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=OwU32kw1; dkim=pass header.i=@codeaurora.org header.s=default header.b=XaqFiGJx; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j12-v6si8167830pgq.312.2018.06.01.13.27.11; Fri, 01 Jun 2018 13:27:27 -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=@codeaurora.org header.s=default header.b=OwU32kw1; dkim=pass header.i=@codeaurora.org header.s=default header.b=XaqFiGJx; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753488AbeFAU0n (ORCPT + 99 others); Fri, 1 Jun 2018 16:26:43 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:53032 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752572AbeFAU0h (ORCPT ); Fri, 1 Jun 2018 16:26:37 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id A056E60769; Fri, 1 Jun 2018 20:26:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1527884796; bh=cdA0oaHos1eTameNNzddwneATeVLyzrRtJyyXszIHaE=; h=From:To:Cc:Subject:Date:From; b=OwU32kw1Kb6tfSY2LfvGVNU9La3lpyx5S4wPobtFB4Q3durWZ35Mkg6EG3Ex9EGGF 6LJ5rdWbSsHewvtS1DFEGr0UDPwDnF9mqzdc2bdbWoqubjTqRNJ2V42EGUq46AxcuY O+ldt2hPUN6qfNjcpjeLCpuGCFAM+650I7qYw3aA= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from vgarodia-linux.qualcomm.com (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: vgarodia@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 281B8605A4; Fri, 1 Jun 2018 20:26:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1527884795; bh=cdA0oaHos1eTameNNzddwneATeVLyzrRtJyyXszIHaE=; h=From:To:Cc:Subject:Date:From; b=XaqFiGJxFZmZmMhgKZBlMwvW5dd7x1TQPy2f/ffZPXks3opAANnIrQaiGTAzoJIzZ OfhvAhBMfrNqp5wlepEhRVpbrFSYQ5WxBEnsod+mtNdkGFhaJ1+ecwbqo99hkcTKc9 FyZMZ1UyjPUSs1P6bI3QcQBafMgFIsx8yv5liE5Y= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 281B8605A4 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=vgarodia@codeaurora.org From: Vikash Garodia To: hverkuil@xs4all.nl, mchehab@kernel.org, robh@kernel.org, mark.rutland@arm.com, andy.gross@linaro.org, bjorn.andersson@linaro.org, stanimir.varbanov@linaro.org Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, vgarodia@codeaurora.org, acourbot@chromium.org Subject: [PATCH v2 0/5] Venus updates - PIL Date: Sat, 2 Jun 2018 01:56:03 +0530 Message-Id: <1527884768-22392-1-git-send-email-vgarodia@codeaurora.org> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, Here is v2 with following comments addressed: * drop 1/4 patch from v1 and use relevant api to load firmware without PAS. * add some details on ARM9 role in video hardware. * abstract scm calls to set hardware state. * remove setting aperture range for firmware and vcodec context banks. * add misc code review comments related to return handling, unwanted cast, etc. Comments are welcome! Vikash Garodia (5): media: venus: add a routine to reset ARM9 media: venus: add a routine to set venus state venus: add check to make scm calls media: venus: add no TZ boot and shutdown routine venus: register separate driver for firmware device .../devicetree/bindings/media/qcom,venus.txt | 8 +- drivers/media/platform/qcom/venus/core.c | 58 +++++- drivers/media/platform/qcom/venus/core.h | 10 + drivers/media/platform/qcom/venus/firmware.c | 217 ++++++++++++++++++--- drivers/media/platform/qcom/venus/firmware.h | 12 +- drivers/media/platform/qcom/venus/hfi_venus.c | 13 +- drivers/media/platform/qcom/venus/hfi_venus_io.h | 5 + 7 files changed, 275 insertions(+), 48 deletions(-) -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project