From patchwork Mon Oct 2 14:20:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 95443 Received: from vger.kernel.org ([23.128.96.18]) by www.linuxtv.org with esmtp (Exim 4.92) (envelope-from ) id 1qnJmn-003hAD-Lr; Mon, 02 Oct 2023 14:20:37 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237736AbjJBOUg (ORCPT + 1 other); Mon, 2 Oct 2023 10:20:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38830 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237691AbjJBOUf (ORCPT ); Mon, 2 Oct 2023 10:20:35 -0400 Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C0A83E3 for ; Mon, 2 Oct 2023 07:20:31 -0700 (PDT) Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-53636f98538so7249595a12.1 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=lhVrUNkZviVXkGIpiQRMXZbSiiJdUemkgAo+CoqSw+8xUdTutNncbIxbpMH90Dop0x yXs54+Ug0TLJGSWon/9T2UyqXYcnuAc2hh8D3acZnDrd1n8GY2Sf89MZTMUqLsMEmNqX 5DzYCRHeeg5NwBMfZ802pWfk3BCHizX0aJwKnkuN0435eycAhuABVQc0PezSbwIc+Q41 XY0Jdwg1rYlYuqzp9kQFWeJxhZxFUyegN+ACyllv0oVM0mZriqeCm83mqLbMfAqKP+PT 0b0PKUmQEopbsorIBLi2jo1nJC7AKKphG/5qibqGNT0wzz+NP5Asja2ZkI78cJojdUfI BqhA== X-Gm-Message-State: AOJu0Yzg/2uNctxZgblJMyKtEb748ZvlYACKTJMnE5Kxuw6bEe2zJTvK v2/Vog1ZlaoefXAweFUPzptu6Q== X-Google-Smtp-Source: AGHT+IG+5pBPGpfhRiQjipm0PUKoj/S0erQoDK+x+Adetl3oP5iuERhHtv3d5+mNQUvxQIkjUjcv/A== 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 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-media@vger.kernel.org X-LSpam-Score: -2.5 (--) X-LSpam-Report: No, score=-2.5 required=5.0 tests=BAYES_00=-1.9,DKIM_SIGNED=0.1,DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,HEADER_FROM_DIFFERENT_DOMAINS=0.5,MAILING_LIST_MULTI=-1 autolearn=ham autolearn_force=no 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,