2023-07-28 10:01:24

by Geert Uytterhoeven

[permalink] [raw]
Subject: [PATCH v2] drm/atomic-helper: Update reference to drm_crtc_force_disable_all()

drm_crtc_force_disable_all() was renamed to
drm_helper_force_disable_all(), but one reference was not updated.

Fixes: c2d88e06bcb98540 ("drm: Move the legacy kms disable_all helper to crtc helpers")
Signed-off-by: Geert Uytterhoeven <[email protected]>
Reviewed-by: Sui Jingfeng <[email protected]>
---
v2:
- Add Reviewed-by.
---
drivers/gpu/drm/drm_atomic_helper.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/drm_atomic_helper.c b/drivers/gpu/drm/drm_atomic_helper.c
index 41b8066f61fff4be..292e38eb621806a0 100644
--- a/drivers/gpu/drm/drm_atomic_helper.c
+++ b/drivers/gpu/drm/drm_atomic_helper.c
@@ -3332,7 +3332,7 @@ EXPORT_SYMBOL(drm_atomic_helper_disable_all);
* that also takes a snapshot of the modeset state to be restored on resume.
*
* This is just a convenience wrapper around drm_atomic_helper_disable_all(),
- * and it is the atomic version of drm_crtc_force_disable_all().
+ * and it is the atomic version of drm_helper_force_disable_all().
*/
void drm_atomic_helper_shutdown(struct drm_device *dev)
{
--
2.34.1



2023-07-28 10:09:54

by Geert Uytterhoeven

[permalink] [raw]
Subject: Re: [PATCH v2] drm/atomic-helper: Update reference to drm_crtc_force_disable_all()

Hi Javier,

On Fri, Jul 28, 2023 at 11:53 AM Javier Martinez Canillas
<[email protected]> wrote:
> Geert Uytterhoeven <[email protected]> writes:
> > drm_crtc_force_disable_all() was renamed to
> > drm_helper_force_disable_all(), but one reference was not updated.
> >
> > Fixes: c2d88e06bcb98540 ("drm: Move the legacy kms disable_all helper to crtc helpers")
>
> The dim tool complains that:
>
> -:10: WARNING:BAD_FIXES_TAG: Please use correct Fixes: style 'Fixes: <12 chars of sha1> ("<title line>")'
>
> So I've fixed it locally to only use the first 12 chars of the sha1.

Good luck restoring them in the future (you do care about Y2038,
do you? ;-)

> > Signed-off-by: Geert Uytterhoeven <[email protected]>
> > Reviewed-by: Sui Jingfeng <[email protected]>
> > ---
>
> Pushed to drm-misc (drm-misc-next). Thanks!

Thanks!

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

2023-07-28 11:04:19

by Javier Martinez Canillas

[permalink] [raw]
Subject: Re: [PATCH v2] drm/atomic-helper: Update reference to drm_crtc_force_disable_all()

Geert Uytterhoeven <[email protected]> writes:

Hello Geert,

> drm_crtc_force_disable_all() was renamed to
> drm_helper_force_disable_all(), but one reference was not updated.
>
> Fixes: c2d88e06bcb98540 ("drm: Move the legacy kms disable_all helper to crtc helpers")

The dim tool complains that:

-:10: WARNING:BAD_FIXES_TAG: Please use correct Fixes: style 'Fixes: <12 chars of sha1> ("<title line>")'

So I've fixed it locally to only use the first 12 chars of the sha1.

> Signed-off-by: Geert Uytterhoeven <[email protected]>
> Reviewed-by: Sui Jingfeng <[email protected]>
> ---

Pushed to drm-misc (drm-misc-next). Thanks!

--
Best regards,

Javier Martinez Canillas
Core Platforms
Red Hat


2023-07-28 11:14:57

by Javier Martinez Canillas

[permalink] [raw]
Subject: Re: [PATCH v2] drm/atomic-helper: Update reference to drm_crtc_force_disable_all()

Geert Uytterhoeven <[email protected]> writes:

> Hi Javier,
>
> On Fri, Jul 28, 2023 at 11:53 AM Javier Martinez Canillas
> <[email protected]> wrote:
>> Geert Uytterhoeven <[email protected]> writes:
>> > drm_crtc_force_disable_all() was renamed to
>> > drm_helper_force_disable_all(), but one reference was not updated.
>> >
>> > Fixes: c2d88e06bcb98540 ("drm: Move the legacy kms disable_all helper to crtc helpers")
>>
>> The dim tool complains that:
>>
>> -:10: WARNING:BAD_FIXES_TAG: Please use correct Fixes: style 'Fixes: <12 chars of sha1> ("<title line>")'
>>
>> So I've fixed it locally to only use the first 12 chars of the sha1.
>
> Good luck restoring them in the future (you do care about Y2038,
> do you? ;-)
>

Fair. I fixed it not only because checkpatch complained but also to make
it consistent with the rest of the Fixes: tag in the tree, in case that
people have automation in place having the assumption of the 12 chars...

--
Best regards,

Javier Martinez Canillas
Core Platforms
Red Hat