drm/amd/display: add ASICREV defines v2

Add revs for navi10 and 14.

Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Reviewed-by: Xiaojie Yuan <xiaojie.yuan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Bhawanpreet Lakha 2019-07-02 10:43:55 -05:00 committed by Alex Deucher
parent 8fceceb69e
commit c6e764b40a
1 changed files with 8 additions and 0 deletions

View File

@ -151,6 +151,14 @@
#define FAMILY_NV 143 /* DCN 2*/
enum {
NV_NAVI10_P_A0 = 1,
NV_NAVI14_M_A0 = 20,
NV_UNKNOWN = 0xFF
};
#define ASICREV_IS_NAVI10_P(eChipRev) (eChipRev < NV_NAVI14_M_A0)
#define ASICREV_IS_NAVI14_M(eChipRev) ((eChipRev >= NV_NAVI14_M_A0) && (eChipRev < NV_UNKNOWN))
#endif
/*