Skip to content

Commit f2e2573

Browse files
Likun Gaoalexdeucher
authored andcommitted
drm/amdgpu: use mode1 reset by default for sienna_cichlid
Swith default gpu reset method for sienna_cichlid to MODE1 reset. Signed-off-by: Likun Gao <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 95a2687 commit f2e2573

File tree

1 file changed

+8
-3
lines changed
  • drivers/gpu/drm/amd/amdgpu

1 file changed

+8
-3
lines changed

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

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -362,10 +362,15 @@ nv_asic_reset_method(struct amdgpu_device *adev)
362362
dev_warn(adev->dev, "Specified reset method:%d isn't supported, using AUTO instead.\n",
363363
amdgpu_reset_method);
364364

365-
if (smu_baco_is_support(smu))
366-
return AMD_RESET_METHOD_BACO;
367-
else
365+
switch (adev->asic_type) {
366+
case CHIP_SIENNA_CICHLID:
368367
return AMD_RESET_METHOD_MODE1;
368+
default:
369+
if (smu_baco_is_support(smu))
370+
return AMD_RESET_METHOD_BACO;
371+
else
372+
return AMD_RESET_METHOD_MODE1;
373+
}
369374
}
370375

371376
static int nv_asic_reset(struct amdgpu_device *adev)

0 commit comments

Comments
 (0)