diff options
author | 2020-07-31 15:06:32 +0800 | |
---|---|---|
committer | 2020-08-04 17:27:16 -0400 | |
commit | f848159b570ecdcd157ad5b52eb58e5cb3a075a7 (patch) | |
tree | 51fdb66093b6df33518a139ab10573aa06041201 /drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | |
parent | drm/amdgpu: add one definition for RAS's sysfs/debugfs name(v2) (diff) | |
download | linux-dev-f848159b570ecdcd157ad5b52eb58e5cb3a075a7.tar.xz linux-dev-f848159b570ecdcd157ad5b52eb58e5cb3a075a7.zip |
drm/amdgpu: decouple sysfs creating of bad page node
Bad page information should not be exposed by sysfs when
bad page retirement is disabled, so decouple it from ras
sysfs group creating, and add one guard before creating.
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c')
0 files changed, 0 insertions, 0 deletions