drm/amdgpu: add new member hw_supported
authorxinhui pan <xinhui.pan@amd.com>
Mon, 11 Mar 2019 06:12:40 +0000 (14:12 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:36:51 +0000 (15:36 -0500)
commit5caf466a6e42beee88a707105975a1d2324b659c
tree8b13bb7e10211b6b547e3e9ef9a2498e6098b02e
parent2b9505e3539e9869214485d4df997f9ed23ec3fe
drm/amdgpu: add new member hw_supported

Currently, it is not clear how ras is supported. Both software and
hardware can set the supported. That is confusing.

Fix it by adding new member hw_supported.

Signed-off-by: xinhui pan <xinhui.pan@amd.com>
Reviewed-by: Evan Quan <evan.quan@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