From: Karunika Choo <karunika.choo@arm.com>
To: dri-devel@lists.freedesktop.org
Cc: nd@arm.com, 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>,
linux-kernel@vger.kernel.org
Subject: [PATCH v4 0/2] drm/panthor: Add 64-bit register accessors
Date: Thu, 17 Apr 2025 13:37:23 +0100 [thread overview]
Message-ID: <20250417123725.2733201-1-karunika.choo@arm.com> (raw)
Hi all,
This patch series adds support for 64-bit and poll register accessors in
the Panthor DRM driver and performs a cleanup of the 64-bit register
definitions.
The first patch introduces new accessor functions to simplify and
standardize 64-bit and polling register operations. The second patch
refactors the existing 64-bit register definitions for improved clarity
and consistency.
v4:
- [PATCH 1/2]:
- Fixed missing check against mask value in PWRTRANS register polling.
- Removed panthor_gpu_read_timestamp() and
panthor_gpu_read_timestamp_offset() in favour of direct register
access as they currently only serve as wrapper functions.
- [PATCH 2/2]:
- Updated the register names inline with the removal of the two
timestamp functions.
- Picked up Rb tags from Liviu and Steven
- Link to v3: https://lore.kernel.org/dri-devel/20250411164805.2015088-1-karunika.choo@arm.com/
v3:
- Picked up Rb tags from Boris.
- Link to v2: https://lore.kernel.org/dri-devel/20250411151140.1815435-1-karunika.choo@arm.com/
v2:
- Updated padding of the poll functions as requested
- Removed *_HI register definitions and renamed *_LO registers
- Link to v1: https://lore.kernel.org/dri-devel/20250410163546.919749-1-karunika.choo@arm.com/
Kind regards,
Karunika Choo
Karunika Choo (2):
drm/panthor: Add 64-bit and poll register accessors
drm/panthor: Clean up 64-bit register definitions
drivers/gpu/drm/panthor/panthor_device.h | 71 ++++++++++
drivers/gpu/drm/panthor/panthor_drv.c | 4 +-
drivers/gpu/drm/panthor/panthor_fw.c | 9 +-
drivers/gpu/drm/panthor/panthor_gpu.c | 159 +++++------------------
drivers/gpu/drm/panthor/panthor_gpu.h | 12 +-
drivers/gpu/drm/panthor/panthor_mmu.c | 34 ++---
drivers/gpu/drm/panthor/panthor_regs.h | 100 +++++---------
7 files changed, 162 insertions(+), 227 deletions(-)
--
2.47.1
next reply other threads:[~2025-04-17 12:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-17 12:37 Karunika Choo [this message]
2025-04-17 12:37 ` [PATCH v4 1/2] drm/panthor: Add 64-bit and poll " Karunika Choo
2025-04-17 12:37 ` [PATCH v4 2/2] drm/panthor: Clean up 64-bit register definitions Karunika Choo
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=20250417123725.2733201-1-karunika.choo@arm.com \
--to=karunika.choo@arm.com \
--cc=airlied@gmail.com \
--cc=boris.brezillon@collabora.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=liviu.dudau@arm.com \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=nd@arm.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®