From: sashiko-bot@kernel.org
To: "Diogo Silva" <diogompaissilva@gmail.com>
Cc: linux-amlogic@lists.infradead.org, Frank.Li@kernel.org,
neil.armstrong@linaro.org, wsa+renesas@sang-engineering.com,
dri-devel@lists.freedesktop.org, imx@lists.linux.dev
Subject: Re: [PATCH v2 15/15] Documentation/gpu: remove completed drm_simple_encoder_init() todo
Date: Mon, 20 Jul 2026 16:07:25 +0000 [thread overview]
Message-ID: <20260720160725.F26491F00A3A@smtp.kernel.org> (raw)
In-Reply-To: <20260720-drm_simple_encoder_init-v2-15-5020b630668a@gmail.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] Incomplete refactoring causes build failure in the gma500 driver due to unconverted usages of `drm_simple_encoder_init()`.
--
--- Patch [15]: [PATCH v2 15/15] Documentation/gpu: remove completed drm_simple_encoder_init() todo ---
commit ecefbc42ff1cbd0e228a1785c066cd3cab8deafc
Author: Diogo Silva <diogompaissilva@gmail.com>
Documentation/gpu: remove completed drm_simple_encoder_init() todo
All drm_simple_encoder_init() users have been removed, so drop the
completed todo item.
> diff --git a/Documentation/gpu/todo.rst b/Documentation/gpu/todo.rst
> index 14cf37590fc7e..b7351467dc74c 100644
> --- a/Documentation/gpu/todo.rst
> +++ b/Documentation/gpu/todo.rst
> @@ -29,21 +29,6 @@ refactorings already and are an expert in the specific area
> Subsystem-wide refactorings
> ===========================
>
> -Open-code drm_simple_encoder_init()
> ------------------------------------
> -
> -The helper drm_simple_encoder_init() was supposed to simplify encoder
> -initialization. Instead it only added an intermediate layer between atomic
> -modesetting and the DRM driver.
> -
> -The task here is to remove drm_simple_encoder_init(). Search for a driver
[Severity: Low]
Are there still remaining users of drm_simple_encoder_init() in the tree?
Looking at the gma500 driver, it appears there are several unconverted calls
remaining, such as in drivers/gpu/drm/gma500/cdv_intel_crt.c:
cdv_intel_crt_init() {
...
ret = drm_simple_encoder_init(dev, encoder, DRM_MODE_ENCODER_DAC);
...
}
There also seem to be similar calls in cdv_intel_dp.c, cdv_intel_hdmi.c,
cdv_intel_lvds.c, oaktrail_hdmi.c, oaktrail_lvds.c, and psb_intel_lvds.c.
Will this cause a build failure when compiling with CONFIG_DRM_GMA500 if the
underlying function is removed before these are converted?
> -that calls drm_simple_encoder_init() and inline the helper. The driver will
> -also need its own instance of drm_encoder_funcs.
> -
> -Contact: Thomas Zimmermann, respective driver maintainer
> -
> -Level: Easy
> -
> Replace struct drm_simple_display_pipe with regular atomic helpers
> ------------------------------------------------------------------
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260720-drm_simple_encoder_init-v2-0-5020b630668a@gmail.com?part=15
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
WARNING: multiple messages have this Message-ID (diff)
From: sashiko-bot@kernel.org
To: "Diogo Silva" <diogompaissilva@gmail.com>
Cc: linux-amlogic@lists.infradead.org, Frank.Li@kernel.org,
neil.armstrong@linaro.org, wsa+renesas@sang-engineering.com,
dri-devel@lists.freedesktop.org, imx@lists.linux.dev
Subject: Re: [PATCH v2 15/15] Documentation/gpu: remove completed drm_simple_encoder_init() todo
Date: Mon, 20 Jul 2026 16:07:25 +0000 [thread overview]
Message-ID: <20260720160725.F26491F00A3A@smtp.kernel.org> (raw)
In-Reply-To: <20260720-drm_simple_encoder_init-v2-15-5020b630668a@gmail.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] Incomplete refactoring causes build failure in the gma500 driver due to unconverted usages of `drm_simple_encoder_init()`.
--
--- Patch [15]: [PATCH v2 15/15] Documentation/gpu: remove completed drm_simple_encoder_init() todo ---
commit ecefbc42ff1cbd0e228a1785c066cd3cab8deafc
Author: Diogo Silva <diogompaissilva@gmail.com>
Documentation/gpu: remove completed drm_simple_encoder_init() todo
All drm_simple_encoder_init() users have been removed, so drop the
completed todo item.
> diff --git a/Documentation/gpu/todo.rst b/Documentation/gpu/todo.rst
> index 14cf37590fc7e..b7351467dc74c 100644
> --- a/Documentation/gpu/todo.rst
> +++ b/Documentation/gpu/todo.rst
> @@ -29,21 +29,6 @@ refactorings already and are an expert in the specific area
> Subsystem-wide refactorings
> ===========================
>
> -Open-code drm_simple_encoder_init()
> ------------------------------------
> -
> -The helper drm_simple_encoder_init() was supposed to simplify encoder
> -initialization. Instead it only added an intermediate layer between atomic
> -modesetting and the DRM driver.
> -
> -The task here is to remove drm_simple_encoder_init(). Search for a driver
[Severity: Low]
Are there still remaining users of drm_simple_encoder_init() in the tree?
Looking at the gma500 driver, it appears there are several unconverted calls
remaining, such as in drivers/gpu/drm/gma500/cdv_intel_crt.c:
cdv_intel_crt_init() {
...
ret = drm_simple_encoder_init(dev, encoder, DRM_MODE_ENCODER_DAC);
...
}
There also seem to be similar calls in cdv_intel_dp.c, cdv_intel_hdmi.c,
cdv_intel_lvds.c, oaktrail_hdmi.c, oaktrail_lvds.c, and psb_intel_lvds.c.
Will this cause a build failure when compiling with CONFIG_DRM_GMA500 if the
underlying function is removed before these are converted?
> -that calls drm_simple_encoder_init() and inline the helper. The driver will
> -also need its own instance of drm_encoder_funcs.
> -
> -Contact: Thomas Zimmermann, respective driver maintainer
> -
> -Level: Easy
> -
> Replace struct drm_simple_display_pipe with regular atomic helpers
> ------------------------------------------------------------------
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260720-drm_simple_encoder_init-v2-0-5020b630668a@gmail.com?part=15
next prev parent reply other threads:[~2026-07-20 16:07 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-20 15:40 [PATCH v2 00/15] drm/drm_simple: remove drm_simple_encoder_init Diogo Silva
2026-07-20 15:40 ` Diogo Silva
2026-07-20 15:40 ` [PATCH v2 01/15] drm/exynos: remove dependency on DRM simple helpers Diogo Silva
2026-07-20 15:40 ` Diogo Silva
2026-07-20 15:52 ` sashiko-bot
2026-07-20 15:52 ` sashiko-bot
2026-07-20 15:40 ` [PATCH v2 02/15] drm/xlnx/zynqmp_dpsub: " Diogo Silva
2026-07-20 15:40 ` Diogo Silva
2026-07-20 17:49 ` Pandey, Radhey Shyam
2026-07-20 17:49 ` Pandey, Radhey Shyam
2026-07-20 15:40 ` [PATCH v2 03/15] drm/tegra: " Diogo Silva
2026-07-20 15:40 ` Diogo Silva
2026-07-20 15:40 ` [PATCH v2 04/15] drm/fsl-dcu: " Diogo Silva
2026-07-20 15:40 ` Diogo Silva
2026-07-20 15:40 ` [PATCH v2 05/15] drm/kmb: " Diogo Silva
2026-07-20 15:40 ` Diogo Silva
2026-07-20 15:40 ` [PATCH v2 06/15] drm/virtio: " Diogo Silva
2026-07-20 15:40 ` Diogo Silva
2026-07-20 16:00 ` sashiko-bot
2026-07-20 16:00 ` sashiko-bot
2026-07-20 15:40 ` [PATCH v2 07/15] drm/tidss: " Diogo Silva
2026-07-20 15:40 ` Diogo Silva
2026-07-20 16:08 ` sashiko-bot
2026-07-20 16:08 ` sashiko-bot
2026-07-20 15:40 ` [PATCH v2 08/15] drm/imx: " Diogo Silva
2026-07-20 15:40 ` Diogo Silva
2026-07-20 15:40 ` [PATCH v2 09/15] drm/mediatek: " Diogo Silva
2026-07-20 15:40 ` Diogo Silva
2026-07-20 15:40 ` [PATCH v2 10/15] drm/renesas/shmobile: " Diogo Silva
2026-07-20 15:40 ` Diogo Silva
2026-07-20 15:40 ` [PATCH v2 11/15] drm/hisilicon/kirin: " Diogo Silva
2026-07-20 15:40 ` Diogo Silva
2026-07-20 15:50 ` sashiko-bot
2026-07-20 15:50 ` sashiko-bot
2026-07-20 15:40 ` [PATCH v2 12/15] drm/arm/komeda: " Diogo Silva
2026-07-20 15:40 ` Diogo Silva
2026-07-20 15:40 ` [PATCH v2 13/15] drm/meson: " Diogo Silva
2026-07-20 15:40 ` Diogo Silva
2026-07-20 15:56 ` sashiko-bot
2026-07-20 15:56 ` sashiko-bot
2026-07-20 15:40 ` [PATCH v2 14/15] drm/drm_simple: remove deprecated drm_simple_encoder_init function Diogo Silva
2026-07-20 15:40 ` Diogo Silva
2026-07-20 15:54 ` sashiko-bot
2026-07-20 15:54 ` sashiko-bot
2026-07-20 15:40 ` [PATCH v2 15/15] Documentation/gpu: remove completed drm_simple_encoder_init() todo Diogo Silva
2026-07-20 15:40 ` Diogo Silva
2026-07-20 16:07 ` sashiko-bot [this message]
2026-07-20 16:07 ` sashiko-bot
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=20260720160725.F26491F00A3A@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=Frank.Li@kernel.org \
--cc=diogompaissilva@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=imx@lists.linux.dev \
--cc=linux-amlogic@lists.infradead.org \
--cc=neil.armstrong@linaro.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=wsa+renesas@sang-engineering.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.