]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Introduce another ras enable function
authorxinhui pan <xinhui.pan@amd.com>
Mon, 8 Apr 2019 06:49:37 +0000 (14:49 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Apr 2019 18:49:15 +0000 (13:49 -0500)
commit543c2d44506475e7a84aa068079a3d62a45434c3
tree701d1f469780d63df33129e14b67d57bc29ce906
parent75744dbc206454120e303959a8b75f677c1c674a
drm/amdgpu: Introduce another ras enable function

Many parts of the whole SW stack can program the ras enablement state
during the boot. Now we handle that case by adding one function which
check the ras flags and choose different code path.

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