[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250730-drm-tidss-field-api-v1-0-a71ae8dd2782@kernel.org>
Date: Wed, 30 Jul 2025 10:57:00 +0200
From: Maxime Ripard <mripard@...nel.org>
To: Jyri Sarha <jyri.sarha@....fi>,
Tomi Valkeinen <tomi.valkeinen@...asonboard.com>,
Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
Thomas Zimmermann <tzimmermann@...e.de>, David Airlie <airlied@...il.com>,
Simona Vetter <simona@...ll.ch>
Cc: dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
Maxime Ripard <mripard@...nel.org>
Subject: [PATCH 00/14] drm/tidss: dispc: Convert to FIELD_* API
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.
Let me know what you think,
Maxime
Signed-off-by: Maxime Ripard <mripard@...nel.org>
---
Maxime Ripard (14):
drm/tidss: dispc: Remove unused OVR_REG_GET
drm/tidss: dispc: Switch to GENMASK instead of FLD_MASK
drm/tidss: dispc: Switch to FIELD_PREP for FLD_VAL
drm/tidss: dispc: Get rid of FLD_GET
drm/tidss: dispc: Get rid of FLD_VAL
drm/tidss: dispc: Switch FLD_MOD to using a mask
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 | 249 +++++++++++++++----------------
drivers/gpu/drm/tidss/tidss_dispc_regs.h | 76 ++++++++++
2 files changed, 200 insertions(+), 125 deletions(-)
---
base-commit: fbb0210d25fde20027f86a6ca9eee75630b5ac2b
change-id: 20250729-drm-tidss-field-api-382947a92d44
Best regards,
--
Maxime Ripard <mripard@...nel.org>
Powered by blists - more mailing lists