]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: refine ras related message print
authorGuchun Chen <guchun.chen@amd.com>
Fri, 10 Apr 2020 07:51:14 +0000 (15:51 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 13 Apr 2020 16:01:50 +0000 (12:01 -0400)
commit5c2f8c1178d56ed2123409e230c883f8c9b19ccd
treec94e002d0ccc225598be412b8d8554ac5c9836b5
parent802602e8a728e121bc723f7c8a8d29e9529f51f1
drm/amdgpu: refine ras related message print

Prefix ras related kernel message logging with PCI
device info by replacing DRM_INFO/WARN/ERROR with
dev_info/warn/err. This can clearly tell user about
GPU device information where ras is. And add some
other ras message printing to make it more clear
and friendly as well.

Suggested-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Guchun Chen <guchun.chen@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
drivers/gpu/drm/amd/amdgpu/amdgpu_umc.c
drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c