Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1126913imm; Wed, 4 Jul 2018 12:08:14 -0700 (PDT) X-Google-Smtp-Source: AAOMgpePYXJ0YiZ4t+QeMUEAl0fVAihkAzwFUprlsEUr37QXDbE239DpTK8WabxakPGx4Meo2GrN X-Received: by 2002:a17:902:714e:: with SMTP id u14-v6mr3229177plm.289.1530731294456; Wed, 04 Jul 2018 12:08:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530731294; cv=none; d=google.com; s=arc-20160816; b=C90WhpRrAIVEC48pJ2n17ZAfOxyexYEXOKkHJt8nNG58GLmOLmaPGHGimiybj5puto TPN9Hl/cDsejCZO7F6qib4fvOWh07mhAPJusXkDfea+Vjh5vm+75mzzXTf7fW26F2sUS POblMzqSP0EJ9E4mbHD7/FaxtZr2m6b4+wson1E2knydwsMfIYkXgKzFWzYyrfggJIC8 UMZqNqnEx52lM1sTAMmmStB3xYsrigLqjo+1FmndPj0E4sZKymjUoe5Dl/BJL1GkC5HD /2E6v+o0mfJiwtyL63CW4v6knd3ezXyrwgeSas4YGanKOLJSn/6Wk5UqJSQjA7+o4sJP l2AA== 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=kvuaEGZD/4Wu0TT9rAL2OzqAqTPBqYrhSaQYXsnzDhU=; b=aJgtr7HHhHhWUILIAp+FgKHUGwC3WqWgURN56MuhLDN5240aOyPa0IK9YRjdAIu0yi gAkElkYI+p405x09xJ1wR3xi1kBIHNC4bSP89su9+8fkPimxJwZeRXAEMVwWrvLb7U4r zaoVogxadlDEXOkOi6kr/KxVK26H3bfyMhtvBh7IDamUmrWTz5Y1OsAGm4sH6Kc9gFku +AxnFF9sQr1UWJixHNvl9vNJmT6rExcwx+IT6mmrHbUZHfwzeIG+7BZMdIoPZKWcvecO B629JOKlbbosSdiXpsPhAfPmSu9nOvgExu5h+umHeQV5KpicCfiu+YBfw7mTMr3uqMuo Hcuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b="l/tauUOk"; dkim=pass header.i=@codeaurora.org header.s=default header.b=a26dwUDO; 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 r28-v6si3882815pgk.458.2018.07.04.12.07.59; Wed, 04 Jul 2018 12:08:14 -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="l/tauUOk"; dkim=pass header.i=@codeaurora.org header.s=default header.b=a26dwUDO; 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 S1752653AbeGDTHV (ORCPT + 99 others); Wed, 4 Jul 2018 15:07:21 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:41302 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752401AbeGDTHS (ORCPT ); Wed, 4 Jul 2018 15:07:18 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 19081607EB; Wed, 4 Jul 2018 19:07:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1530731238; bh=cjwaM0wGlcNgXiCUVs9vIX0qmzqwDLGqmxNgazJzhWc=; h=From:To:Cc:Subject:Date:From; b=l/tauUOklxfIRuXaAosl6kHwX9s7Xfl8B2xre6vnUk1KYpkK3bs4HGbIeY22BWgvq QFDmjob4L7uT0XXPoCcoLZ2O4BAWBPH4TVlBajJlNL8B39CtK+ZuoB8/dKHI2OrP+6 VzthX5aB47wLPcv8YMjQ/WNm6Ryo1kAfRP682wpE= 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 086F8607EB; Wed, 4 Jul 2018 19:07:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1530731237; bh=cjwaM0wGlcNgXiCUVs9vIX0qmzqwDLGqmxNgazJzhWc=; h=From:To:Cc:Subject:Date:From; b=a26dwUDO5vgNqcysbV3cRsWHHnmNvydEeiiLE+HjmdVNwN8ST9CqCV7OxwbrrfYra SyjRy9MZ1rsxAA14hFn1fWpwgaA2neyXWqaMwkf3H4Et9IcFAExblZr68NW+Yx81aQ s2F/AOBPIIbmDcxZna0ca2P2e9gHax+QppBU/gOs= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 086F8607EB 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: stanimir.varbanov@linaro.org, hverkuil@xs4all.nl, mchehab@kernel.org, robh@kernel.org, mark.rutland@arm.com, andy.gross@linaro.org, arnd@arndb.de, bjorn.andersson@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, acourbot@chromium.org, vgarodia@codeaurora.org Subject: [PATCH v3 0/4] Venus updates - PIL Date: Thu, 5 Jul 2018 00:36:48 +0530 Message-Id: <1530731212-30474-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 v3 with following comments addressed: * merged patch 1 and 4 from v2. * removed enum for Video CPU state and handled it as a bool. * introduced a flag to specify if tz is not present. * add misc code review comments related to better coding ways There is an ongoing discussion on getting iova in a specified range. Once concluded, will update the series, if needed. Comments are welcome! Vikash Garodia (4): venus: firmware: add routine to reset ARM9 venus: firmware: move load firmware in a separate function venus: firmware: add no TZ boot and shutdown routine venus: firmware: register separate driver for firmware device .../devicetree/bindings/media/qcom,venus.txt | 17 +- drivers/media/platform/qcom/venus/core.c | 59 +++++- drivers/media/platform/qcom/venus/core.h | 6 + drivers/media/platform/qcom/venus/firmware.c | 203 ++++++++++++++++++--- drivers/media/platform/qcom/venus/firmware.h | 7 +- drivers/media/platform/qcom/venus/hfi_venus.c | 13 +- drivers/media/platform/qcom/venus/hfi_venus_io.h | 5 + 7 files changed, 263 insertions(+), 47 deletions(-) -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project