From: Alex Deucher Date: Mon, 26 Jul 2021 20:49:21 +0000 (-0400) Subject: drm/amdgpu: drive nav10 from the IP discovery table X-Git-Tag: howlett/maple/20220722_2~1941^2~11^2~112 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=524cf3ab85f5a9e574f5fe6797223d70a76704ca;p=users%2Fjedix%2Flinux-maple.git drm/amdgpu: drive nav10 from the IP discovery table Rather than hardcoding based on asic_type, use the IP discovery table to configure the driver. Only tested on Navi10 so far. Reviewed-by: Christian König Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c index fd58e75f24d2..bfd7becdcf19 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c @@ -2142,7 +2142,6 @@ static int amdgpu_device_ip_early_init(struct amdgpu_device *adev) if (r) return r; break; - case CHIP_NAVI10: case CHIP_NAVI14: case CHIP_NAVI12: case CHIP_SIENNA_CICHLID: