]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Issue ras TA disable/enable cmd forcely on boot
authorxinhui pan <xinhui.pan@amd.com>
Wed, 8 May 2019 08:13:03 +0000 (16:13 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 24 May 2019 17:20:50 +0000 (12:20 -0500)
commit99f5d4115cb8be0039830cc0085581c5408505ce
treeb0559e1c09dc5ba9c25c281e5b6c9d3b6758f126
parent9cbd9df2b5bf6ada0cd6d1c8cba07768222df796
drm/amdgpu: Issue ras TA disable/enable cmd forcely on boot

Check ras TA error code and return EAGAIN.
Issue ras enable/disable cmd without checking currect state.
Looks like ras TA will handle current state == target state case.

Now driver might need do a reset to satisfy ras TA.

Signed-off-by: xinhui pan <xinhui.pan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c