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: 13173 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c44e:0:b0:3f2:4152:657d with SMTP id w14csp109455vqr; Fri, 4 Aug 2023 14:26:45 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGk97SpOjoG4T48sZIK/l1ESJxLOIHRVLnCM5QHfw4/bPAzYb/r4Spw7JCs1c71Jm8xlYUd X-Received: by 2002:a05:6358:716:b0:135:afe6:4f83 with SMTP id e22-20020a056358071600b00135afe64f83mr3531296rwj.29.1691184405659; Fri, 04 Aug 2023 14:26:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691184405; cv=none; d=google.com; s=arc-20160816; b=rVixtaJVp3e/+bkkDFxsmbYIvXtCbP22zOqEMK0BlWb7Y2DkFG1QxPn27tdx+LcBe7 +3edsYmn2q9hEukjZYh2UN0xe1q7ZT2pEqy8uAEZfFCNi6bTcH89NxhI0TG1ZCVgvoVS ltNHtzU6yHLtYyYBUZIY80kzJ4C7Ay1Dp68g9GRk2IjsRhEPmxYJot3jLDKMWiHwgCmO fj/0Ei8UQsGgci1uW3Q9SXnfBCfVNv8co3296br7BxqrkA0wuJQZ1ZCf3a2ILXd93Yq+ VpBKiP+/BoRRFzdzsNeKgL2L4eC4EL0oxVAAGx5oHOjGo44MYS1pTtCRRxwc5tTCiu9e OV8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=i+ZdmQe2vjcw9gjPv4iQjRIm3FBr/PMEmSD7gYRuQwc=; fh=YwPEnDP0lHwHsH9CarSShm+/U4DnsczT6gMuGjnjhlA=; b=C4ukztIu3AEUPdEEMZXsKpVOG34RAmsoEqHukhVi+yNhQKYajwCSPaafPuZguVt55N MXdXZ3NIgJ1Wu4I0HO5/v9bEW2ulWMRYyF0ejQ0GraD3UYyCHptFpw5iDOXuGWKMrsdi Vi0WmUvr6zoDfe2oxgYjCvt4+TeB3JPHTpmc+MlCsD81bcNbtZis180eb9zNlI6nZL9z f40tjgfOBkotEHCnQIJ9ZKeiy63ttvCf0zQuMLk5tjqHGqQZPS1gMrZzr1vHcV7jfAN5 FEworXIZx6UF/5EjW5r7Lhy3TPSbBUkDlf83y7m75rmPqNMuce32llOxonp1psRoWYA1 EKbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hcinsQku; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s16-20020a63af50000000b00563fc307786si2237362pgo.398.2023.08.04.14.26.23; Fri, 04 Aug 2023 14:26:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hcinsQku; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S229572AbjHDUJU (ORCPT + 99 others); Fri, 4 Aug 2023 16:09:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229873AbjHDUJQ (ORCPT ); Fri, 4 Aug 2023 16:09:16 -0400 Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30009E72 for ; Fri, 4 Aug 2023 13:09:14 -0700 (PDT) Received: by mail-lj1-x22e.google.com with SMTP id 38308e7fff4ca-2b9a2033978so40157771fa.0 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=WgXq0sSS8fHtaFJd5uvhXo4raeub/fMTyKa7LG7BbjmDaoTqTS0cdihlf/wAqg3F/D dwljRWGGuhKgap0/rck+s+u2nvRjGzOXyMJVuyGNNURgknfUutp3rthONRRggNVleQOL DikFte2B2OJX4KKsh/dPKx8UrKS/BR9R08qa2gkA2cMlEZhsWMcrSucfUwvEjwCBMAWg X2zrfo/VIXWLJmRgnRJ/B1oxfNos8cUQVuo2ZUrFu6S78Axx3ZPiaZvs+gLyqsBK4jGe EM2/9/cssE9gjZHXD0S+fnUNVB+J4WAK7dfgqj5s5Z5FqVFsR23OChwxXHNcNDtMM2Hh GByw== X-Gm-Message-State: AOJu0Yz19fPvmWH43FR2Ud6oGjEj3JZVAOwQIpFFvR8TRFeh3LsICW9d XORcM4fuxtBJcby9Myb2qDSOdg== 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= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773335379681021299 X-GMAIL-MSGID: 1773335379681021299 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 Reviewed-by: Bryan O'Donoghue Reviewed-by: Bryan O'Donoghue Reviewed-by: Bryan O'Donoghue --- 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,