drm/amdgpu: add new asic_type for IP discovery
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 9 Aug 2021 21:26:21 +0000 (17:26 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 4 Oct 2021 19:23:01 +0000 (15:23 -0400)
Add a new asic type for asics where we don't have an
explicit entry in the PCI ID list.  We don't need
an asic type for these asics, other than something higher
than the existing ones, so just use this for all new
asics.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
include/drm/amd_asic_type.h

index 31c6d44208b54a7e60c4baabcf48545f6c1e1372..9cecdf063111b089d9e61e3d44a633dff6366a82 100644 (file)
@@ -125,6 +125,7 @@ const char *amdgpu_asic_name[] = {
        "DIMGREY_CAVEFISH",
        "BEIGE_GOBY",
        "YELLOW_CARP",
+       "IP DISCOVERY",
        "LAST",
 };
 
index 0f66a0d9f06d03792783d6efb0013267a2918276..90b69270f2fafd0d77f5c2f1f6e4a23fe0fed4c4 100644 (file)
@@ -62,6 +62,7 @@ enum amd_asic_type {
        CHIP_DIMGREY_CAVEFISH,  /* 33 */
        CHIP_BEIGE_GOBY,        /* 34 */
        CHIP_YELLOW_CARP,       /* 35 */
+       CHIP_IP_DISCOVERY,      /* 36 */
        CHIP_LAST,
 };