diff options
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c index 65b8497ad5f0..b93bad1d2a6f 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c @@ -933,7 +933,8 @@ static int gfx_v7_0_init_microcode(struct amdgpu_device *adev) chip_name = "mullins"; break; default: - BUG(); + dev_warn(adev->dev, "Unsupported asic_type 0x%08x\n", adev->asic_type); + return -EINVAL; } err = amdgpu_ucode_request(adev, &adev->gfx.pfp_fw, |
