drm/amd/powerplay: unify the prompts on thermal interrupts
authorEvan Quan <evan.quan@amd.com>
Wed, 20 May 2020 10:13:50 +0000 (18:13 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 21 May 2020 16:48:42 +0000 (12:48 -0400)
commit27a468eac53186fea97997e02510a6ff9a53558a
tree3980937b0c5ac67b89dcab57ec41bc21faa9a726
parentfa63ed81705a1c280e049441f5e05a4c30ce9b11
drm/amd/powerplay: unify the prompts on thermal interrupts

The prompts will contain pci address(segment/bus/port/function),
severity(warn or error) and some keywords(GPU, amdgpu). Also this
address the issue that pci bus retrieved by PCI_BUS_NUM(adev->pdev->devfn)
is wrong.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c
drivers/gpu/drm/amd/powerplay/smu_v11_0.c