]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdb3210bfe224515e454dc051750603809450e7d9
tree3980937b0c5ac67b89dcab57ec41bc21faa9a726
parent990076b196624bc9483b8bd3870ddff93a82092d
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