mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 20:54:03 +02:00
drm/amdgpu/imu11: 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
84beee0dd2
commit
b208b0c446
|
|
@ -377,8 +377,9 @@ static void imu_v11_0_program_rlc_ram(struct amdgpu_device *adev)
|
|||
imu_v11_0_3_program_rlc_ram(adev);
|
||||
break;
|
||||
default:
|
||||
BUG();
|
||||
break;
|
||||
WARN(1, "Invalid GFX/IMU IP version 0x%08x\n",
|
||||
amdgpu_ip_version(adev, GC_HWIP, 0));
|
||||
return;
|
||||
}
|
||||
|
||||
//Indicate the contents of the RAM are valid
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user