diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3525-drm-amdgpu-enable-mmhub-clock-gating-for-rn.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3525-drm-amdgpu-enable-mmhub-clock-gating-for-rn.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3525-drm-amdgpu-enable-mmhub-clock-gating-for-rn.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3525-drm-amdgpu-enable-mmhub-clock-gating-for-rn.patch new file mode 100644 index 00000000..74cc42c6 --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3525-drm-amdgpu-enable-mmhub-clock-gating-for-rn.patch @@ -0,0 +1,32 @@ +From f757aff979a1eec2c8f8c17ab5bce27a75a40781 Mon Sep 17 00:00:00 2001 +From: Prike Liang <Prike.Liang@amd.com> +Date: Fri, 2 Aug 2019 15:04:27 +0800 +Subject: [PATCH 3525/4256] drm/amdgpu: enable mmhub clock gating for rn + +Enable mmhub midle grain and light sleep clock gating. + +Signed-off-by: Prike Liang <Prike.Liang@amd.com> +Reviewed-by: Alex Deucher <alexander.deucher@amd.com> +Signed-off-by: Alex Deucher <alexander.deucher@amd.com> +--- + drivers/gpu/drm/amd/amdgpu/soc15.c | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c +index d4cb7a66024e..7a7100a5dc1a 100644 +--- a/drivers/gpu/drm/amd/amdgpu/soc15.c ++++ b/drivers/gpu/drm/amd/amdgpu/soc15.c +@@ -1160,7 +1160,9 @@ static int soc15_common_early_init(void *handle) + AMD_CG_SUPPORT_GFX_3D_CGLS | + AMD_CG_SUPPORT_GFX_CGCG | + AMD_CG_SUPPORT_GFX_CGLS | +- AMD_CG_SUPPORT_GFX_CP_LS; ++ AMD_CG_SUPPORT_GFX_CP_LS | ++ AMD_CG_SUPPORT_MC_MGCG | ++ AMD_CG_SUPPORT_MC_LS; + adev->pg_flags = 0; + adev->external_rev_id = adev->rev_id + 0x91; + +-- +2.17.1 + |