From: Harry Wentland Date: Thu, 1 Feb 2018 16:29:58 +0000 (-0500) Subject: drm/amd/display: Add missing Vega defines to dal_asic_id X-Git-Tag: v5.15~8964^2~30^2~20 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=41b5b0a143891dd970a0e09c0df9c64e1c96e97f;p=platform%2Fkernel%2Flinux-starfive.git drm/amd/display: Add missing Vega defines to dal_asic_id Signed-off-by: Harry Wentland Reviewed-by: Hersen Wu Acked-by: Harry Wentland Signed-off-by: Alex Deucher --- 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 7abe663..9831cb5 100644 --- a/drivers/gpu/drm/amd/display/include/dal_asic_id.h +++ b/drivers/gpu/drm/amd/display/include/dal_asic_id.h @@ -109,6 +109,14 @@ #define ASIC_REV_IS_STONEY(rev) \ ((rev >= STONEY_A0) && (rev < CZ_UNKNOWN)) +/* DCE12 */ + +#define AI_GREENLAND_P_A0 1 +#define AI_GREENLAND_P_A1 2 + +#define ASICREV_IS_GREENLAND_M(eChipRev) (eChipRev < AI_UNKNOWN) +#define ASICREV_IS_GREENLAND_P(eChipRev) (eChipRev < AI_UNKNOWN) + /* DCN1_0 */ #define INTERNAL_REV_RAVEN_A0 0x00 /* First spin of Raven */ #define RAVEN_A0 0x01