Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp136104pxv; Wed, 14 Jul 2021 00:03:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzxQ5H1U1bn6ZfeNeIccyPVHitQNMUa9rnqfYWb7+/XWbxWt3cXOvQ9bzL2U8d/DVXf+opN X-Received: by 2002:a17:906:131a:: with SMTP id w26mr10788391ejb.46.1626246179878; Wed, 14 Jul 2021 00:02:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626246179; cv=none; d=google.com; s=arc-20160816; b=Xf3KdEuKQoj7My8MqX8CrVLZ4uSD8aWy5L23qkD906dm8rC0rLk6SpFKEXUSG+Vj70 8VSZtTGhvkaOiUd6tZPb6TjWc+HQwprtN80tvowRdnjHIH1srNvN5ARAitBdivFn8g97 UNgMU4DmVnWOI3e3TmWkCc53kC9O7dWBIR9n/6Yk9IKf+T4rvdwFATQTU7FUNJX0wSND QB5ZwRJajhdaXaX66Hdd1cBU6PQ2AZClNYBy6/HjbRqSe0GsUCFj0/BjOjhS1EmuQqYy p9P1nPLUdbSgnD7MktF8dlavZSljAKso5M3igPF3Mqpeuv5TpP2jokQNMyDzwY+21TCP Vs0A== 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=0PzXZEfZ4u0aLCRY8kq3tLKDG6aWnUDI4QHIEojiiFg=; b=EOA+qQfk5+6Q/hhfzS51hIg85+t914cn0oAgF05IL1aLrFm1paUDyCCQMhn0UDVG18 unGzWRrX8BAKbbyGdPQKPQu+zXgZpcNbv0P6wXIA8gIG08r7gC4LnBIBqZet+FuIMDw5 x+ust5zT44rSAgdBul4+386HkcirsnBaG8/Uo2V0l9DLQsiCWrceLPDjG0/7E5Jqfgbw nFYP8sIkP0HJtDgf56PWGDhSwiATP8gYI4fktZ+BgG3tbxI9jU0U/ZiyUQ84SV6YGT2n 8r6b9NaoP/oNjLFhU856WpundDUoTvBm80C+UPrYnggAMsUE3HwB7/FYqn4WGWteqEHv gP1Q== 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 w4si1682930edr.349.2021.07.14.00.02.37; Wed, 14 Jul 2021 00:02: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 S238182AbhGNHEd (ORCPT + 99 others); Wed, 14 Jul 2021 03:04:33 -0400 Received: from alexa-out.qualcomm.com ([129.46.98.28]:57571 "EHLO alexa-out.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238118AbhGNHEc (ORCPT ); Wed, 14 Jul 2021 03:04:32 -0400 Received: from ironmsg09-lv.qualcomm.com ([10.47.202.153]) by alexa-out.qualcomm.com with ESMTP; 14 Jul 2021 00:01:41 -0700 X-QCInternal: smtphost Received: from ironmsg01-blr.qualcomm.com ([10.86.208.130]) by ironmsg09-lv.qualcomm.com with ESMTP/TLS/AES256-SHA; 14 Jul 2021 00:01:40 -0700 X-QCInternal: smtphost Received: from dikshita-linux.qualcomm.com ([10.204.65.237]) by ironmsg01-blr.qualcomm.com with ESMTP; 14 Jul 2021 12:31:20 +0530 Received: by dikshita-linux.qualcomm.com (Postfix, from userid 347544) id D300D21B6B; Wed, 14 Jul 2021 12:31:18 +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 v3 0/7] media: venus: Enable venus support on sc7280 Date: Wed, 14 Jul 2021 12:31:01 +0530 Message-Id: <1626246068-21023-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 v2: - no longer considering client buffer requirement to calculate output buffer min count. - addressed comments on v2 (stanimir). 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 | 26 +++++++---- 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, 178 insertions(+), 49 deletions(-) -- 2.7.4