Re: [PATCH v2] drm/tegra: hdmi: Open-code drm_simple_encoder_init()
From: Thierry Reding
Date: Thu May 28 2026 - 09:31:05 EST
On Wed, May 13, 2026 at 03:35:01PM +0530, Souradipto Das wrote:
> The helper drm_simple_encoder_init() is a trivial wrapper around
> drm_encoder_init() that only provides a static drm_encoder_funcs with
> .destroy set to drm_encoder_cleanup(). Open-code the initialization
> with a driver-specific instance of drm_encoder_funcs and remove the
> dependency on drm_simple_kms_helper.
>
> Suggested-by: Thomas Zimmermann <tzimmermann@xxxxxxx>
> Signed-off-by: Souradipto Das <souradiptodas6@xxxxxxxxx>
> ---
> v2:
> - Remove stray blank line
> - Patch is compile-tested only
> - No functional changes.
>
> drivers/gpu/drm/tegra/hdmi.c | 9 ++++++---
> 1 file changed, 6 insertions(+), 3 deletions(-)
Applied, thanks.
Thierry
Attachment:
signature.asc
Description: PGP signature