Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Candice Li and committed by
Alex Deucher
2e133eda 6ef93f62

+2
+1
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
··· 2000 2000 ras_cmd->ras_in_message.init_flags.nps_mode = 2001 2001 adev->gmc.gmc_funcs->query_mem_partition_mode(adev); 2002 2002 ras_cmd->ras_in_message.init_flags.active_umc_mask = adev->umc.active_mask; 2003 + ras_cmd->ras_in_message.init_flags.vram_type = (uint8_t)adev->gmc.vram_type; 2003 2004 2004 2005 ret = psp_ta_load(psp, &psp->ras_context.context); 2005 2006
+1
drivers/gpu/drm/amd/amdgpu/ta_ras_if.h
··· 155 155 uint8_t channel_dis_num; 156 156 uint8_t nps_mode; 157 157 uint32_t active_umc_mask; 158 + uint8_t vram_type; 158 159 }; 159 160 160 161 struct ta_ras_mca_addr {