]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: add function to creat all ras debugfs node
authorTao Zhou <tao.zhou1@amd.com>
Fri, 6 Mar 2020 03:59:16 +0000 (11:59 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 Mar 2020 19:55:02 +0000 (15:55 -0400)
commita9b90581c3d78fee5aee831ca14718ca7de92472
treecf9e77815aff5097607d0b354ea04a6fe6a88cf3
parentea7b2500f0a85e358d71008fd29920a2fa6c0079
drm/amdgpu: add function to creat all ras debugfs node

centralize all debugfs creation in one place for ras

this is required to fix ras when the driver does not use the drm load
and unload callbacks due to ordering issues with the drm device node.

Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Stanley.Yang <Stanley.Yang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@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_ras.h