drm/amdgpu: add new asic_type for IP discovery

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>
This commit is contained in:
Alex Deucher 2021-08-09 17:26:21 -04:00
parent aa9f8cc349
commit 3ae695d691
2 changed files with 2 additions and 0 deletions

View File

@ -125,6 +125,7 @@ const char *amdgpu_asic_name[] = {
"DIMGREY_CAVEFISH", "DIMGREY_CAVEFISH",
"BEIGE_GOBY", "BEIGE_GOBY",
"YELLOW_CARP", "YELLOW_CARP",
"IP DISCOVERY",
"LAST", "LAST",
}; };

View File

@ -62,6 +62,7 @@ enum amd_asic_type {
CHIP_DIMGREY_CAVEFISH, /* 33 */ CHIP_DIMGREY_CAVEFISH, /* 33 */
CHIP_BEIGE_GOBY, /* 34 */ CHIP_BEIGE_GOBY, /* 34 */
CHIP_YELLOW_CARP, /* 35 */ CHIP_YELLOW_CARP, /* 35 */
CHIP_IP_DISCOVERY, /* 36 */
CHIP_LAST, CHIP_LAST,
}; };