mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-23 05:56:14 -04:00
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>
This commit is contained in:
committed by
Alex Deucher
parent
d522ca2714
commit
61a7c16239
@@ -1655,6 +1655,8 @@ int psp_ras_initialize(struct psp_context *psp)
|
||||
ras_cmd->ras_in_message.init_flags.poison_mode_en = 1;
|
||||
if (!adev->gmc.xgmi.connected_to_cpu)
|
||||
ras_cmd->ras_in_message.init_flags.dgpu_mode = 1;
|
||||
ras_cmd->ras_in_message.init_flags.xcc_mask =
|
||||
adev->gfx.xcc_mask;
|
||||
|
||||
ret = psp_ta_load(psp, &psp->ras_context.context);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user