diff options
author | Guchun Chen <guchun.chen@amd.com> | 2020-07-31 15:06:32 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-08-04 17:27:16 -0400 |
commit | f848159b570ecdcd157ad5b52eb58e5cb3a075a7 (patch) | |
tree | 51fdb66093b6df33518a139ab10573aa06041201 /drivers/gpu/drm/amd/amdgpu/gfxhub_v1_1.c | |
parent | eb0c3cd48f5f27abf3ba92bd142b71ef76229706 (diff) |
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/gfxhub_v1_1.c')
0 files changed, 0 insertions, 0 deletions