]> 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)
commit893c43548e31a05495f3ec5bde05c6a45fc9c8e1
tree701d1f469780d63df33129e14b67d57bc29ce906
parentf45b3ee67f4bd02990e856980746ebf62b554f6f
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