]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitf9317014ea517e13a59b9d437948c5ab17ce4ed7
treecf9e77815aff5097607d0b354ea04a6fe6a88cf3
parent7bef6ea9721bb72bfe00810b9d928062a95e8549
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