mirror of
https://github.com/torvalds/linux.git
synced 2026-09-23 05:04:02 +02:00
drm/amdgpu/imu12: WARN() rather than BUG()
There's no need to crash the kernel for this case. Reviewed-by: Kent Russell <kent.russell@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
ff57e223ab
commit
bc1e9d3964
|
|
@ -382,8 +382,9 @@ static void imu_v12_0_program_rlc_ram(struct amdgpu_device *adev)
|
|||
(const u32)ARRAY_SIZE(imu_rlc_ram_golden_12_0_1));
|
||||
break;
|
||||
default:
|
||||
BUG();
|
||||
break;
|
||||
WARN(1, "Invalid GFX/IMU IP version 0x%08x\n",
|
||||
amdgpu_ip_version(adev, GC_HWIP, 0));
|
||||
return;
|
||||
}
|
||||
|
||||
//Indicate the latest entry
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user