drm/amdgpu/si: drop 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:
Alex Deucher 2026-06-15 19:09:39 -04:00
parent 9599e82b19
commit af0e4c0eaf

View File

@ -2218,7 +2218,7 @@ static void si_init_golden_registers(struct amdgpu_device *adev)
default:
BUG();
break;
}
}
@ -2735,7 +2735,7 @@ int si_set_ip_blocks(struct amdgpu_device *adev)
amdgpu_device_ip_block_add(adev, &amdgpu_vkms_ip_block);
break;
default:
BUG();
break;
}
return 0;
}