mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 12:44:03 +02:00
drm/amdgpu/gfx7: drop all BUG()s
There's no need to crash the kernel for these cases. Reviewed-by: Kent Russell <kent.russell@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
ea1b84c68a
commit
48fd918301
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user