OSDN Git Service

drm/amdgpu: add condition to enable baco for ras recovery
authorLe Ma <le.ma@amd.com>
Tue, 26 Nov 2019 09:56:58 +0000 (17:56 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 11 Dec 2019 20:22:07 +0000 (15:22 -0500)
commitfeffbaac36d333096ad12ee50a7235481123161f
treef014062d416bf32fd19d8e5744793e926bafd9f6
parentfcb1fe9c9e0031ff02aaa7532822807d27968044
drm/amdgpu: add condition to enable baco for ras recovery

Switch to baco reset method for ras recovery if the PMFW supported.
If not, keep the original reset method.

v2: revise the condition

Signed-off-by: Le Ma <le.ma@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc15.c