mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-30 14:33:24 -04: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user