| From 5887a59961e2295c5b02f39dbc0ecf9212709b7b Mon Sep 17 00:00:00 2001 |
| From: Alex Deucher <alexander.deucher@amd.com> |
| Date: Fri, 17 May 2019 09:21:13 -0500 |
| Subject: drm/amdgpu/soc15: skip reset on init |
| |
| From: Alex Deucher <alexander.deucher@amd.com> |
| |
| commit 5887a59961e2295c5b02f39dbc0ecf9212709b7b upstream. |
| |
| 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 |
| Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| |
| --- |
| drivers/gpu/drm/amd/amdgpu/soc15.c | 5 +++++ |
| 1 file changed, 5 insertions(+) |
| |
| --- a/drivers/gpu/drm/amd/amdgpu/soc15.c |
| +++ b/drivers/gpu/drm/amd/amdgpu/soc15.c |
| @@ -713,6 +713,11 @@ static bool soc15_need_reset_on_init(str |
| { |
| 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; |
| |