]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3be07f6c8b8136b410de325139a1a2ec47fe219d
tree8b13bb7e10211b6b547e3e9ef9a2498e6098b02e
parent108d582641a795b3ebc609960a0c88be56644bfb
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