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:
Alex Deucher 2026-06-15 19:14:42 -04:00
parent 84beee0dd2
commit b208b0c446

View File

@ -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