[PATCH 1/6] drm/amd/display: Remove duplicated macro

Harry Wentland harry.wentland at amd.com
Mon Jun 6 14:04:55 UTC 2022


On 2022-06-03 14:50, Rodrigo Siqueira wrote:
> Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira at amd.com>

Reviewed-by: Harry Wentland <harry.wentland at amd.com>

Harry

> ---
>  drivers/gpu/drm/amd/display/include/dal_asic_id.h | 6 ------
>  1 file changed, 6 deletions(-)
> 
> diff --git a/drivers/gpu/drm/amd/display/include/dal_asic_id.h b/drivers/gpu/drm/amd/display/include/dal_asic_id.h
> index 11391eead954..a0dffe30b394 100644
> --- a/drivers/gpu/drm/amd/display/include/dal_asic_id.h
> +++ b/drivers/gpu/drm/amd/display/include/dal_asic_id.h
> @@ -221,10 +221,6 @@ enum {
>  #ifndef ASICREV_IS_VANGOGH
>  #define ASICREV_IS_VANGOGH(eChipRev) ((eChipRev >= VANGOGH_A0) && (eChipRev < VANGOGH_UNKNOWN))
>  #endif
> -#define GREEN_SARDINE_A0 0xA1
> -#ifndef ASICREV_IS_GREEN_SARDINE
> -#define ASICREV_IS_GREEN_SARDINE(eChipRev) ((eChipRev >= GREEN_SARDINE_A0) && (eChipRev < 0xFF))
> -#endif
>  
>  #define FAMILY_YELLOW_CARP                     146
>  #define YELLOW_CARP_A0 0x01
> @@ -288,6 +284,4 @@ enum {
>  
>  #define	FAMILY_UNKNOWN 0xFF
>  
> -
> -
>  #endif /* __DAL_ASIC_ID_H__ */



More information about the amd-gfx mailing list