Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1985734rbb; Tue, 27 Feb 2024 07:19:01 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXWSOOXPop89UIn9q8DHaaxP1xQFjgj5vylAOJA/wl/ofCGgtMkaJyZycqOBFxUiG1/MbBcK0+g7f62l6Xwj/Dx2/uTwdulH1Zz7ZtR2g== X-Google-Smtp-Source: AGHT+IEhQTOP8hqnrpEXXti0IZLHrIZlNc1RbxlA/D9wRY996EwYrnPrG8jfk7UaFcQBeySGQYQE X-Received: by 2002:a17:90a:9317:b0:299:3c25:4248 with SMTP id p23-20020a17090a931700b002993c254248mr8660147pjo.38.1709047141099; Tue, 27 Feb 2024 07:19:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709047141; cv=pass; d=google.com; s=arc-20160816; b=Hqk4F0G30wRQ2pT8Fg0MrVIm2xARfHgx9NgGtE2ax/cQTayzzuyKkz0y29B1l+kl/b 3FZfyi1/ExIWYK+BthZyLDLU9gLTBPGTKw/FMhuv378VLVk5ZRxFWvLYvyXxfM0Zz+iV jgMpQKVUumDPbvOhO593RNDRZoLPMHTz3EQFv1SeV7VCNrtzL3HwiyEeGoAiC52WuhFJ aK7C/9/E6yfOdcrfgXp655BwUBdvChB6Hcz5eppTnDp8OgpsgqNre2BGxySO30lr1Fhy EKem4XnOgH7q+1Zl1X0qWzk3M/nJ1c4ZO9wbYZFZ8MaUQ2CM5qN7ldErjGCTyMnwddMo sTuw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=9KotY222o/b+zG4JFnMehrQPIDESD06t7QB65RoOyrY=; fh=kipa1EWUxFz0G11S7osmNXJ8zzQbbFnhZ691d5yEP+Y=; b=UI+rrQoma19EnxE/OW6BNw2MI2ox4YRwwBQjvcWlZ+U8+ELm4vcxJoS4ANn+DeEqkv GQR8C9d+TDIN1pmeIBnM5KhF6kdItv5Be7UHYhjf6B5qEioCk4Si7KZcNJTmY5vcPyop SVkgkihkd+RD9FIUbNIB+rs46LrGynM46AluQsNBL885fU0NHKCL2cxYITsqhFfpKgsw 30wWG6MjFhm6dR2RAS11rCK6X/loLO6sRlViiVuQBjbf+F78sdeul1XO4SaOuLxGmTsG J+oUFTqJwcMtPtgQ9krJeFWT3nzE6Xr0GEHKHAWu/ivpP3/YGyGygJ/7TpWzGTiqzCiD 3tbg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=NbA7JDtq; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-83482-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83482-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id v17-20020a17090a899100b002955c8628ecsi7513070pjn.31.2024.02.27.07.19.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 07:19:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-83482-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=NbA7JDtq; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-83482-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83482-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 22365284829 for ; Tue, 27 Feb 2024 15:15:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E5CB21420DA; Tue, 27 Feb 2024 15:15:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="NbA7JDtq" Received: from mail-pg1-f179.google.com (mail-pg1-f179.google.com [209.85.215.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A29D231A66; Tue, 27 Feb 2024 15:15:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709046922; cv=none; b=h9R5qtrn8jucvOZ/+bPNToItvrXos1120iA9y5VeKL8tb9ZIyGYsED8lorNmbHkrs32mYbYEOi2Qkq6wICvfszEoMcSNOJzqLHrQL6MtDB85tHwH83Iw/fUdK6CMAkQxy4znvcnz6OSqzl+3c0ARgL63ih50luInd4zGoCtXycU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709046922; c=relaxed/simple; bh=nTpTux08+pm9Ctei9x7DzzD8A1zBDKvgVXhNbZ0Su9Y=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=ZGu4FNZzytjtHV4RaZHUFUQwRZZi/+eW065a9C1OO/ACdWdSe5WkcHKI32aCLp7/bV0fsNaiIoNcDahB6Q2McJELFT6lxC3VQLnw0KWZKCAfNL8QknrgGdE8eK2NIhFCMgdskpGcd/fqDHelW1qIoCjHQP5jSScYOMQX89rKHPE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=NbA7JDtq; arc=none smtp.client-ip=209.85.215.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pg1-f179.google.com with SMTP id 41be03b00d2f7-5ce942efda5so3471284a12.2; Tue, 27 Feb 2024 07:15:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709046920; x=1709651720; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=9KotY222o/b+zG4JFnMehrQPIDESD06t7QB65RoOyrY=; b=NbA7JDtqFGK0m5v0yuURR/44SwHCxmfETOjWYIkGEWO47b34wMx1qFjCGWLMfk80Zv VV6n62awBKskCa86Jfnzy9d5XbH+jV72Pdw7gs+SN5Hn9xvKyb39VHtUQMcYqHYMOBq+ k4d/VWffzucIT2bNjZBkTzBFPi7POb7FU+kTPWQpalSp7nmqWMbLSkuFsKOizYD+uOWQ a67IoriPZj1HoRkrbVBNexd9rgnKo5NbKc/OevCWZEPwUxvUExUAnM20Rgzt42awxtvS ZXrTTVnTalLEDqRM7aJbPL4I8nHC/cGaPUHwNtYsE+Mf7b3MhbWnZa8JaOfpZZiYjHXp mC4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709046920; x=1709651720; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=9KotY222o/b+zG4JFnMehrQPIDESD06t7QB65RoOyrY=; b=grRSScRPQPR6qFU9c3wqpJeTN1kseDzRUujua9FR7haay3kaAIsP4e4+aao+2IhgpJ Wzv2eCOIxXTHTWpco7zQllrqb+Kwv9cmGTNNljOch4J0GSlIt9PoeQRPcuV8ShhabQWg 5WmCpcIrAhiz97Oi0/xQxSSHipjQNFTSrIht/0sdZl0u1A7xl54uW2uiW5vl3VxYvWpZ JWSzTkbkwR6jNclgRdKpTyogwMwIkrffDvyaLs3+kfJd2rqq7qOGGBM7Z47TbvnBNgcs Xa63OCf/ks9EQ2V/JP/d7morbETDI3EWqIlrOZu3tj2ivKGH8LaejG5bQz8bVBtA3QqL F1MQ== X-Forwarded-Encrypted: i=1; AJvYcCU3/TG5lhAWB1fLcOJPDjnqOeEJDqFd4MGZjzsUSyfAp4V+EA8GbZ8latopjH0ftS2j1ar2+78uBgCPtPhnQynZMjDwo7JOTd3bVdLu46vpc02YiC75thlfuqVrgpvAAsJOaxR7wZl5eh/MqyUh+h+1BY6iyRyu04kBjS/S2t55Kt+BV035fQZVpGH3 X-Gm-Message-State: AOJu0YzS8k6LkQiqDRsaZzIXjmtRrURZ21eVRO+JbZyFqCTp8pYddxu1 P0rTDwPq+CQH9xu22Xj649YeloniYUktNIoRMgvFpRQ2m/Oa40CnSdLrOvDAZL7hDW0Bokg72+j VklmHarKaeJQE4DCHNONzdCXx5IU= X-Received: by 2002:a17:90a:9317:b0:299:3c25:4248 with SMTP id p23-20020a17090a931700b002993c254248mr8646073pjo.38.1709046919772; Tue, 27 Feb 2024 07:15:19 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240227034539.193573-1-aford173@gmail.com> <20240227034539.193573-5-aford173@gmail.com> In-Reply-To: From: Adam Ford Date: Tue, 27 Feb 2024 09:15:08 -0600 Message-ID: Subject: Re: [PATCH 4/6] arm64: dts: renesas: r8a77951: Enable GPU To: Geert Uytterhoeven Cc: dri-devel@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org, aford@beaconembedded.com, Frank Binns , Matt Coster , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Geert Uytterhoeven , Magnus Damm , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Feb 27, 2024 at 2:11=E2=80=AFAM Geert Uytterhoeven wrote: > > Hi Adam, > > Thanks for your patch! > > On Tue, Feb 27, 2024 at 4:46=E2=80=AFAM Adam Ford wr= ote: > > The GPU on the R-Car H3 is a Rogue GX6650 which uses firmware > > rogue_4.46.6.61_v1.fw available from Imagination. > > s/61/62/ > > > > > When enumerated, it appears as: > > powervr fd000000.gpu: [drm] loaded firmware powervr/rogue_4.46.6.62_v1.= fw > > powervr fd000000.gpu: [drm] FW version v1.0 (build 6513336 OS) > > Do you have a different build number? I don't actually have this board. I just copy-pasted what I thought it was. If you have build number that's more appropriate, I can use that in the future. adam > > On Salvator-XS with R-Car H3 ES2.0: > > powervr fd000000.gpu: [drm] loaded firmware powervr/rogue_4.46.6.62_v= 1.fw > powervr fd000000.gpu: [drm] FW version v1.0 (build 6538781 OS) > [drm] Initialized powervr 1.0.0 20230904 for fd000000.gpu on minor 1 > > > > > Signed-off-by: Adam Ford > > Tested-by: Geert Uytterhoeven > > > --- a/arch/arm64/boot/dts/renesas/r8a77951.dtsi > > +++ b/arch/arm64/boot/dts/renesas/r8a77951.dtsi > > @@ -2771,6 +2771,16 @@ gic: interrupt-controller@f1010000 { > > resets =3D <&cpg 408>; > > }; > > > > + gpu: gpu@fd000000 { > > + compatible =3D "renesas,r8a77951-gpu", "img,img= -axe"; > > renesas,r8a7795-gpu > > > + reg =3D <0 0xfd000000 0 0x20000>; > > + clocks =3D <&cpg CPG_MOD 112>; > > + clock-names =3D "core"; > > + interrupts =3D ; > > + power-domains =3D <&sysc R8A7795_PD_3DG_E>; > > + resets =3D <&cpg 112>; > > + }; > > + > > pciec0: pcie@fe000000 { > > compatible =3D "renesas,pcie-r8a7795", > > "renesas,pcie-rcar-gen3"; > > Gr{oetje,eeting}s, > > Geert > > -- > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m6= 8k.org > > In personal conversations with technical people, I call myself a hacker. = But > when I'm talking to journalists I just say "programmer" or something like= that. > -- Linus Torvalds