drm/amdgpu: do not create ras debugfs/sysfs node for ASICs that don't have ras ability
authorHawking Zhang <Hawking.Zhang@amd.com>
Thu, 18 Jul 2019 04:49:15 +0000 (12:49 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jul 2019 19:18:07 +0000 (14:18 -0500)
commitfb2a36075a8650c2fc04f8fbef6901bacf0c834b
treea20ca51e6670e0a659aa683092c7a2830a557fe9
parent3a48c10d7fb055ff655096eb50e96f36b22b8021
drm/amdgpu: do not create ras debugfs/sysfs node for ASICs that don't have ras ability

driver shouldn't init any ras debugfs/sysfs node for ASICs that don't have ras
hardware ability

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Feifei Xu <Feifei.Xu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c