drm/amdgpu/soc15: skip reset on init
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 17 May 2019 14:21:13 +0000 (09:21 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 20 May 2019 17:48:43 +0000 (12:48 -0500)
Not necessary on soc15 and breaks driver reload on server cards.

Acked-by: Amber Lin <Amber.Lin@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/soc15.c

index 4900e49..b7e594c 100644 (file)
@@ -730,6 +730,11 @@ static bool soc15_need_reset_on_init(struct amdgpu_device *adev)
 {
        u32 sol_reg;
 
+       /* Just return false for soc15 GPUs.  Reset does not seem to
+        * be necessary.
+        */
+       return false;
+
        if (adev->flags & AMD_IS_APU)
                return false;