drm/amdgpu: Enable full reset when RAS is supported on gc v11_0_0
authorCandice Li <candice.li@amd.com>
Wed, 7 Sep 2022 07:58:59 +0000 (15:58 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 13 Sep 2022 18:25:39 +0000 (14:25 -0400)
commitdf2c6e0c95ca22db5d6bea7e8169841c95426f8d
tree3ad8cee42ddae720269dd759c4495e7409625bdc
parent66f99628eb24409cb8feb5061f78283c8b65f820
drm/amdgpu: Enable full reset when RAS is supported on gc v11_0_0

Enable full reset for RAS supported configuration on gc v11_0_0.

v2: simplify the code.

Signed-off-by: Candice Li <candice.li@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc21.c