Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp3746887pxt; Tue, 10 Aug 2021 10:20:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwxnTnIi3tzUtsRSzdNAT4liMnKoYZmsXauPJHD0YOkaZeIbFzumIoFK2y1MWvEy9z1WJ4k X-Received: by 2002:a92:ca90:: with SMTP id t16mr444953ilo.32.1628616059279; Tue, 10 Aug 2021 10:20:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628616059; cv=none; d=google.com; s=arc-20160816; b=JlVBEklYXzUxlkc2x9EwdCWd5sF5kloaexffkypkigGJ4MHZOuqyHHJt25YGzjY9R8 axlTUoY+ivOabvL9R/TNmm6T4bwmNhz7hvi0n083yYnuJKChPmAUpAGFuZJ3dPffuCZ4 0Q9pooBOq1d2L8QTHL4t6DkzRR8xjqy48aoCUjA+ZFMsN1+IEEiqFyf2i9vrUlTowLhr C+/N+HNJPkRNAPBXehS6WGEN7W2kMWRwZcqGUXT1Da0Lmw86qhiJOsW5tppvRv3qoRm9 PM9IXWVlrVaT/u0/NKwsc1uM3Liq+R+OaCd2c7Zt0E39/KJ/Ee9tHXZ4QRXyh6PbeFrz 3dKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=8bH3Nb8lfYQCeZd0Bh2hm5SZbEWzgxvzV5SUIbkAqmI=; b=wjMBPCfeIrq05b0FhzlKpOUNgMS8eIB4MyFVobFAvF6pA49BIoe+10X5EHCxoyO3sW DxsRXkFAOZ6QwQIU+w6R8YEuYKajbkhsb2kaekGEnbA6XqRO+5IMEk4ZHlkjncBq4GLJ SFCVZhssyiSITPWXPQwXYRloQCGzOG/4TvTw3LR/bBa6u/JzZsNzcxeO0bvFXumk6AZ2 lvz54gOvl975Ujuv6rU2kS9MM4ht2/HPuDm5CYlCphC1cB9KkpdkuqiUNu++68jCUs4M fVBpahfeOu8aY1DvRy7GILLw9fX4zP9/M1bD0L8aR2WmAHRcanPdjEwF6VtXFREqTpVA lRYQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k12si20450682ilc.139.2021.08.10.10.20.47; Tue, 10 Aug 2021 10:20:59 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239289AbhHJJtA (ORCPT + 99 others); Tue, 10 Aug 2021 05:49:00 -0400 Received: from alexa-out.qualcomm.com ([129.46.98.28]:61815 "EHLO alexa-out.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238232AbhHJJss (ORCPT ); Tue, 10 Aug 2021 05:48:48 -0400 Received: from ironmsg08-lv.qualcomm.com ([10.47.202.152]) by alexa-out.qualcomm.com with ESMTP; 10 Aug 2021 02:48:27 -0700 X-QCInternal: smtphost Received: from ironmsg02-blr.qualcomm.com ([10.86.208.131]) by ironmsg08-lv.qualcomm.com with ESMTP/TLS/AES256-SHA; 10 Aug 2021 02:48:25 -0700 X-QCInternal: smtphost Received: from dikshita-linux.qualcomm.com ([10.204.65.237]) by ironmsg02-blr.qualcomm.com with ESMTP; 10 Aug 2021 15:18:08 +0530 Received: by dikshita-linux.qualcomm.com (Postfix, from userid 347544) id B959221CA3; Tue, 10 Aug 2021 15:18:07 +0530 (IST) From: Dikshita Agarwal To: linux-media@vger.kernel.org, stanimir.varbanov@linaro.org Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, vgarodia@codeaurora.org, Dikshita Agarwal Subject: [PATCH v4 0/7] media: venus: Enable venus support on sc7280 Date: Tue, 10 Aug 2021 15:17:48 +0530 Message-Id: <1628588875-23790-1-git-send-email-dikshita@codeaurora.org> X-Mailer: git-send-email 2.7.4 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series enables support for 6xx venus encode/decode on sc7280. The driver changes are dependent on [1]yaml and [2]dts patches. [1] https://patchwork.kernel.org/project/linux-arm-msm/list/?series=484019 [2] https://patchwork.kernel.org/project/linux-arm-msm/list/?series=484727 Changes since v3: - addressed comments on v3 (stanimir). - rebased the changes on latest media tree. 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 | 23 +++++---- drivers/media/platform/qcom/venus/hfi_cmds.c | 7 +++ drivers/media/platform/qcom/venus/hfi_helper.h | 14 ++++++ drivers/media/platform/qcom/venus/hfi_msgs.c | 7 +++ .../media/platform/qcom/venus/hfi_plat_bufs_v6.c | 6 ++- drivers/media/platform/qcom/venus/hfi_platform.c | 13 ------ drivers/media/platform/qcom/venus/hfi_platform.h | 2 - .../media/platform/qcom/venus/hfi_platform_v6.c | 6 --- drivers/media/platform/qcom/venus/hfi_venus.c | 4 ++ drivers/media/platform/qcom/venus/hfi_venus_io.h | 2 + drivers/media/platform/qcom/venus/vdec.c | 42 ++++++++++++++--- 14 files changed, 175 insertions(+), 49 deletions(-) -- 2.7.4