Re: [PATCH] drm/tegra: sor: Remove usage of drm_simple_encoder_init()

From: Thierry Reding

Date: Thu May 28 2026 - 09:32:57 EST


On Fri, May 22, 2026 at 08:26:24PM -0500, Jacob McLemore wrote:
> Remove the deprecated trivial helper drm_simple_encoder_init(). Inline
> the call to drm_encoder_init and add instance of
> drm_encoder_funcs.
>
> Signed-off-by: Jacob McLemore <jmclemore.lkml@xxxxxxxxx>
> ---
> Saw this was a good first task in Documentation/gpu/todo.rst.
> This is my first patch, so apologies if I've set up anything wrong
> in either my email client or gitconfig and the patch ends up invalid.
> ---
> drivers/gpu/drm/tegra/sor.c | 7 +++++--
> 1 file changed, 5 insertions(+), 2 deletions(-)

Applied, though I had to fix a few checkpatch warnings. Make sure to
always run that fix anything that it flags (though sometimes it can go a
bit overboard, so apply some common sense, too).

Thanks,
Thierry

Attachment: signature.asc
Description: PGP signature