From patchwork Tue Oct 5 08:10:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 515233 Delivered-To: patch@linaro.org Received: by 2002:ac0:890a:0:0:0:0:0 with SMTP id 10csp1794051imy; Tue, 5 Oct 2021 01:11:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyH2LvoBdAYBNgfZRpLW/88wGg3G2JTprGcuXXWwgaApzD+TqpfXN/6gDy2Z/MXNTfeRENY X-Received: by 2002:a50:d9c5:: with SMTP id x5mr24042667edj.37.1633421470883; Tue, 05 Oct 2021 01:11:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633421470; cv=none; d=google.com; s=arc-20160816; b=Fs5AufBvQd5EoLD1DYqWi4nYKKTI33QL5Q+YrOpGM4e6lsn/9K21igHHaFHtck/kG6 Af3EPdUiKASbCHS6jd0PQRyXj4mr3xXEo9LP2E72liSWGwIv25cPlwb5RwXRkf6/t9du Ecl5VT2ppi17mliA3AqaSdyeUYqp0rV2H6lEMWiuGf6gnixaj6GjB5b9ASBVxKVBAoIy WhBQYRKZCKt7ffINp9QDAJ3YWvRQRwK3lZy/p/EKO9jy3JAljiqFPB2Po/lxVjzrKWQ8 WNISpweZKq8dVyC35ayj9V0soc+POSbYh+MwIYwCAs5NMOMCz/qe4DudmEkDfnYKPYAF HSyw== 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=SDHZ+iAKqzgcpz8JKvj+ue5swaknpeNwQJgenX6PCghYUBYKVUo2sg9O595wQQi6Vj f/z+k6gWveL1z2EPaGdkIb3lCDpAPBxtgCbkEINZbOXpnntKzfP2ld06gnfmUnOiIkJ5 yX35HPNF3Yq2JKFSxp9wno9laEXYrfyYeX8NOTynefBvGlwbpXuo0Jc5bKds05WPQFPI 60pdXMmf6KsPAyhlIUTW8Yp4tASikNUhkLKZidZgNyvkd/IyrHzlqgv3+vq0silfwQvt 7KraWaVgiEQ8tPqxeDiheFdzR0qjb4pBpGNNeotI1W9fcZ17gZaP9tG2Tavx65xVTLKV Utkw== 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-media-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-media-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 ce16si24791463edb.634.2021.10.05.01.11.10; Tue, 05 Oct 2021 01:11:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-media-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-media-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-media-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 S233017AbhJEIM7 (ORCPT + 4 others); Tue, 5 Oct 2021 04:12:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232761AbhJEIM5 (ORCPT ); Tue, 5 Oct 2021 04:12:57 -0400 Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B00C6C061749 for ; Tue, 5 Oct 2021 01:11:07 -0700 (PDT) Received: by mail-ed1-x52c.google.com with SMTP id bm13so24926642edb.8 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=e99iSS98E+8fFSU2pxe+szpykxhKkfQas33fgUNtb6wYa8p26V+lXNdqi3xvkmBDcC b0atZOi7o7/oQnMxES/bN3dMf8mmyWflkvZm9O/pVuuOR0zU3EkiW8mc3a0yjG0frZVe zXeYEuYzHROlALNv8Yyh3SHqTMImf89DJkshR85MogNHJlJTo/Qo7gCNPdAdTPahm3ox sVNfZJHTjlqHiDQcjrQG/601AggaB/W9RUiTgtPRRrAJXDkmUyDHfv0FRvwn3/TUJ5KP VpvmrmnAkgISDRpyKzviArl5wvPoELgl3eDo5WQUhT8FXIHg1HVy1a+HdSMQ3ptGuf5N uwjQ== X-Gm-Message-State: AOAM531je2DtVYlnjt5AGfqGKVVdT2u4SzxkDqO9qbnsTs36g1HaeKz8 /kxnDszWqTSp5Vc6WHxRDk2ZZvoBiXla4Q== 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 Precedence: bulk List-ID: X-Mailing-List: linux-media@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