From: jsg Date: Wed, 2 Mar 2022 12:57:11 +0000 (+0000) Subject: drm/amdgpu: disable MMHUB PG for Picasso X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=b8afe0ea438ee56892af10cdc457a75e243249b0;p=openbsd drm/amdgpu: disable MMHUB PG for Picasso From Evan Quan 70b2413ac30c88a049f179d674d29d1f6af1d29a in linux 5.15.y/5.15.26 f626dd0ff05043e5a7154770cc7cda66acee33a3 in mainline linux --- diff --git a/sys/dev/pci/drm/amd/amdgpu/soc15.c b/sys/dev/pci/drm/amd/amdgpu/soc15.c index 5a4bc466caa..7542169c70b 100644 --- a/sys/dev/pci/drm/amd/amdgpu/soc15.c +++ b/sys/dev/pci/drm/amd/amdgpu/soc15.c @@ -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 |