drm/amdgpu: pass xcc mask to ras ta
authorStanley.Yang <Stanley.Yang@amd.com>
Wed, 29 Mar 2023 14:03:09 +0000 (22:03 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 16:39:51 +0000 (12:39 -0400)
commit61a7c162399590263bf5f1ff5d2de634bfe3ae8d
tree10f9d7c56a28f8c0518ecc1139f080680e4b3fed
parentd522ca2714b77e15ebe6e77c1db7468c11a81180
drm/amdgpu: pass xcc mask to ras ta

pass xcc mask to ras ta, ras ta will compare
the mask with the one from chiplet topology.

Changed from V1:
Remove IP version checking.
Set ras_cmd->ras_init_message.init_flags.xcc_mask
directly due to xcc_mask is common structres to
all the devices.

Signed-off-by: Stanley.Yang <Stanley.Yang@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
drivers/gpu/drm/amd/amdgpu/ta_ras_if.h