From patchwork Fri Aug 4 20:09:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 710961 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 79829C04A6A for ; Fri, 4 Aug 2023 20:09:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229992AbjHDUJS (ORCPT ); Fri, 4 Aug 2023 16:09:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229607AbjHDUJQ (ORCPT ); Fri, 4 Aug 2023 16:09:16 -0400 Received: from mail-lj1-x232.google.com (mail-lj1-x232.google.com [IPv6:2a00:1450:4864:20::232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C55AE6E for ; Fri, 4 Aug 2023 13:09:14 -0700 (PDT) Received: by mail-lj1-x232.google.com with SMTP id 38308e7fff4ca-2b95d5ee18dso39882471fa.1 for ; Fri, 04 Aug 2023 13:09:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691179752; x=1691784552; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=i+ZdmQe2vjcw9gjPv4iQjRIm3FBr/PMEmSD7gYRuQwc=; b=hcinsQkuFtpLJ9xV4fFj9cY0ql+oBRySikeZGQ8E31nfuPFd+r4JtO1kn/PIYjwNz0 rm0WKUO5Fz9/1SiGWi7qzv5SCfZIKM8RK3IFtbW5PIzyjYSsBewr34R9hPk/j127Z7mO ViEEEcKnDO2euFPHvPDu16wTfbixnm4Mg3V9uBFnCGfWBF/FsOuUKgxhDBaHu0wSFOyE 74kn03HtLmZPf9oobD28WJa2/Xn0qp7LiXgrtKALlNMv3eeg484dO+PN4/Ui6ecPuRXa YPrJUzUMrblsRgvwhfhvfsFkgQY9ZDBWhEs63fdFcIcJpeQoHn1GQzK6l5yxkksN20lp Nvyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691179752; x=1691784552; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=i+ZdmQe2vjcw9gjPv4iQjRIm3FBr/PMEmSD7gYRuQwc=; b=guiJ+GwNFpmewnw8lnzyne+2Ne1zirBhFftoYSwRTvZjOe3hn/NZSMrP78nJtBjkOQ qdJRl137Q//lz2FVEHFftQnsTN9kC6ToqBmd4/KtIdbqFhe7/iwmjRhVjFtvPMXUa9lf oy4hla6v39+L/DtahKXA7P9POV5jTlvrzZsod1wNzwJJAcrWZhpNgNf7UsxfrRcYQqPX v0zzVgSVXDRgbSFjVwM8tewGiHjOqkKSWi9oU8bRJHBanq+Ski6Bvx7kkL6yOjtEL39n vXq5a3Jjh1OJNHLU564xYm+aGHmS0w1c8rZWyaX1npvcaLl0Rb6VHwfAd4MNPIrUnD4E yWPw== X-Gm-Message-State: AOJu0Yz5wkU1y12T+czRq7YtOyhV0izmWR/EZy2D3ld5MnmGjO07Ix/l Y7sH196PTmtQxbnwSlSGSNyX+w== X-Google-Smtp-Source: AGHT+IGbZyh6qA34iNgBp8oFYb6AJZhXUvEDwUt3b8rkf3hwhTNMR/FSJMsQs1eZ2IG5rP7u2tPKNw== X-Received: by 2002:a2e:3219:0:b0:2b7:4078:13e0 with SMTP id y25-20020a2e3219000000b002b7407813e0mr2238879ljy.43.1691179751569; Fri, 04 Aug 2023 13:09:11 -0700 (PDT) Received: from [192.168.1.101] (abym15.neoplus.adsl.tpnet.pl. [83.9.32.15]) by smtp.gmail.com with ESMTPSA id m8-20020a2e97c8000000b002b6fed37b18sm580048ljj.101.2023.08.04.13.09.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Aug 2023 13:09:11 -0700 (PDT) From: Konrad Dybcio Subject: [PATCH 0/6] SM8350 and SC8280XP venus support Date: Fri, 04 Aug 2023 22:09:07 +0200 Message-Id: <20230731-topic-8280_venus-v1-0-8c8bbe1983a5@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAONazWQC/x2N0QqDMAwAf0XyvEBtmZb9yhgjdnEGJEozZSD++ 8Ie7+C4A4yrsMGtOaDyLiaLOrSXBspE+maUlzPEEFPoU4ufZZWCOebw3Fk3wzxeQ0fcx0QdeDa QMQ6VtEwe6jbPLtfKo3z/n/vjPH/wy7qIdwAAAA== To: Stanimir Varbanov , Vikash Garodia , Bryan O'Donoghue , Andy Gross , Bjorn Andersson , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Marijn Suijten , Konrad Dybcio , linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1691179750; l=1206; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=AzvGjZWLIrTWpfIVnfz5gbNYaA+bZzT3svjy3XgECbI=; b=0E0tvMR801ggIH4I124z4f5XNPnjOBBR8BGs/LZAiTZvgfA4g2KKXac2YPpEBiF4AJQXNycOg pQb+63s7PKNCAd++C8WMpzuOV2PEzOBfO9w7eONj+U2+/3YLWThY5K2 X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org SM8350 and SC8280XP both implement IRIS2, with the bigger SoC having a bit of a beefier unit, capable of reaching a higher core clock. Rebased atop Stan's venus-for-6.6. Signed-off-by: Konrad Dybcio --- Konrad Dybcio (6): media: dt-bindings: Document SC8280XP/SM8350 Venus media: venus: core: Remove trailing commas from of match entries media: venus: hfi_venus: Support only updating certain bits with presets media: platform: venus: Add optional LLCC path media: venus: core: Add SM8350 resource struct media: venus: core: Add SC8280XP resource struct .../bindings/media/qcom,sm8350-venus.yaml | 149 +++++++++++++++++++++ drivers/media/platform/qcom/venus/core.c | 119 ++++++++++++++-- drivers/media/platform/qcom/venus/core.h | 4 + drivers/media/platform/qcom/venus/hfi_venus.c | 15 ++- drivers/media/platform/qcom/venus/pm_helpers.c | 3 + 5 files changed, 279 insertions(+), 11 deletions(-) --- base-commit: 210fefeb11b4bf5d4c5597f126425c2d3fea1aa9 change-id: 20230731-topic-8280_venus-8f506ae723a6 Best regards,