drm/amdgpu: bounds check xcp ip block index

Check out of range values for ip block.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Asad Kamal <asad.kamal@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Lijo Lazar 2026-06-18 10:45:10 +05:30 • committed by Alex Deucher
commit 7445035dd3