Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp4363957pxb; Tue, 5 Oct 2021 01:12:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyfFw0bkEGDrTmq884ynna8Rknd7WQSl93lKo2ISWh0L4I+gDFwIN0dBdo1YTJaHxM0ot+h X-Received: by 2002:a50:9d4f:: with SMTP id j15mr24979669edk.68.1633421570233; Tue, 05 Oct 2021 01:12:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633421570; cv=none; d=google.com; s=arc-20160816; b=znGT4Mk+syOWj4QvYmSIE9JBQS9Ifd1PD6GXpT4HxRHqnHUwlE0STN5BkVb1vWHtTy 1ga7QTlAzYPW0YxhOzfq+dtepQwgHF6MuZQkPH2s5vEBO+ZC8C/qF/k7wL4KKKUEEWPP 8qWELXjx6lNjWTXLjEqgFooNwBPL9LagDJRYdQSWMkpI2OvKkJceBPDha51hdEy0S6Ey Zoa8irTU5dVTsioo3makVBKObKZrlpdDiZoFoTCf3h1T0oFzKeAjb+D6N9jJHYvwQqtR Yd6dHINuoqHdotYi2ztnJ2Z02vvsRHVJfmvzmlNrnfqMgVVXrTOPL/ef2XBkQ7ig9mqj Tx4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=GVwcWs/uv4J9s+bBSG6ihmdyt76H04Hfo/iT/pqXSrY=; b=FrpcdfwdGAsMQPVF3i7hJ4zcp+xVGZNbvDYDptstH4/H+8oykLq0ipICUYMlMDQyar SyomlNUc1goz2yDLuv3oi/MJMb7g7IHj6vn/JycMCPdXMeT6NZu4etAUHRj15oEwf40q GLflXqeC2bUbb0+MwFuNsI0VUdQbyTSlluzKKayw0mxM45zjn3PGOXzVuR10bZC4ih0+ 5ZZ03quYvQoVDOBkRtf73kwjw1omnPEHetWdW2Cg8pSG74xDJv5noOj5Tz+gMe8zbktB /HXnd87aW6pO/A52B6lqMK7hTupNjM25mZvast3G8MC1TmXTWGUwH0vyZUVIAzrLDVYE pMbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fXzaTCWk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id ds17si6795584ejc.79.2021.10.05.01.12.26; Tue, 05 Oct 2021 01:12:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fXzaTCWk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S232935AbhJEIM6 (ORCPT + 99 others); Tue, 5 Oct 2021 04:12:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39808 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230286AbhJEIM5 (ORCPT ); Tue, 5 Oct 2021 04:12:57 -0400 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 369E0C061745 for ; Tue, 5 Oct 2021 01:11:07 -0700 (PDT) Received: by mail-ed1-x532.google.com with SMTP id z20so23700738edc.13 for ; Tue, 05 Oct 2021 01:11:07 -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:mime-version :content-transfer-encoding; bh=GVwcWs/uv4J9s+bBSG6ihmdyt76H04Hfo/iT/pqXSrY=; b=fXzaTCWklpzZHEUNwY89xZcl1XOE0AnhvAQ5X/i9vhuCNa+o72Vtip9I1kN6/hFvht gEbbwojyuenaQuOMNoeMviRhgWi+xR2mUqwM9GdFJW+izTeB2WzEHB+AzcLvolUCEb0m i9h/tIVbxLBVaBoDGREvxhNznI08XgDRr0Z57xVdZ9fYgli9UrzR25B7BgcQVVFb9lKD 2jifvrAOtHdVtkeJyIgarBVrsCKqgMFdhUP84zr0sSZ68GCyp8wAZKlBULt7syGGyktC JJVFkJ8BM6jg6obChFs+Yx4rAHgrjiUZ+8cY0n6PhsZ73Tk2eWwnSes6J0c15LZOdX59 ZCxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=GVwcWs/uv4J9s+bBSG6ihmdyt76H04Hfo/iT/pqXSrY=; b=G+0GMEJfv0HaPO0zam42hH2+zgWSncQrDE61WthQb+iGeJrYqTaUCkQItQ4EVvkhXb 58yETY2sQTXrEPG5tOkj2M02eZVfmqZENy5ZhU0NE4omi9XitBh39jZRpG4ESNuFrzxK w3OMmw/Hg+7bNnXofEGlEa8GSw39+HWWFgbUwngajoKT5z4l319cRMB3a04iMrVaCxDP FI90sk86Z5fGsLWQaExcXLvYx20X9zar87w2qsRQkbp2YqQY01gUN1TpWxRdR/VB8Xd8 coDAqDvKOBmCEcbiXE8q3cNMBkgm/xsfZrqhavxH5DwtWfD+N7B8h2X1XhiBmzATCdU/ amQw== X-Gm-Message-State: AOAM532lLDmedrDBEmHX6IEJOA/MdFh7mvFMip39uXwalRdt+zpoMXKK pFWBoNZiPxK3ll0PAx8h/J7ZkA== X-Received: by 2002:aa7:c941:: with SMTP id h1mr24759255edt.128.1633421465630; Tue, 05 Oct 2021 01:11:05 -0700 (PDT) Received: from localhost.localdomain ([84.238.208.199]) by smtp.gmail.com with ESMTPSA id f1sm3096258edz.47.2021.10.05.01.11.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Oct 2021 01:11:05 -0700 (PDT) From: Stanimir Varbanov To: linux-media@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, vgarodia@codeaurora.org, Dikshita Agarwal , Stanimir Varbanov Subject: [PATCH v5 0/7] media: venus: Enable venus support on sc7280 Date: Tue, 5 Oct 2021 11:10:41 +0300 Message-Id: <20211005081048.3095252-1-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, Re-send the patchset with comments addressed and fix checkpatch warnings and errors found during preparing Venus pull request. regards, Stan Dikshita Agarwal (7): venus: firmware: enable no tz fw loading for sc7280 media: venus: core: Add sc7280 DT compatible and resource data media: venus: Add num_vpp_pipes to resource structure media: venus: hfi: Skip AON register programming for V6 1pipe venus: vdec: set work route to fw media: venus: helpers: update NUM_MBS macro calculation media: venus: Set buffer to FW based on FW min count requirement. drivers/media/platform/qcom/venus/core.c | 54 +++++++++++++++++++ drivers/media/platform/qcom/venus/core.h | 2 + drivers/media/platform/qcom/venus/firmware.c | 42 +++++++++++---- drivers/media/platform/qcom/venus/helpers.c | 14 +++-- drivers/media/platform/qcom/venus/hfi_cmds.c | 7 +++ .../media/platform/qcom/venus/hfi_helper.h | 14 +++++ drivers/media/platform/qcom/venus/hfi_msgs.c | 7 +++ .../platform/qcom/venus/hfi_plat_bufs_v6.c | 6 ++- .../media/platform/qcom/venus/hfi_platform.c | 13 ----- .../media/platform/qcom/venus/hfi_platform.h | 2 - .../platform/qcom/venus/hfi_platform_v6.c | 6 --- drivers/media/platform/qcom/venus/hfi_venus.c | 4 ++ .../media/platform/qcom/venus/hfi_venus_io.h | 2 + drivers/media/platform/qcom/venus/vdec.c | 37 ++++++++++--- 14 files changed, 165 insertions(+), 45 deletions(-) -- 2.25.1