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
This commit is contained in:
Alex Deucher 2019-05-17 09:21:13 -05:00
Родитель 379109351f
Коммит 5887a59961
1 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

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