2024-04-25 01:36:21

by Jiapeng Chong

[permalink] [raw]
Subject: [PATCH] drm/amd/display: Remove duplicate spl/dc_spl_types.h header

/drivers/gpu/drm/amd/display/dc/inc/hw/transform.h: spl/dc_spl_types.h is included more than once.

Reported-by: Abaci Robot <[email protected]>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=8884
Signed-off-by: Jiapeng Chong <[email protected]>
---
drivers/gpu/drm/amd/display/dc/inc/hw/transform.h | 2 --
1 file changed, 2 deletions(-)

diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw/transform.h b/drivers/gpu/drm/amd/display/dc/inc/hw/transform.h
index 5aa2f1a1fb83..28da1dddf0a0 100644
--- a/drivers/gpu/drm/amd/display/dc/inc/hw/transform.h
+++ b/drivers/gpu/drm/amd/display/dc/inc/hw/transform.h
@@ -31,8 +31,6 @@
#include "fixed31_32.h"
#include "spl/dc_spl_types.h"

-#include "spl/dc_spl_types.h"
-
#define CSC_TEMPERATURE_MATRIX_SIZE 12

struct bit_depth_reduction_params;
--
2.19.1.6.gb485710b



2024-04-29 16:16:17

by Alex Deucher

[permalink] [raw]
Subject: Re: [PATCH] drm/amd/display: Remove duplicate spl/dc_spl_types.h header

Applied. Thanks!

On Wed, Apr 24, 2024 at 9:52 PM Jiapeng Chong
<[email protected]> wrote:
>
> ./drivers/gpu/drm/amd/display/dc/inc/hw/transform.h: spl/dc_spl_types.h is included more than once.
>
> Reported-by: Abaci Robot <[email protected]>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=8884
> Signed-off-by: Jiapeng Chong <[email protected]>
> ---
> drivers/gpu/drm/amd/display/dc/inc/hw/transform.h | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw/transform.h b/drivers/gpu/drm/amd/display/dc/inc/hw/transform.h
> index 5aa2f1a1fb83..28da1dddf0a0 100644
> --- a/drivers/gpu/drm/amd/display/dc/inc/hw/transform.h
> +++ b/drivers/gpu/drm/amd/display/dc/inc/hw/transform.h
> @@ -31,8 +31,6 @@
> #include "fixed31_32.h"
> #include "spl/dc_spl_types.h"
>
> -#include "spl/dc_spl_types.h"
> -
> #define CSC_TEMPERATURE_MATRIX_SIZE 12
>
> struct bit_depth_reduction_params;
> --
> 2.19.1.6.gb485710b
>