All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@linux.intel.com>
To: Huacai Chen <chenhuacai@kernel.org>
Cc: Huacai Chen <chenhuacai@loongson.cn>,
	David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>,
	dri-devel@lists.freedesktop.org, stable@vger.kernel.org
Subject: Re: [PATCH] drm: Remove redundant statement in drm_crtc_helper_set_mode()
Date: Thu, 27 Mar 2025 14:05:20 +0200	[thread overview]
Message-ID: <871pui65mn.fsf@intel.com> (raw)
In-Reply-To: <CAAhV-H6AecMYG0t-Ldxy68fm-_Wk4VjcdFfc-s6xwEeddUn-Ew@mail.gmail.com>

On Wed, 26 Mar 2025, Huacai Chen <chenhuacai@kernel.org> wrote:
> Hi, Dave,
>
> Gentle ping, can this patch be merged into 6.15?

Pushed to drm-misc-next.

BR,
Jani.


>
> Huacai
>
> On Mon, Jan 13, 2025 at 10:13 PM Huacai Chen <chenhuacai@kernel.org> wrote:
>>
>> Hi, Dave,
>>
>> Gentle ping, can this patch be merged into 6.14?
>>
>> Huacai
>>
>> On Mon, Nov 25, 2024 at 2:00 PM Huacai Chen <chenhuacai@kernel.org> wrote:
>> >
>> > On Mon, Nov 11, 2024 at 10:41 PM Jani Nikula
>> > <jani.nikula@linux.intel.com> wrote:
>> > >
>> > > On Mon, 11 Nov 2024, Huacai Chen <chenhuacai@loongson.cn> wrote:
>> > > > Commit dbbfaf5f2641a ("drm: Remove bridge support from legacy helpers")
>> > > > removes the drm_bridge_mode_fixup() call in drm_crtc_helper_set_mode(),
>> > > > which makes the subsequent "encoder_funcs = encoder->helper_private" be
>> > > > redundant, so remove it.
>> > > >
>> > > > Cc: stable@vger.kernel.org
>> > > > Fixes: dbbfaf5f2641a ("drm: Remove bridge support from legacy helpers")
>> > >
>> > > IMO not necessary because nothing's broken, it's just redundant.
>> > Maintainer is free to keep or remove the Cc and Fixes tag. :)
>> >
>> > Huacai
>> >
>> > >
>> > > Reviewed-by: Jani Nikula <jani.nikula@intel.com>
>> > >
>> > > > Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
>> > > > ---
>> > > >  drivers/gpu/drm/drm_crtc_helper.c | 1 -
>> > > >  1 file changed, 1 deletion(-)
>> > > >
>> > > > diff --git a/drivers/gpu/drm/drm_crtc_helper.c b/drivers/gpu/drm/drm_crtc_helper.c
>> > > > index 0955f1c385dd..39497493f74c 100644
>> > > > --- a/drivers/gpu/drm/drm_crtc_helper.c
>> > > > +++ b/drivers/gpu/drm/drm_crtc_helper.c
>> > > > @@ -334,7 +334,6 @@ bool drm_crtc_helper_set_mode(struct drm_crtc *crtc,
>> > > >               if (!encoder_funcs)
>> > > >                       continue;
>> > > >
>> > > > -             encoder_funcs = encoder->helper_private;
>> > > >               if (encoder_funcs->mode_fixup) {
>> > > >                       if (!(ret = encoder_funcs->mode_fixup(encoder, mode,
>> > > >                                                             adjusted_mode))) {
>> > >
>> > > --
>> > > Jani Nikula, Intel

-- 
Jani Nikula, Intel

      reply	other threads:[~2025-03-27 12:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-11 13:21 [PATCH] drm: Remove redundant statement in drm_crtc_helper_set_mode() Huacai Chen
2024-11-11 14:41 ` Jani Nikula
2024-11-25  6:00   ` Huacai Chen
2025-01-13 14:13     ` Huacai Chen
2025-03-26 14:02       ` Huacai Chen
2025-03-27 12:05         ` Jani Nikula [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=871pui65mn.fsf@intel.com \
    --to=jani.nikula@linux.intel.com \
    --cc=airlied@gmail.com \
    --cc=chenhuacai@kernel.org \
    --cc=chenhuacai@loongson.cn \
    --cc=daniel@ffwll.ch \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=stable@vger.kernel.org \
    /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.