2023-07-24 09:46:32

by Ran Sun

[permalink] [raw]
Subject: [PATCH] drm/amd/pm: Clean up errors in smu_v13_0_1_pmfw.h

Fix the following errors reported by checkpatch:

ERROR: trailing whitespace

Signed-off-by: Ran Sun <[email protected]>
---
drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu_v13_0_1_pmfw.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu_v13_0_1_pmfw.h
b/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu_v13_0_1_pmfw.h
index c5e26d619bf0..8ec588248aac 100644
--- a/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu_v13_0_1_pmfw.h
+++ b/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu_v13_0_1_pmfw.h
@@ -30,7 +30,7 @@

#define ENABLE_DEBUG_FEATURES

-// Firmware features
+// Firmware features
// Feature Control Defines
#define FEATURE_CCLK_DPM_BIT 0
#define FEATURE_FAN_CONTROLLER_BIT 1
@@ -92,7 +92,7 @@
#define FEATURE_ZSTATES_ECO_BIT 57
#define FEATURE_CC6_BIT 58
#define FEATURE_DS_UMCCLK_BIT 59
-#define FEATURE_DS_HSPCLK_BIT 60
+#define FEATURE_DS_HSPCLK_BIT 60
#define NUM_FEATURES 61

typedef struct {


2023-07-24 22:27:22

by Alex Deucher

[permalink] [raw]
Subject: Re: [PATCH] drm/amd/pm: Clean up errors in smu_v13_0_1_pmfw.h

This doesn't apply cleanly.

Alex

On Mon, Jul 24, 2023 at 4:57 AM <[email protected]> wrote:
>
> Fix the following errors reported by checkpatch:
>
> ERROR: trailing whitespace
>
> Signed-off-by: Ran Sun <[email protected]>
> ---
> drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu_v13_0_1_pmfw.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu_v13_0_1_pmfw.h
> b/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu_v13_0_1_pmfw.h
> index c5e26d619bf0..8ec588248aac 100644
> --- a/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu_v13_0_1_pmfw.h
> +++ b/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu_v13_0_1_pmfw.h
> @@ -30,7 +30,7 @@
>
> #define ENABLE_DEBUG_FEATURES
>
> -// Firmware features
> +// Firmware features
> // Feature Control Defines
> #define FEATURE_CCLK_DPM_BIT 0
> #define FEATURE_FAN_CONTROLLER_BIT 1
> @@ -92,7 +92,7 @@
> #define FEATURE_ZSTATES_ECO_BIT 57
> #define FEATURE_CC6_BIT 58
> #define FEATURE_DS_UMCCLK_BIT 59
> -#define FEATURE_DS_HSPCLK_BIT 60
> +#define FEATURE_DS_HSPCLK_BIT 60
> #define NUM_FEATURES 61
>
> typedef struct {