2021-03-22 21:08:13

by Bhaskar Chowdhury

[permalink] [raw]
Subject: [PATCH] drm/amd: Fix a typo in two different sentences


s/defintion/definition/ .....two different places.

Signed-off-by: Bhaskar Chowdhury <[email protected]>
---
drivers/gpu/drm/amd/include/atombios.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/amd/include/atombios.h b/drivers/gpu/drm/amd/include/atombios.h
index c1d7b1d0b952..47eb84598b96 100644
--- a/drivers/gpu/drm/amd/include/atombios.h
+++ b/drivers/gpu/drm/amd/include/atombios.h
@@ -1987,9 +1987,9 @@ typedef struct _PIXEL_CLOCK_PARAMETERS_V6
#define PIXEL_CLOCK_V6_MISC_HDMI_BPP_MASK 0x0c
#define PIXEL_CLOCK_V6_MISC_HDMI_24BPP 0x00
#define PIXEL_CLOCK_V6_MISC_HDMI_36BPP 0x04
-#define PIXEL_CLOCK_V6_MISC_HDMI_36BPP_V6 0x08 //for V6, the correct defintion for 36bpp should be 2 for 36bpp(2:1)
+#define PIXEL_CLOCK_V6_MISC_HDMI_36BPP_V6 0x08 //for V6, the correct definition for 36bpp should be 2 for 36bpp(2:1)
#define PIXEL_CLOCK_V6_MISC_HDMI_30BPP 0x08
-#define PIXEL_CLOCK_V6_MISC_HDMI_30BPP_V6 0x04 //for V6, the correct defintion for 30bpp should be 1 for 36bpp(5:4)
+#define PIXEL_CLOCK_V6_MISC_HDMI_30BPP_V6 0x04 //for V6, the correct definition for 30bpp should be 1 for 36bpp(5:4)
#define PIXEL_CLOCK_V6_MISC_HDMI_48BPP 0x0c
#define PIXEL_CLOCK_V6_MISC_REF_DIV_SRC 0x10
#define PIXEL_CLOCK_V6_MISC_GEN_DPREFCLK 0x40
--
2.31.0


2021-03-22 22:48:00

by Randy Dunlap

[permalink] [raw]
Subject: Re: [PATCH] drm/amd: Fix a typo in two different sentences

On 3/22/21 2:06 PM, Bhaskar Chowdhury wrote:
>
> s/defintion/definition/ .....two different places.
>
> Signed-off-by: Bhaskar Chowdhury <[email protected]>

Acked-by: Randy Dunlap <[email protected]>

> ---
> drivers/gpu/drm/amd/include/atombios.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/include/atombios.h b/drivers/gpu/drm/amd/include/atombios.h
> index c1d7b1d0b952..47eb84598b96 100644
> --- a/drivers/gpu/drm/amd/include/atombios.h
> +++ b/drivers/gpu/drm/amd/include/atombios.h
> @@ -1987,9 +1987,9 @@ typedef struct _PIXEL_CLOCK_PARAMETERS_V6
> #define PIXEL_CLOCK_V6_MISC_HDMI_BPP_MASK 0x0c
> #define PIXEL_CLOCK_V6_MISC_HDMI_24BPP 0x00
> #define PIXEL_CLOCK_V6_MISC_HDMI_36BPP 0x04
> -#define PIXEL_CLOCK_V6_MISC_HDMI_36BPP_V6 0x08 //for V6, the correct defintion for 36bpp should be 2 for 36bpp(2:1)
> +#define PIXEL_CLOCK_V6_MISC_HDMI_36BPP_V6 0x08 //for V6, the correct definition for 36bpp should be 2 for 36bpp(2:1)
> #define PIXEL_CLOCK_V6_MISC_HDMI_30BPP 0x08
> -#define PIXEL_CLOCK_V6_MISC_HDMI_30BPP_V6 0x04 //for V6, the correct defintion for 30bpp should be 1 for 36bpp(5:4)
> +#define PIXEL_CLOCK_V6_MISC_HDMI_30BPP_V6 0x04 //for V6, the correct definition for 30bpp should be 1 for 36bpp(5:4)
> #define PIXEL_CLOCK_V6_MISC_HDMI_48BPP 0x0c
> #define PIXEL_CLOCK_V6_MISC_REF_DIV_SRC 0x10
> #define PIXEL_CLOCK_V6_MISC_GEN_DPREFCLK 0x40
> --


--
~Randy

2021-03-25 17:10:35

by Alex Deucher

[permalink] [raw]
Subject: Re: [PATCH] drm/amd: Fix a typo in two different sentences

Applied. Thanks!

Alex

On Mon, Mar 22, 2021 at 6:45 PM Randy Dunlap <[email protected]> wrote:
>
> On 3/22/21 2:06 PM, Bhaskar Chowdhury wrote:
> >
> > s/defintion/definition/ .....two different places.
> >
> > Signed-off-by: Bhaskar Chowdhury <[email protected]>
>
> Acked-by: Randy Dunlap <[email protected]>
>
> > ---
> > drivers/gpu/drm/amd/include/atombios.h | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/drivers/gpu/drm/amd/include/atombios.h b/drivers/gpu/drm/amd/include/atombios.h
> > index c1d7b1d0b952..47eb84598b96 100644
> > --- a/drivers/gpu/drm/amd/include/atombios.h
> > +++ b/drivers/gpu/drm/amd/include/atombios.h
> > @@ -1987,9 +1987,9 @@ typedef struct _PIXEL_CLOCK_PARAMETERS_V6
> > #define PIXEL_CLOCK_V6_MISC_HDMI_BPP_MASK 0x0c
> > #define PIXEL_CLOCK_V6_MISC_HDMI_24BPP 0x00
> > #define PIXEL_CLOCK_V6_MISC_HDMI_36BPP 0x04
> > -#define PIXEL_CLOCK_V6_MISC_HDMI_36BPP_V6 0x08 //for V6, the correct defintion for 36bpp should be 2 for 36bpp(2:1)
> > +#define PIXEL_CLOCK_V6_MISC_HDMI_36BPP_V6 0x08 //for V6, the correct definition for 36bpp should be 2 for 36bpp(2:1)
> > #define PIXEL_CLOCK_V6_MISC_HDMI_30BPP 0x08
> > -#define PIXEL_CLOCK_V6_MISC_HDMI_30BPP_V6 0x04 //for V6, the correct defintion for 30bpp should be 1 for 36bpp(5:4)
> > +#define PIXEL_CLOCK_V6_MISC_HDMI_30BPP_V6 0x04 //for V6, the correct definition for 30bpp should be 1 for 36bpp(5:4)
> > #define PIXEL_CLOCK_V6_MISC_HDMI_48BPP 0x0c
> > #define PIXEL_CLOCK_V6_MISC_REF_DIV_SRC 0x10
> > #define PIXEL_CLOCK_V6_MISC_GEN_DPREFCLK 0x40
> > --
>
>
> --
> ~Randy
>
> _______________________________________________
> dri-devel mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/dri-devel