Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1611946rdb; Mon, 2 Oct 2023 15:30:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE0f+bT08IeAAK6M2hKHIBUm+qsbVzfQK6LWFNU6DodWOgmAyQcbVoa+evhujZCDcq1XSIh X-Received: by 2002:a05:6870:818d:b0:1d5:6161:76f2 with SMTP id k13-20020a056870818d00b001d5616176f2mr16006877oae.27.1696285853700; Mon, 02 Oct 2023 15:30:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696285853; cv=none; d=google.com; s=arc-20160816; b=gzXlTs4gQXBd1kSURaxYAKXoEUy2u+a9OnXT41WqoBgujNhDi2pl1ekbfS5BlH1zxn V2a4yr9hvzOn/QqG93oZSM2plo/vYdZMn2pXv39uvlHjHY+coXAwDvYo0OQgUELlKamZ +V/xB+R0Jp2YAxsBgLWEb1h7VRNRG6HycjPkNfLt2D6PXvj4CS3t9BbxUn7NMK0st4tr dr/A8CBIzNnGQNFbLTYwtctKJeVWsogXtvSdQRSPrGYuO/DbqCF0lf+S85cb6L8ms1UQ ngS2AheDe9Ilu0Pam++W7govR/AG7/ByaKg1YqyW7MqVKGVLIcoBxEbjJN8vs8w5Tmby MvUQ== 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=qRr3QqlzCQWTLZLmH3nUHt+TIB+s/7OFIih+wrwlQUw=; fh=RbuVdAHdkZh3zmsnEBmnbXgcSPvehQVzUrpFzUODU6Y=; b=AZKTm/q74mASEQVqik1OEDT7PRcpVQ/apxe/GfI9Q9ki04ICXxtItqI4q2gOu5J3n/ s8IwWk01LDngjEfidMiMoHoAofKFxRXUD8NFK0tkt4XTb663+EP2n/3GfyxuD6r1nnjK 2wxJUXht1JJI/ExkoJ4EeHOeL1SRRp1W1yB5xwKvsmuUWqyM6KbpuptOrfyRZn1m1lX8 2Ayxn3mPG4PuxoEQJrhd1Amf9bHbOiTJlgCYOhVMj2XtRm7oq0IlrkHvA+QL/Q0FBjMN E0SQ4vSQMLtj/RZiAMekTvvcXsKjlDpCHsMeKMl9m2yafjJrjxibkh0BcNsVxy8VizAU GORQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b="q3I/m6Sz"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id e62-20020a636941000000b00578b26be643si26792738pgc.606.2023.10.02.15.30.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 15:30:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b="q3I/m6Sz"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 723A38098709; Mon, 2 Oct 2023 07:20:48 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237750AbjJBOUi (ORCPT + 99 others); Mon, 2 Oct 2023 10:20:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38818 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237706AbjJBOUf (ORCPT ); Mon, 2 Oct 2023 10:20:35 -0400 Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BC746E1 for ; Mon, 2 Oct 2023 07:20:31 -0700 (PDT) Received: by mail-ed1-x531.google.com with SMTP id 4fb4d7f45d1cf-5334d78c5f6so22303903a12.2 for ; Mon, 02 Oct 2023 07:20:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1696256430; x=1696861230; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=qRr3QqlzCQWTLZLmH3nUHt+TIB+s/7OFIih+wrwlQUw=; b=q3I/m6Sz1V6JSfTHO3I0kmyOZF6Dv6PgvGJTOq7zCq+sjl0TyOy0IgtOZPFvt30fxH W2sedPwviWXMz96fqgPuxZT1Or/8VN9Xrbb0cL0UdM9xlglsYgTsIe19/z+aLg8ZHeHE nxHc4J9T9MGQNdaq1EIINa7MqSOqjsCgyuQAfXTTLQJ3Uuq9RprN20K1EhSCPv/eoRuo 8DoGvIBAF0cn4btnP2ik1U+s68an5yWtX3lvBf02HivgpxQZ5cla0GLfULDxwdj0o703 2aAYKe6aH2BrGFuKvoqYn8BOK4j+7Ulueb2Go6lOKKtJE33jnzUIEv8EdLVT+7xAu89z tJZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696256430; x=1696861230; 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=qRr3QqlzCQWTLZLmH3nUHt+TIB+s/7OFIih+wrwlQUw=; b=wgWNO0dR9AfA4QN1SsSlSRMbV+qFi2kV5kVTb6IMCk6yzAmiCEfoqDey84XV9XCNiF x37/LfzcRGCwc/xIjv3iRXu3GmgcmxvtsKBGyo/j+q/aaReVaiZmVeAZBlxegsZl/Irf VaW4TV6tyJrDUp/t2OjukjcsE84uj81Naefk7i6u9Jrc/1EEr9K7H57fa12GXFQ55sSQ sJtKpi6qQ0Rg0hZ5HkiN0edBCBYrK0HtBIxp4NDdODTkLylAJQ08NsA4IqWj35Xi/5nF nlpBTyL+2MMtSvfNgrrXW+boGC2Z1pfb0SV22zOV4hDZjL4AMb5vJyj0duQ/TQWYTgNO +ICQ== X-Gm-Message-State: AOJu0Ywwo8DBNV+a46PjIerOBjI4lhXHVHlBdcFQHcHRPPTA9Z9yARQm 87bbMyR/gVbT4s3DYxS9B69F2ciYnY5QZdbI6Ih+aw== X-Received: by 2002:aa7:d80a:0:b0:530:a5d6:583d with SMTP id v10-20020aa7d80a000000b00530a5d6583dmr10118640edq.11.1696256430236; Mon, 02 Oct 2023 07:20:30 -0700 (PDT) Received: from otso.luca.vpn.lucaweiss.eu (144-178-202-138.static.ef-service.nl. [144.178.202.138]) by smtp.gmail.com with ESMTPSA id w10-20020aa7dcca000000b005309eb7544fsm15583356edu.45.2023.10.02.07.20.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 07:20:29 -0700 (PDT) From: Luca Weiss Subject: [PATCH v2 0/3] Enable venus on Fairphone 5 / non-ChromeOS sc7280 venus support Date: Mon, 02 Oct 2023 16:20:28 +0200 Message-Id: <20231002-sc7280-venus-pas-v2-0-bd2408891317@fairphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAKzRGmUC/32NQQ7CIBBFr9LM2jEUQimuvIfpguDUzkJoGCWap ncXPYDL95L//gZChUng1G1QqLJwTg30oYO4hHQj5Gtj0Eob5bVHiU6PCiulp+AaBCn4wSirrbM G2mwtNPPrl7xMjReWRy7v30Ptv/ZPrPao0MfBmTHOvXXhPAcu65ITHWO+w7Tv+weNjcDwtAAAA A== To: Stanimir Varbanov , Vikash Garodia , Bryan O'Donoghue , Andy Gross , Bjorn Andersson , Konrad Dybcio , Mauro Carvalho Chehab , cros-qcom-dts-watchers@chromium.org, Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Luca Weiss X-Mailer: b4 0.12.3 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 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-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 02 Oct 2023 07:20:48 -0700 (PDT) Devices with Qualcomm firmware (compared to ChromeOS firmware) need some changes in the venus driver and dts layout so that venus can initialize. Do these changes, similar to sc7180. Signed-off-by: Luca Weiss --- Changes in v2: - Reword commit message 2/3 to be clearer (Konrad) - Link to v1: https://lore.kernel.org/r/20230929-sc7280-venus-pas-v1-0-9c6738cf157a@fairphone.com --- Luca Weiss (3): media: venus: core: Set up secure memory ranges for SC7280 arm64: dts: qcom: sc7280: Move video-firmware to chrome-common arm64: dts: qcom: qcm6490-fairphone-fp5: Enable venus node arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts | 5 +++++ arch/arm64/boot/dts/qcom/sc7280-chrome-common.dtsi | 8 ++++++++ arch/arm64/boot/dts/qcom/sc7280.dtsi | 6 ++---- drivers/media/platform/qcom/venus/core.c | 4 ++++ 4 files changed, 19 insertions(+), 4 deletions(-) --- base-commit: df964ce9ef9fea10cf131bf6bad8658fde7956f6 change-id: 20230929-sc7280-venus-pas-ea9630525753 Best regards, -- Luca Weiss