All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/amd/display: Remove unused struct i2c_id_config_access
@ 2022-09-27 13:39 Yuan Can
  2022-10-04 14:55 ` Rodrigo Siqueira Jordao
  0 siblings, 1 reply; 2+ messages in thread
From: Yuan Can @ 2022-09-27 13:39 UTC (permalink / raw)
  To: harry.wentland, sunpeng.li, Rodrigo.Siqueira, alexander.deucher,
	christian.koenig, Xinhui.Pan, airlied, daniel, Jun.Lei,
	Charlene.Liu, jerry.zuo, agustin.gutierrez, Nevenko.Stupar,
	sancchen, tales.aparecida, chandan.vurdigerenataraj,
	aurabindo.pillai, amd-gfx, dri-devel
  Cc: yuancan

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@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);
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] drm/amd/display: Remove unused struct i2c_id_config_access
  2022-09-27 13:39 [PATCH] drm/amd/display: Remove unused struct i2c_id_config_access Yuan Can
@ 2022-10-04 14:55 ` Rodrigo Siqueira Jordao
  0 siblings, 0 replies; 2+ messages in thread
From: Rodrigo Siqueira Jordao @ 2022-10-04 14:55 UTC (permalink / raw)
  To: Yuan Can, harry.wentland, sunpeng.li, alexander.deucher,
	christian.koenig, Xinhui.Pan, airlied, daniel, Jun.Lei,
	Charlene.Liu, jerry.zuo, agustin.gutierrez, Nevenko.Stupar,
	sancchen, tales.aparecida, chandan.vurdigerenataraj,
	aurabindo.pillai, amd-gfx, dri-devel



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@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@amd.com>

and applied to amd-staging-drm-next.

Thanks
Siqueira

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-10-04 14:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-27 13:39 [PATCH] drm/amd/display: Remove unused struct i2c_id_config_access Yuan Can
2022-10-04 14:55 ` Rodrigo Siqueira Jordao

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.