drm/amdgpu: enable HDP SD for gfx 11.0.3
authorjsg <jsg@openbsd.org>
Thu, 23 Feb 2023 02:19:13 +0000 (02:19 +0000)
committerjsg <jsg@openbsd.org>
Thu, 23 Feb 2023 02:19:13 +0000 (02:19 +0000)
From Evan Quan
e9cbb2b0d9f679d7e25b9415cf9d7345441a95c5 in linux-6.1.y/6.1.13
bb25849c0fa550b26cecc9c476c519a927c66898 in mainline linux

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

index 9bc9852..230e15f 100644 (file)
@@ -643,7 +643,8 @@ static int soc21_common_early_init(void *handle)
                        AMD_CG_SUPPORT_GFX_CGCG |
                        AMD_CG_SUPPORT_GFX_CGLS |
                        AMD_CG_SUPPORT_REPEATER_FGCG |
-                       AMD_CG_SUPPORT_GFX_MGCG;
+                       AMD_CG_SUPPORT_GFX_MGCG |
+                       AMD_CG_SUPPORT_HDP_SD;
                adev->pg_flags = AMD_PG_SUPPORT_VCN |
                        AMD_PG_SUPPORT_VCN_DPG |
                        AMD_PG_SUPPORT_JPEG;