drm/amdgpu: original raven doesn't support full asic reset
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 15 Jan 2020 17:56:37 +0000 (12:56 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Jan 2020 21:46:45 +0000 (16:46 -0500)
So don't use it.

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

index af41ee4c9639e9e5775a0124d9c9c72e1b5ba799..15f3424a1ff792b299f83c71c335461f08177d10 100644 (file)
@@ -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)