summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2020-01-21 07:43:49 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2020-01-21 07:43:49 +0000
commit2131c319c4a7db189bc6d85fcb20107cbab8440f (patch)
treee2b368c3581a39f7b11602fdb50a64a3a6de1ce4 /sys
parent4e9e0609b2faf74ecc779e57acece0077bf4035c (diff)
Enable mmhub power gating on picasso. Matches linux 4.20.
mmhub on soc15 is a memory controller hub for sdma, uvd and vce. ok kettenis@
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/drm/amd/amdgpu/soc15.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/amd/amdgpu/soc15.c b/sys/dev/pci/drm/amd/amdgpu/soc15.c
index 32e96d25d21..78620b6d858 100644
--- a/sys/dev/pci/drm/amd/amdgpu/soc15.c
+++ b/sys/dev/pci/drm/amd/amdgpu/soc15.c
@@ -713,7 +713,9 @@ static int soc15_common_early_init(void *handle)
AMD_CG_SUPPORT_SDMA_MGCG |
AMD_CG_SUPPORT_SDMA_LS;
- adev->pg_flags = AMD_PG_SUPPORT_SDMA | AMD_PG_SUPPORT_VCN;
+ adev->pg_flags = AMD_PG_SUPPORT_SDMA |
+ AMD_PG_SUPPORT_MMHUB |
+ AMD_PG_SUPPORT_VCN;
} else {
adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG |
AMD_CG_SUPPORT_GFX_MGLS |