• Guchun Chen's avatar
    drm/amd/pm: use dev_*** to print output in multiple GPUs · a685572c
    Guchun Chen authored
    In multiple GPU configuration, when failed to send a SMU
    message, it's hard to figure out which GPU has such problem.
    So it's not comfortable to user.
    
    [40190.142181] amdgpu: [powerplay]
    	last message was failed ret is 65535
    [40190.242420] amdgpu: [powerplay]
    	failed to send message 201 ret is 65535
    [40190.392763] amdgpu: [powerplay]
    	last message was failed ret is 65535
    [40190.492997] amdgpu: [powerplay]
    	failed to send message 200 ret is 65535
    [40190.743575] amdgpu: [powerplay]
    	last message was failed ret is 65535
    [40190.843812] amdgpu: [powerplay]
    	failed to send message 282 ret is 65535
    Signed-off-by: default avatarGuchun Chen <guchun.chen@amd.com>
    Reviewed-by: default avatarEvan Quan <evan.quan@amd.com>
    Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
    a685572c
vega20_smumgr.c 20.7 KB