diff options
-rw-r--r-- | sys/dev/pci/drm/amd/powerplay/smu_v11_0.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/amd/powerplay/smu_v11_0.c b/sys/dev/pci/drm/amd/powerplay/smu_v11_0.c index 0eb396bb0d5..18698680186 100644 --- a/sys/dev/pci/drm/amd/powerplay/smu_v11_0.c +++ b/sys/dev/pci/drm/amd/powerplay/smu_v11_0.c @@ -159,7 +159,8 @@ int smu_v11_0_init_microcode(struct smu_context *smu) chip_name = "navi12"; break; default: - BUG(); + dev_err(adev->dev, "Unsupported ASIC type %d\n", adev->asic_type); + return -EINVAL; } snprintf(fw_name, sizeof(fw_name), "amdgpu/%s_smc.bin", chip_name); |