From: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
To: Maxime Ripard <mripard@kernel.org>,
Jyri Sarha <jyri.sarha@iki.fi>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Thomas Zimmermann <tzimmermann@suse.de>,
David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>
Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 00/14] drm/tidss: dispc: Convert to FIELD_* API
Date: Mon, 1 Sep 2025 10:42:27 +0300 [thread overview]
Message-ID: <9d587099-9212-4107-83cb-be52f3bfe1f7@ideasonboard.com> (raw)
In-Reply-To: <20250827-drm-tidss-field-api-v3-0-7689b664cc63@kernel.org>
Hi Maxime,
On 27/08/2025 18:12, Maxime Ripard wrote:
> Hi,
>
> The tidss driver rolls its own API equivalent to the FIELD_* API already
> provided the kernel.
>
> Since it's an ad-hoc implementation, it also is less convenient and
> doesn't provide some useful features like being able to share the field
> definitions that will come handy in the future.
>
> Thus, this series converts the driver to that API and drops its own
> version.
This looks good. I'll push to drm-misc-next.
Tomi
>
> Let me know what you think,
> Maxime
>
> Signed-off-by: Maxime Ripard <mripard@kernel.org>
> ---
> Changes in v3:
> - Rebase on top of latest linux-next, fix merge conflicts
> - Link to v2: https://lore.kernel.org/r/20250820-drm-tidss-field-api-v2-0-43cab671c648@kernel.org
>
> Changes in v2:
> - Switch to macros to prevent a gcc error
> - Link to v1: https://lore.kernel.org/r/20250730-drm-tidss-field-api-v1-0-a71ae8dd2782@kernel.org
>
> ---
> Maxime Ripard (14):
> drm/tidss: dispc: Remove unused OVR_REG_GET
> drm/tidss: dispc: Convert accessors to macros
> drm/tidss: dispc: Switch to GENMASK instead of FLD_MASK
> drm/tidss: dispc: Get rid of FLD_VAL
> drm/tidss: dispc: Get rid of FLD_GET
> drm/tidss: dispc: Get rid of FLD_MOD
> drm/tidss: dispc: Switch REG_GET to using a mask
> drm/tidss: dispc: Switch REG_FLD_MOD to using a mask
> drm/tidss: dispc: Switch VID_REG_GET to using a mask
> drm/tidss: dispc: Switch VID_REG_FLD_MOD to using a mask
> drm/tidss: dispc: Switch VP_REG_GET to using a mask
> drm/tidss: dispc: Switch VP_REG_FLD_MOD to using a mask
> drm/tidss: dispc: Switch OVR_REG_FLD_MOD to using a mask
> drm/tidss: dispc: Define field masks being used
>
> drivers/gpu/drm/tidss/tidss_dispc.c | 297 ++++++++++++++++---------------
> drivers/gpu/drm/tidss/tidss_dispc_regs.h | 76 ++++++++
> 2 files changed, 225 insertions(+), 148 deletions(-)
> ---
> base-commit: a6d3da9a268e3d0a20b76fb40fd3484fe219ff17
> change-id: 20250729-drm-tidss-field-api-382947a92d44
>
> Best regards,
prev parent reply other threads:[~2025-09-01 7:42 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-27 15:12 Maxime Ripard
2025-08-27 15:12 ` [PATCH v3 01/14] drm/tidss: dispc: Remove unused OVR_REG_GET Maxime Ripard
2025-08-27 15:12 ` [PATCH v3 02/14] drm/tidss: dispc: Convert accessors to macros Maxime Ripard
2025-08-27 15:12 ` [PATCH v3 03/14] drm/tidss: dispc: Switch to GENMASK instead of FLD_MASK Maxime Ripard
2025-08-27 15:12 ` [PATCH v3 04/14] drm/tidss: dispc: Get rid of FLD_VAL Maxime Ripard
2025-08-27 15:12 ` [PATCH v3 05/14] drm/tidss: dispc: Get rid of FLD_GET Maxime Ripard
2025-08-27 15:12 ` [PATCH v3 06/14] drm/tidss: dispc: Get rid of FLD_MOD Maxime Ripard
2025-08-27 15:12 ` [PATCH v3 07/14] drm/tidss: dispc: Switch REG_GET to using a mask Maxime Ripard
2025-08-27 15:12 ` [PATCH v3 08/14] drm/tidss: dispc: Switch REG_FLD_MOD " Maxime Ripard
2025-08-27 15:12 ` [PATCH v3 09/14] drm/tidss: dispc: Switch VID_REG_GET " Maxime Ripard
2025-08-27 15:12 ` [PATCH v3 10/14] drm/tidss: dispc: Switch VID_REG_FLD_MOD " Maxime Ripard
2025-08-27 15:12 ` [PATCH v3 11/14] drm/tidss: dispc: Switch VP_REG_GET " Maxime Ripard
2025-08-27 15:12 ` [PATCH v3 12/14] drm/tidss: dispc: Switch VP_REG_FLD_MOD " Maxime Ripard
2025-08-27 15:12 ` [PATCH v3 13/14] drm/tidss: dispc: Switch OVR_REG_FLD_MOD " Maxime Ripard
2025-08-27 15:12 ` [PATCH v3 14/14] drm/tidss: dispc: Define field masks being used Maxime Ripard
2025-09-01 7:42 ` Tomi Valkeinen [this message]
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=9d587099-9212-4107-83cb-be52f3bfe1f7@ideasonboard.com \
--to=tomi.valkeinen@ideasonboard.com \
--cc=airlied@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=jyri.sarha@iki.fi \
--cc=linux-kernel@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=simona@ffwll.ch \
--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®