drm/amdgpu: Add active_umc_mask to ras init_flags
Add active_umc_mask to ras init_flags. Signed-off-by: Candice Li <candice.li@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -1861,6 +1861,7 @@ int psp_ras_initialize(struct psp_context *psp)
|
||||
if (adev->gmc.gmc_funcs->query_mem_partition_mode)
|
||||
ras_cmd->ras_in_message.init_flags.nps_mode =
|
||||
adev->gmc.gmc_funcs->query_mem_partition_mode(adev);
|
||||
ras_cmd->ras_in_message.init_flags.active_umc_mask = adev->umc.active_mask;
|
||||
|
||||
ret = psp_ta_load(psp, &psp->ras_context.context);
|
||||
|
||||
|
||||
@@ -151,6 +151,7 @@ struct ta_ras_init_flags {
|
||||
uint16_t xcc_mask;
|
||||
uint8_t channel_dis_num;
|
||||
uint8_t nps_mode;
|
||||
uint32_t active_umc_mask;
|
||||
};
|
||||
|
||||
struct ta_ras_mca_addr {
|
||||
|
||||
Reference in New Issue
Block a user