[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CADnq5_OwD0=y2UKJ3Ajp54_dGzs-LCwLe1wtcqE19r5qpLzrCA@mail.gmail.com>
Date: Mon, 20 May 2024 11:12:04 -0400
From: Alex Deucher <alexdeucher@...il.com>
To: linux@...blig.org
Cc: alexander.deucher@....com, christian.koenig@....com, airlied@...il.com,
daniel@...ll.ch, dri-devel@...ts.freedesktop.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/3] drm/amd/display: remove unused struct 'dc_reg_sequence'
Applied the series. Thanks!
Alex
On Fri, May 17, 2024 at 8:12 PM <linux@...blig.org> wrote:
>
> From: "Dr. David Alan Gilbert" <linux@...blig.org>
>
> 'dc_reg_sequence' was added in
> commit 44788bbc309b ("drm/amd/display: refactor reg_update")
>
> but isn't actually used.
>
> Remove it.
>
> Signed-off-by: Dr. David Alan Gilbert <linux@...blig.org>
> ---
> drivers/gpu/drm/amd/display/dc/dc_helper.c | 5 -----
> 1 file changed, 5 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/dc_helper.c b/drivers/gpu/drm/amd/display/dc/dc_helper.c
> index 8f9a67825615..b81419c95222 100644
> --- a/drivers/gpu/drm/amd/display/dc/dc_helper.c
> +++ b/drivers/gpu/drm/amd/display/dc/dc_helper.c
> @@ -91,11 +91,6 @@ struct dc_reg_value_masks {
> uint32_t mask;
> };
>
> -struct dc_reg_sequence {
> - uint32_t addr;
> - struct dc_reg_value_masks value_masks;
> -};
> -
> static inline void set_reg_field_value_masks(
> struct dc_reg_value_masks *field_value_mask,
> uint32_t value,
> --
> 2.45.1
>
Powered by blists - more mailing lists