diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3536-drm-amdgpu-enable-SDMA-power-gating-for-rn.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3536-drm-amdgpu-enable-SDMA-power-gating-for-rn.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3536-drm-amdgpu-enable-SDMA-power-gating-for-rn.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3536-drm-amdgpu-enable-SDMA-power-gating-for-rn.patch new file mode 100644 index 00000000..f67bd793 --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3536-drm-amdgpu-enable-SDMA-power-gating-for-rn.patch @@ -0,0 +1,30 @@ +From 67cffba468e5fa7ad2a8a76f86aedf175bcd82f7 Mon Sep 17 00:00:00 2001 +From: Prike Liang <Prike.Liang@amd.com> +Date: Fri, 2 Aug 2019 15:42:41 +0800 +Subject: [PATCH 3536/4256] drm/amdgpu: enable SDMA power gating for rn + +Enable SDMA PG flag during device ip early init. + +Reviewed-by: Alex Deucher <alexander.deucher@amd.com> +Signed-off-by: Prike Liang <Prike.Liang@amd.com> +Signed-off-by: Alex Deucher <alexander.deucher@amd.com> +--- + drivers/gpu/drm/amd/amdgpu/soc15.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c +index 6ab444d6be72..5c211fa03328 100644 +--- a/drivers/gpu/drm/amd/amdgpu/soc15.c ++++ b/drivers/gpu/drm/amd/amdgpu/soc15.c +@@ -1173,7 +1173,7 @@ static int soc15_common_early_init(void *handle) + AMD_CG_SUPPORT_ATHUB_LS | + AMD_CG_SUPPORT_ATHUB_MGCG | + AMD_CG_SUPPORT_DF_MGCG; +- adev->pg_flags = 0; ++ adev->pg_flags = AMD_PG_SUPPORT_SDMA; + adev->external_rev_id = adev->rev_id + 0x91; + + if (adev->pm.pp_feature & PP_GFXOFF_MASK) +-- +2.17.1 + |