drm/amdgpu: set CHIP_IP_DISCOVERY as the asic type by default
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 9 Aug 2021 21:28:34 +0000 (17:28 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 4 Oct 2021 19:23:01 +0000 (15:23 -0400)
For new chips with no explicit entry in the PCI ID list.

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

index 8f863ac8d733596838761a345bec62a86b0abc7f..b1fbfa1ed26f9808065d8cbe34454084fbbd6441 100644 (file)
@@ -1873,12 +1873,12 @@ static const struct pci_device_id pciidlist[] = {
        { PCI_DEVICE(0x1002, PCI_ANY_ID),
          .class = PCI_CLASS_DISPLAY_VGA << 8,
          .class_mask = 0xffffff,
-         .driver_data = 0 },
+         .driver_data = CHIP_IP_DISCOVERY },
 
        { PCI_DEVICE(0x1002, PCI_ANY_ID),
          .class = PCI_CLASS_DISPLAY_OTHER << 8,
          .class_mask = 0xffffff,
-         .driver_data = 0 },
+         .driver_data = CHIP_IP_DISCOVERY },
 
        {0, 0, 0}
 };