From patchwork Tue Aug 6 21:44:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Acayan X-Patchwork-Id: 13755353 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 670EEC49EA1 for ; Tue, 6 Aug 2024 21:45:18 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 30EB310E415; Tue, 6 Aug 2024 21:45:13 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Mf+9tW7G"; dkim-atps=neutral Received: from mail-vk1-f170.google.com (mail-vk1-f170.google.com [209.85.221.170]) by gabe.freedesktop.org (Postfix) with ESMTPS id C6EC610E40C; Tue, 6 Aug 2024 21:45:11 +0000 (UTC) Received: by mail-vk1-f170.google.com with SMTP id 71dfb90a1353d-4f50dd3eab9so404429e0c.1; Tue, 06 Aug 2024 14:45:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722980711; x=1723585511; darn=lists.freedesktop.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=rG6C2q34NWeKgA7Rpje8FNPGJXT/EfHsIqSMnZCRL2s=; b=Mf+9tW7GZMQSqd1JPglMWmTPGbeJMq7VeHmxqWYjB590+XF7iJ2nw+ZBhiNqOdMAke AkDvC4RnWZo+3h5BLdIDvUUV+a4RCytSkKQsK2m3jWVOoIrx6l/MX1S52BZvIN2WQiNp whcQKL4vNGXtlV3Kz2A5S9WvvCZ+cpmPTZF7JrwLT2KYDYJQSphx7Ko1m2s7fi3/xTwR 3QIlnxe6AyzHe2Y4esiDX3eB5Zz/NYQzbfG76ryRheOEqYdrBpHpAGpzwQP5e7Upvf2/ 60W+riBM+55hpMQwd08ohiR5pnp/n9a0wg1Hwsro9WugcGCDNd5imwP6qyt0dDb5t50j Q1aA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722980711; x=1723585511; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rG6C2q34NWeKgA7Rpje8FNPGJXT/EfHsIqSMnZCRL2s=; b=miodbMvIfYb+DMdTCA4xHoor/YR3VVfj9XMpXcqc/vNF5cnQz0HsusMl2xgPRtdoW6 PXk1G+a8c5NZYIDeRnl9rJ7Bi+41KN7sCFjIPxXxx7GRYZ8vXAwm5Hkhe70rgMXtwOjw 634/Y1bWxGQ7igsFJ3ZvRbbHFwi08TYT/0Wq+PFaxiV/9GdSM/djA96I5ZKOZPJDi6G1 9uGg3jyXdWN+9sJrE8B4wnFg3V/wXBRPz49OoCWIuJLsNDaenshS4mv9fC0gZ+bdxBiZ A/DG+tjDjX9BKs1reQKpCtOQkGiKRVF1zz3IPZWvklpdfwWgc47VA3MWedrk4jy7bv45 p7Yw== X-Forwarded-Encrypted: i=1; AJvYcCW8ycc37M2vp0lzM3KBlnugPfMQfRwBu1V2ZNjQnANbobMpeS1iIlgJcxJWDYnVA46F1eNvLiuzRV3l@lists.freedesktop.org, AJvYcCWI94YawV18XoZeGHmrvfydFBtOu4KGz8FPR/3eYbDVM+IQjZrobqKnMjLmN8jntENrmdR/S2aT7IQ=@lists.freedesktop.org X-Gm-Message-State: AOJu0YyoikxLlnbhf+QI0T9CH2DdsGl2W+0Z52kLEgupVoWgElCT5UKq uupGZImCumlq+Og6VKw9RO6Y8ZOpTQWixFq5+t2NVWyOWjQ+C4F/ X-Google-Smtp-Source: AGHT+IH/Dpe/wIyv8ocAPkGI7uZGGC4gjw5oaxM1OgPkTR3suXR/XYthhC4ZWU5segmKMX73hvgZxQ== X-Received: by 2002:a05:6122:4584:b0:4eb:5cb9:f219 with SMTP id 71dfb90a1353d-4f89fe84d6fmr20318387e0c.0.1722980710619; Tue, 06 Aug 2024 14:45:10 -0700 (PDT) Received: from localhost ([2607:fea8:52a3:d200:324c:b818:b179:79b]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7a34f796911sm487104385a.131.2024.08.06.14.45.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Aug 2024 14:45:10 -0700 (PDT) From: Richard Acayan To: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Richard Acayan Subject: [PATCH v2 4/4] arm64: dts: qcom: sdm670-google-sargo: enable gpu Date: Tue, 6 Aug 2024 17:44:58 -0400 Message-ID: <20240806214452.16406-11-mailingradian@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240806214452.16406-7-mailingradian@gmail.com> References: <20240806214452.16406-7-mailingradian@gmail.com> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Enable the A615 GPU and GMU for the Pixel 3a. It has zap firmware, so add that in as well. Signed-off-by: Richard Acayan --- arch/arm64/boot/dts/qcom/sdm670-google-sargo.dts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm670-google-sargo.dts b/arch/arm64/boot/dts/qcom/sdm670-google-sargo.dts index 176b0119fe6d..465aedf32d56 100644 --- a/arch/arm64/boot/dts/qcom/sdm670-google-sargo.dts +++ b/arch/arm64/boot/dts/qcom/sdm670-google-sargo.dts @@ -407,6 +407,15 @@ &gpi_dma1 { status = "okay"; }; +&gpu { + status = "okay"; + + zap-shader { + memory-region = <&gpu_mem>; + firmware-name = "qcom/sdm670/sargo/a615_zap.mbn"; + }; +}; + &i2c9 { clock-frequency = <100000>; status = "okay";