From: Alex Deucher Date: Wed, 15 Jan 2020 17:56:37 +0000 (-0500) Subject: drm/amdgpu: original raven doesn't support full asic reset X-Git-Tag: v5.6-rc1~34^2^2~31 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=276cc92945ab4af02d8bedce18b4b6f87b9c1609;p=thirdparty%2Flinux.git drm/amdgpu: original raven doesn't support full asic reset So don't use it. Reviewed-by: Hawking Zhang Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c index af41ee4c9639e..15f3424a1ff79 100644 --- a/drivers/gpu/drm/amd/amdgpu/soc15.c +++ b/drivers/gpu/drm/amd/amdgpu/soc15.c @@ -537,6 +537,10 @@ soc15_asic_reset_method(struct amdgpu_device *adev) static int soc15_asic_reset(struct amdgpu_device *adev) { + /* original raven doesn't have full asic reset */ + if (adev->pdev->device == 0x15dd && adev->rev_id < 0x8) + return 0; + switch (soc15_asic_reset_method(adev)) { case AMD_RESET_METHOD_BACO: if (!adev->in_suspend)