From: Thomas Zimmermann <tzimmermann@suse.de>
To: Lucas Stach <l.stach@pengutronix.de>
Cc: Javier Martinez Canillas <javierm@redhat.com>,
dri-devel@lists.freedesktop.org, kernel@pengutronix.de,
patchwork-lst@pengutronix.de
Subject: Re: [PATCH] drm/atomic-helper: fix parameter order in drm_format_conv_state_copy() call
Date: Fri, 19 Apr 2024 17:12:36 +0200 [thread overview]
Message-ID: <464aa498-ea5b-4ff4-a80a-9a1cd2fc78c8@suse.de> (raw)
In-Reply-To: <20240404081756.2714424-1-l.stach@pengutronix.de>
Hi,
thanks for this fix.
Am 04.04.24 um 10:17 schrieb Lucas Stach:
> Old and new state parameters are swapped, so the old state was cleared
> instead of the new duplicated state.
>
> Fixes: 903674588a48 ("drm/atomic-helper: Add format-conversion state to shadow-plane state")
> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
> Tested-by: Leonard Göhrs <l.goehrs@pengutronix.de>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Please also add
Cc: <stable@vger.kernel.org> # v6.8+
Best regards
Thomas
> ---
> drivers/gpu/drm/drm_gem_atomic_helper.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/drm_gem_atomic_helper.c b/drivers/gpu/drm/drm_gem_atomic_helper.c
> index e440f458b663..93337543aac3 100644
> --- a/drivers/gpu/drm/drm_gem_atomic_helper.c
> +++ b/drivers/gpu/drm/drm_gem_atomic_helper.c
> @@ -224,8 +224,8 @@ __drm_gem_duplicate_shadow_plane_state(struct drm_plane *plane,
>
> __drm_atomic_helper_plane_duplicate_state(plane, &new_shadow_plane_state->base);
>
> - drm_format_conv_state_copy(&shadow_plane_state->fmtcnv_state,
> - &new_shadow_plane_state->fmtcnv_state);
> + drm_format_conv_state_copy(&new_shadow_plane_state->fmtcnv_state,
> + &shadow_plane_state->fmtcnv_state);
> }
> EXPORT_SYMBOL(__drm_gem_duplicate_shadow_plane_state);
>
--
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstrasse 146, 90461 Nuernberg, Germany
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman
HRB 36809 (AG Nuernberg)
prev parent reply other threads:[~2024-04-19 15:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-04 8:17 [PATCH] drm/atomic-helper: fix parameter order in drm_format_conv_state_copy() call Lucas Stach
2024-04-09 10:06 ` Lucas Stach
2024-04-19 15:12 ` Thomas Zimmermann [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=464aa498-ea5b-4ff4-a80a-9a1cd2fc78c8@suse.de \
--to=tzimmermann@suse.de \
--cc=dri-devel@lists.freedesktop.org \
--cc=javierm@redhat.com \
--cc=kernel@pengutronix.de \
--cc=l.stach@pengutronix.de \
--cc=patchwork-lst@pengutronix.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox