drm/amd/display: Add DCN2 and NV ASIC ID
authorHarry Wentland <harry.wentland@amd.com>
Fri, 22 Feb 2019 15:11:16 +0000 (10:11 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 23:59:34 +0000 (18:59 -0500)
DCN2.0 (Display Core Next) is the display block in Navi10.

Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/include/dal_asic_id.h
drivers/gpu/drm/amd/display/include/dal_types.h

index b302ff3180a47297133d2be00b14fccd312b4657..887e6a8597c47acd9d30fe7f3016c12e4ee29b8c 100644 (file)
 
 #define FAMILY_RV 142 /* DCN 1*/
 
+#if defined(CONFIG_DRM_AMD_DC_DCN2_0)
+
+#define FAMILY_NV 143 /* DCN 2*/
+
+#endif
+
 /*
  * ASIC chip ID
  */
index dabdbc0999d4459332210316c51f0693e127238d..1e3ce4d847ae5a0ee5db25594b1f84e414a79514 100644 (file)
@@ -46,6 +46,9 @@ enum dce_version {
        DCE_VERSION_MAX,
        DCN_VERSION_1_0,
        DCN_VERSION_1_01,
+#if defined(CONFIG_DRM_AMD_DC_DCN2_0)
+       DCN_VERSION_2_0,
+#endif
        DCN_VERSION_MAX
 };