drm/amdgpu: disable MMHUB PG for Picasso
authorjsg <jsg@openbsd.org>
Wed, 2 Mar 2022 12:57:11 +0000 (12:57 +0000)
committerjsg <jsg@openbsd.org>
Wed, 2 Mar 2022 12:57:11 +0000 (12:57 +0000)
From Evan Quan
70b2413ac30c88a049f179d674d29d1f6af1d29a in linux 5.15.y/5.15.26
f626dd0ff05043e5a7154770cc7cda66acee33a3 in mainline linux

sys/dev/pci/drm/amd/amdgpu/soc15.c

index 5a4bc46..7542169 100644 (file)
@@ -1273,8 +1273,11 @@ static int soc15_common_early_init(void *handle)
                                AMD_CG_SUPPORT_SDMA_LS |
                                AMD_CG_SUPPORT_VCN_MGCG;
 
+                       /*
+                        * MMHUB PG needs to be disabled for Picasso for
+                        * stability reasons.
+                        */
                        adev->pg_flags = AMD_PG_SUPPORT_SDMA |
-                               AMD_PG_SUPPORT_MMHUB |
                                AMD_PG_SUPPORT_VCN;
                } else {
                        adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG |