mirror of
https://github.com/torvalds/linux.git
synced 2026-05-29 17:43:52 +02:00
drm/amdgpu: Add vram_type to ras init_flags
Add vram_type to ras init_flags. Signed-off-by: Candice Li <candice.li@amd.com> Reviewed-by: Tao Zhou <tao.zhou1@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
6ef93f6253
commit
2e133eda97
|
|
@ -2000,6 +2000,7 @@ int psp_ras_initialize(struct psp_context *psp)
|
|||
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;
|
||||
ras_cmd->ras_in_message.init_flags.vram_type = (uint8_t)adev->gmc.vram_type;
|
||||
|
||||
ret = psp_ta_load(psp, &psp->ras_context.context);
|
||||
|
||||
|
|
|
|||
|
|
@ -155,6 +155,7 @@ struct ta_ras_init_flags {
|
|||
uint8_t channel_dis_num;
|
||||
uint8_t nps_mode;
|
||||
uint32_t active_umc_mask;
|
||||
uint8_t vram_type;
|
||||
};
|
||||
|
||||
struct ta_ras_mca_addr {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user