All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Revert "amd/amdgpu: Disable VCN DPG mode for Picasso"
@ 2021-03-11 14:19 Alex Deucher
  2021-03-29 17:41 ` Alex Deucher
  2021-03-31  2:20 ` Quan, Evan
  0 siblings, 2 replies; 5+ messages in thread
From: Alex Deucher @ 2021-03-11 14:19 UTC (permalink / raw)
  To: amd-gfx; +Cc: Alex Deucher, Veerabadhran Gopalakrishnan, Leo Liu

This reverts commit c6d2b0fbb893d5c7dda405aa0e7bcbecf1c75f98.

This patch is a workaround for a hardware bug, but I don't
know that we've actually seen the hw bug triggered in practice,
meanwhile a number of people have reported that this causes
suspend and resume issues.

Bug: https://bugzilla.kernel.org/show_bug.cgi?id=211277
Cc: Veerabadhran Gopalakrishnan <veerabadhran.gopalakrishnan@amd.com>
Cc: Leo Liu <leo.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/soc15.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c
index 3808402cd964..1a0c3a816863 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc15.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
@@ -1405,7 +1405,8 @@ static int soc15_common_early_init(void *handle)
 
 			adev->pg_flags = AMD_PG_SUPPORT_SDMA |
 				AMD_PG_SUPPORT_MMHUB |
-				AMD_PG_SUPPORT_VCN;
+				AMD_PG_SUPPORT_VCN |
+				AMD_PG_SUPPORT_VCN_DPG;
 		} else {
 			adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG |
 				AMD_CG_SUPPORT_GFX_MGLS |
-- 
2.29.2

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply related	[flat|nested] 5+ messages in thread
* [PATCH] Revert "amd/amdgpu: Disable VCN DPG mode for Picasso"
@ 2020-12-09 15:42 Alex Deucher
  2020-12-09 16:19 ` Greg KH
  0 siblings, 1 reply; 5+ messages in thread
From: Alex Deucher @ 2020-12-09 15:42 UTC (permalink / raw)
  To: stable; +Cc: Alex Deucher, Sasha Levin

This patch should not have been applied to stable.  It depends
on changes in newer drivers.

This reverts commit 756fec062e4b823bbbe10b95cbcfa84f948131c6.

Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1402
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: Sasha Levin <sashal@kernel.org>
Cc: stable@vger.kernel.org
---
 drivers/gpu/drm/amd/amdgpu/soc15.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c
index 254ab2ada70a..c28ebf41530a 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc15.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
@@ -1220,7 +1220,8 @@ static int soc15_common_early_init(void *handle)
 
 			adev->pg_flags = AMD_PG_SUPPORT_SDMA |
 				AMD_PG_SUPPORT_MMHUB |
-				AMD_PG_SUPPORT_VCN;
+				AMD_PG_SUPPORT_VCN |
+				AMD_PG_SUPPORT_VCN_DPG;
 		} else {
 			adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG |
 				AMD_CG_SUPPORT_GFX_MGLS |
-- 
2.25.4


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

end of thread, other threads:[~2021-03-31  2:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-11 14:19 [PATCH] Revert "amd/amdgpu: Disable VCN DPG mode for Picasso" Alex Deucher
2021-03-29 17:41 ` Alex Deucher
2021-03-31  2:20 ` Quan, Evan
  -- strict thread matches above, loose matches on Subject: below --
2020-12-09 15:42 Alex Deucher
2020-12-09 16:19 ` Greg KH

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.