All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/amdgpu/soc15: skip reset on init
@ 2019-05-17 14:26 Alex Deucher
       [not found] ` <20190517142647.26034-1-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
  2019-05-18 12:22   ` Sasha Levin
  0 siblings, 2 replies; 7+ messages in thread
From: Alex Deucher @ 2019-05-17 14:26 UTC (permalink / raw)
  To: amd-gfx; +Cc: Alex Deucher, stable

Not necessary on soc15 and breaks driver reload on server cards.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
---
 drivers/gpu/drm/amd/amdgpu/soc15.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c
index 32dc5a128249..78bd4fc07bab 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc15.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
@@ -761,6 +761,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;
 
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-05-18 12:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-17 14:26 [PATCH] drm/amdgpu/soc15: skip reset on init Alex Deucher
     [not found] ` <20190517142647.26034-1-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
2019-05-17 14:47   ` Lin, Amber
     [not found]     ` <a986c8b7-4255-e70b-4e39-102cc57cda92-5C7GfCeVMHo@public.gmane.org>
2019-05-17 17:02       ` Alex Deucher
     [not found]         ` <CADnq5_PKFA62OMa4H9gKy4R9rk38mY0EKhZGxf51N36DkTEavQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2019-05-17 19:15           ` Lin, Amber
2019-05-18 12:22   ` Sasha Levin
2019-05-18 12:22 ` Sasha Levin
2019-05-18 12:22   ` Sasha Levin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.