Message ID | 20240227034539.193573-6-aford173@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-82664-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp2474733dyb; Mon, 26 Feb 2024 19:48:18 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWP1dPPIMgAYM23opg01Iq1pQMu4NFJ4VKCSJzI3Gf25yLAiovV97zbICUTQ/+9Ap5M87ZUZsiow8m/HiCNRm8xYtU2rA== X-Google-Smtp-Source: AGHT+IF8s6FJ6tGiQoo9TTZwxUP3pjQZI8V/171+1sXv8cD4v2IotXWSYvyvNc8727c0hR1XQMdU X-Received: by 2002:a05:6358:5e04:b0:179:f2:daa4 with SMTP id q4-20020a0563585e0400b0017900f2daa4mr8279923rwn.24.1709005698373; Mon, 26 Feb 2024 19:48:18 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709005698; cv=pass; d=google.com; s=arc-20160816; b=uPfeIOwGG+EO0d2SbASny5ZVhamTKSK0kOFQ+46XfEkyRCT3sJw7/BitkvlYjd+HO1 xFFtZdnn+36Cj77eoVbbKQcA147UgI9enP6cFLqh4adueOLVUWemU1MRqgvbFy74lNa5 +c5Q6eNovp0alYN7Zz4wyHW9WD2wMYoWaTnyBqNUWkeS+5fX8qZcRTD22GyH09E/cK8Z Yk7qA0uP66Y0gOzkyOsrU6XkTvDafEkQi/vW4UT2I5H5Ky5WNzZYyCOOzcL12ZeljJ9I AbRsqiLrvc0/aqpmSaYErgeh44W7I++yeF/XO7+7YQ1nS9N2s31hyqQZvjCiI9pb+2Qi H+Gg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=3StZ/L4nuFpFQDzbrXKyCvxa0NGv/xoSnCZP+Jf5BgY=; fh=JpcEIjOYMxMdwEAFw9Dir8DiuKCVuNMNrIb9xCf0NI4=; b=drv0alFwEJ1g3ksSxjCdk8Z0SH8irH9bi8PiETLqLod3mbSLN26ijlUJihTBcmgbva oE6nzr/Tiqlxb3bHAFJdDJL3eYDiMmUr2wzJb6oq1dAWB8WQ3utWsrZHzflOoMLIZiNC xJIXJ0gNI23MfTT8Fg5h1rDe5F9pk+FaO6Lb+coUnDqcWixHa/SQQKI5Q2WaibC+QozU yibf0GqMPtbAVuPKXb+6jQHxxiITYFaUg8bQTSOziK9xEMKmkCBzVVKUE8goihd9SbLN 5su/lL/DD86m1kaB1X+wlBkIRvwlVVUHG1/RenUgOTWa4tkVz2xfdQACe8BpolLuvewg tJPw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=PjdHLj94; 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-82664-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82664-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id g6-20020a636b06000000b005ceb5338d74si4662867pgc.510.2024.02.26.19.48.17 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 19:48:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-82664-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=PjdHLj94; 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-82664-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82664-ouuuleilei=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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 79BB3B23C67 for <ouuuleilei@gmail.com>; Tue, 27 Feb 2024 03:47:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C535550A83; Tue, 27 Feb 2024 03:46:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="PjdHLj94" Received: from mail-io1-f48.google.com (mail-io1-f48.google.com [209.85.166.48]) (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 963C64EB5C; Tue, 27 Feb 2024 03:46:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709005568; cv=none; b=h9OQuv88c1UkrHbW7pO4qf82vdkoghV7OmKZqkbpdBvbhqLAmQZ00ojTNuUU3+WiuO1s4lzSexwe/FOc35qx9KzWP2T6Y5QNy4P4idq0dE04BEOJkDkVNgRlW96vJ2m1WUy5ZbmzzMGrXBW9ao66ICU2uQt5kyVnAZAn3VZDK6w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709005568; c=relaxed/simple; bh=4M7fRzFAX7nsSVTFE3AoHpe9tjXohZEDZe/P1TQ0vy4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=OzVCG31gwuDkxwHJ+Sl2HjzSDVXh3tUTf2M/IsX6hA8+/okdeldla3e4hBVOQeu3+cRjsMiBhhn9g/PdGk1cagYyabfuu+Ij4mhAD41OYeJt7jD7ECJQr+YVvBtmDhX6kaQnSdCASUthXA2jKHH12rUN0bteiqFcRTSxpHzDCrY= 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=PjdHLj94; arc=none smtp.client-ip=209.85.166.48 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-io1-f48.google.com with SMTP id ca18e2360f4ac-7c794deb6cdso176570539f.0; Mon, 26 Feb 2024 19:46:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709005565; x=1709610365; darn=vger.kernel.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=3StZ/L4nuFpFQDzbrXKyCvxa0NGv/xoSnCZP+Jf5BgY=; b=PjdHLj94bBv71SFx7xihotRWoHh/3G8tQ89oXfVmNt5r/+nFYozZVcjXFfHj20ep3T nZ1om7r3YiujMly1cHXCzALM1UZmgD764sOrDwjQiAkNTqm3XLAxsRVzSN4iA+9FHy4u Y8pM25V5rJy5vyp7oEwGcZuWjMlKHGtYZXWjczrChtFfCQm60OS2aPMKMD/xtwMW0RDn 6zkdiK1aLAVWwUyzkoX3xPujc8Zbrz9fxJlBPRfqpGZdJBKVw/BXWXWywpJiPfkEN1m+ 4noo+729mRhjquWUl27BIUn+ARCFd0pgZMbn5yappyE06oUIYzAacpcqb13wyqOPlqN2 lpAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709005565; x=1709610365; 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=3StZ/L4nuFpFQDzbrXKyCvxa0NGv/xoSnCZP+Jf5BgY=; b=TMxxSHzURdacmVCbFk9oq9eCmIYAwe/gcGOagKIX343hqZgS4KndlDxhxmRBK8NBVc CrclnUhKATcd++h3rAOy0sgpgocRGBjVNt5woFtAtn5bFfT2eIvQl1KcKuk2LxV1DETS cgQFMKhIzuUekDTkMqaQrfsJxc1SzzIAzzRp10TUne9X80siT2GIz1O9swVZjrV011xy 5j63S6rwxFSWZMqrZk+9Ho7dHYMtB9rYqjxyci/ARKFQdj6EKDoJxVdivMM53bfM5kXU hSaKvwRAneaU1CwJtEdjMOej7gukSS0gtQSdu65ZUhmDAyPl3nVtD7bMsz2fl3rZ9FVZ DwRw== X-Forwarded-Encrypted: i=1; AJvYcCWGOPtbE4ukDA0n1x9LoZAuZLSVi0qcqdn4oxGgIwdXkSCjcuA81blQAXMmWBGW1Nei08KeF15cmH81jCs6GyBO/BqX/3N5ocLo9itTG+hENxDu641ZbcgcgwFY9PbVn5NRNWh9wkveolod4YOWW2asnosjK6aRWojf/sbejwrfGWbFP+HYcptKmCl+ X-Gm-Message-State: AOJu0YwyMrmrb45Smh2oFAYZ2KXFHKAQHLEv89NQ6DlFl9kRjve5tU/Z OyISWZnUfjKJb/iSvTBef6vhIJ0qOWhEwcdS6k0ehhUcPboKac/0 X-Received: by 2002:a92:4a03:0:b0:363:b95a:b55a with SMTP id m3-20020a924a03000000b00363b95ab55amr10583339ilf.16.1709005565596; Mon, 26 Feb 2024 19:46:05 -0800 (PST) Received: from aford-System-Version.lan ([2601:447:d002:5be:1712:c48b:aaa0:cd8b]) by smtp.gmail.com with ESMTPSA id w4-20020a92ad04000000b00362b4d251a5sm1891566ilh.25.2024.02.26.19.46.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 19:46:05 -0800 (PST) From: Adam Ford <aford173@gmail.com> To: dri-devel@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org Cc: aford@beaconembedded.com, Adam Ford <aford173@gmail.com>, Frank Binns <frank.binns@imgtec.com>, Matt Coster <matt.coster@imgtec.com>, Maarten Lankhorst <maarten.lankhorst@linux.intel.com>, Maxime Ripard <mripard@kernel.org>, Thomas Zimmermann <tzimmermann@suse.de>, David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Geert Uytterhoeven <geert+renesas@glider.be>, Magnus Damm <magnus.damm@gmail.com>, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 5/6] arm64: dts: renesas: r8a77960: Enable GPU Date: Mon, 26 Feb 2024 21:45:35 -0600 Message-ID: <20240227034539.193573-6-aford173@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240227034539.193573-1-aford173@gmail.com> References: <20240227034539.193573-1-aford173@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792022359282407965 X-GMAIL-MSGID: 1792022359282407965 |
Series |
gpu: powervr-rogue: Add PowerVR support for some Renesas devices
|
|
Commit Message
Adam Ford
Feb. 27, 2024, 3:45 a.m. UTC
The GPU on the R-Car M3-W is a Rogue GX6250 which uses firmware
rogue_4.45.2.58_v1.fw available from Imagination.
When enumerated, it appears as:
powervr fd000000.gpu: [drm] loaded firmware powervr/rogue_4.45.2.58_v1.fw
powervr fd000000.gpu: [drm] FW version v1.0 (build 6513336 OS)
Signed-off-by: Adam Ford <aford173@gmail.com>
Comments
On Tue, Feb 27, 2024 at 4:46 AM Adam Ford <aford173@gmail.com> wrote: > The GPU on the R-Car M3-W is a Rogue GX6250 which uses firmware > rogue_4.45.2.58_v1.fw available from Imagination. > > When enumerated, it appears as: > powervr fd000000.gpu: [drm] loaded firmware powervr/rogue_4.45.2.58_v1.fw > powervr fd000000.gpu: [drm] FW version v1.0 (build 6513336 OS) > > Signed-off-by: Adam Ford <aford173@gmail.com> On Salvator-X with R-Car M3-W ES1.0: powervr fd000000.gpu: [drm] loaded firmware powervr/rogue_4.45.2.58_v1.fw powervr fd000000.gpu: [drm] FW version v1.0 (build 6513336 OS) [drm] Initialized powervr 1.0.0 20230904 for fd000000.gpu on minor 1 Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Tested-by: Geert Uytterhoeven <geert+renesas@glider.be> Gr{oetje,eeting}s, Geert
diff --git a/arch/arm64/boot/dts/renesas/r8a77960.dtsi b/arch/arm64/boot/dts/renesas/r8a77960.dtsi index 7846fea8e40d..0f17bc3f2d9a 100644 --- a/arch/arm64/boot/dts/renesas/r8a77960.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a77960.dtsi @@ -2558,6 +2558,16 @@ gic: interrupt-controller@f1010000 { resets = <&cpg 408>; }; + gpu: gpu@fd000000 { + compatible = "renesas,r8a77960-gpu", "img,img-axe"; + reg = <0 0xfd000000 0 0x20000>; + clocks = <&cpg CPG_MOD 112>; + clock-names = "core"; + interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>; + power-domains = <&sysc R8A7796_PD_3DG_B>; + resets = <&cpg 112>; + }; + pciec0: pcie@fe000000 { compatible = "renesas,pcie-r8a7796", "renesas,pcie-rcar-gen3";