[PATCH 60/66] drm/amdgpu: set CHIP_IP_DISCOVERY as the asic type by default

Alex Deucher alexander.deucher at amd.com
Tue Sep 21 18:07:19 UTC 2021


For new chips with no explicit entry in the PCI ID list.

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
index c21eac6216a8..c7da1f7cc880 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
@@ -1796,12 +1796,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}
 };
-- 
2.31.1



More information about the amd-gfx mailing list