mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Nicolas Frattaroli <nicolas.frattaroli@collabora.com>
To: Boris Brezillon <boris.brezillon@collabora.com>,
	 Steven Price <steven.price@arm.com>,
	Liviu Dudau <liviu.dudau@arm.com>,
	 Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
	 Maxime Ripard <mripard@kernel.org>,
	Thomas Zimmermann <tzimmermann@suse.de>,
	 David Airlie <airlied@gmail.com>,
	Simona Vetter <simona@ffwll.ch>,  Chia-I Wu <olvaffe@gmail.com>,
	Karunika Choo <karunika.choo@arm.com>
Cc: kernel@collabora.com, linux-kernel@vger.kernel.org,
	 dri-devel@lists.freedesktop.org,
	 Nicolas Frattaroli <nicolas.frattaroli@collabora.com>
Subject: [PATCH v2 2/4] drm/panthor: Add SHADER_PWRFEATURES register definition
Date: Wed, 10 Dec 2025 15:30:38 +0100	[thread overview]
Message-ID: <20251210-panthor-tracepoints-v2-2-ace2e29bad0f@collabora.com> (raw)
In-Reply-To: <20251210-panthor-tracepoints-v2-0-ace2e29bad0f@collabora.com>

Available starting with Mali v12, the SHADER_PWRFEATURES register is a
32-bit register that contains a single bit so far. This bit flag
indicates whether the RT cores should be powered up or not.

The name "SHADER_PWRFEATURES" (as opposed to "SHADER_POWER_FEATURES") is
taken directly from official hardware documentation.

Signed-off-by: Nicolas Frattaroli <nicolas.frattaroli@collabora.com>
---
 drivers/gpu/drm/panthor/panthor_regs.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/panthor/panthor_regs.h b/drivers/gpu/drm/panthor/panthor_regs.h
index 08bf06c452d6..4c79cec8dc21 100644
--- a/drivers/gpu/drm/panthor/panthor_regs.h
+++ b/drivers/gpu/drm/panthor/panthor_regs.h
@@ -96,6 +96,8 @@
 #define L2_READY					0x160
 
 #define SHADER_PWRON					0x180
+#define SHADER_PWRFEATURES				0x188
+#define   SHADER_PWRFEATURES_RT				BIT(0)
 #define TILER_PWRON					0x190
 #define L2_PWRON					0x1A0
 

-- 
2.52.0


  parent reply	other threads:[~2025-12-10 14:31 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-10 14:30 [PATCH v2 0/4] Add a few tracepoints to panthor Nicolas Frattaroli
2025-12-10 14:30 ` [PATCH v2 1/4] drm/panthor: Add panthor_*_irq_mask_set helper Nicolas Frattaroli
2025-12-10 15:55   ` Steven Price
2025-12-10 14:30 ` Nicolas Frattaroli [this message]
2025-12-10 14:30 ` [PATCH v2 3/4] drm/panthor: Add tracepoint for hardware utilisation changes Nicolas Frattaroli
2025-12-10 15:57   ` Steven Price
2025-12-10 16:27     ` Nicolas Frattaroli
2025-12-10 16:44       ` Steven Price
2025-12-10 14:30 ` [PATCH v2 4/4] drm/panthor: Add gpu_job_irq tracepoint Nicolas Frattaroli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251210-panthor-tracepoints-v2-2-ace2e29bad0f@collabora.com \
    --to=nicolas.frattaroli@collabora.com \
    --cc=airlied@gmail.com \
    --cc=boris.brezillon@collabora.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=karunika.choo@arm.com \
    --cc=kernel@collabora.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=liviu.dudau@arm.com \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mripard@kernel.org \
    --cc=olvaffe@gmail.com \
    --cc=simona@ffwll.ch \
    --cc=steven.price@arm.com \
    --cc=tzimmermann@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®