Skip to content

Commit

Permalink
drm/amd/display: Add missing Vega defines to dal_asic_id
Browse files Browse the repository at this point in the history
Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Hersen Wu <hersenxs.wu@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
  • Loading branch information
Harry Wentland authored and Alex Deucher committed Feb 19, 2018
1 parent 6531738 commit 41b5b0a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions drivers/gpu/drm/amd/display/include/dal_asic_id.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 41b5b0a

Please sign in to comment.