[PATCH] drm/amd/display: Remove unused struct i2c_id_config_access

Rodrigo Siqueira Jordao Rodrigo.Siqueira at amd.com
Tue Oct 4 14:55:55 UTC 2022



On 2022-09-27 09:39, Yuan Can wrote:
> After commit 5a8132b9f606("drm/amd/display: remove dead dc vbios code"), no one
> use struct i2c_id_config_access, so remove it.
> 
> Signed-off-by: Yuan Can <yuancan at huawei.com>
> ---
>   drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c | 7 -------
>   1 file changed, 7 deletions(-)
> 
> diff --git a/drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c b/drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c
> index 5d70f9901d13..d380cf98b844 100644
> --- a/drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c
> +++ b/drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c
> @@ -50,13 +50,6 @@
>   #define LAST_RECORD_TYPE 0xff
>   #define SMU9_SYSPLL0_ID  0
>   
> -struct i2c_id_config_access {
> -	uint8_t bfI2C_LineMux:4;
> -	uint8_t bfHW_EngineID:3;
> -	uint8_t bfHW_Capable:1;
> -	uint8_t ucAccess;
> -};
> -
>   static enum bp_result get_gpio_i2c_info(struct bios_parser *bp,
>   	struct atom_i2c_record *record,
>   	struct graphics_object_i2c_info *info);

Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira at amd.com>

and applied to amd-staging-drm-next.

Thanks
Siqueira


More information about the dri-devel mailing list