Skip to content

Commit df2c6e0

Browse files
candicelicyalexdeucher
authored andcommitted
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 <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 66f9962 commit df2c6e0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/gpu/drm/amd/amdgpu/soc21.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,7 @@ static bool soc21_need_full_reset(struct amdgpu_device *adev)
421421
{
422422
switch (adev->ip_versions[GC_HWIP][0]) {
423423
case IP_VERSION(11, 0, 0):
424+
return amdgpu_ras_is_supported(adev, AMDGPU_RAS_BLOCK__UMC);
424425
case IP_VERSION(11, 0, 2):
425426
return false;
426427
default:

0 commit comments

Comments
 (0)