]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6584e2a59b27d4aeb30f16c4bde5d43984ed9407
treea20ca51e6670e0a659aa683092c7a2830a557fe9
parent514bf04f7d9d96285e0a95906715a88525a3c68c
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