summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2019-05-17 16:21:13 +0200
committerAlex Deucher <alexander.deucher@amd.com>2019-05-20 19:48:43 +0200
commit5887a59961e2295c5b02f39dbc0ecf9212709b7b (patch)
treebf36e2a2bd4c714176b2b1186f4943867795ff1b /drivers/gpu
parentdrm/amdgpu: keep stolen memory on picasso (diff)
downloadlinux-5887a59961e2295c5b02f39dbc0ecf9212709b7b.tar.xz
linux-5887a59961e2295c5b02f39dbc0ecf9212709b7b.zip
drm/amdgpu/soc15: skip reset on init
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
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/soc15.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c
index 4900e4958dec..b7e594c2bfb4 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc15.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
@@ -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;