diff options
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.19.8/0251-drm-amdgpu-Enable-SDMA-power-gating-for-PCO.patch')
-rw-r--r-- | common/recipes-kernel/linux/linux-yocto-4.19.8/0251-drm-amdgpu-Enable-SDMA-power-gating-for-PCO.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.19.8/0251-drm-amdgpu-Enable-SDMA-power-gating-for-PCO.patch b/common/recipes-kernel/linux/linux-yocto-4.19.8/0251-drm-amdgpu-Enable-SDMA-power-gating-for-PCO.patch new file mode 100644 index 00000000..4f84bf29 --- /dev/null +++ b/common/recipes-kernel/linux/linux-yocto-4.19.8/0251-drm-amdgpu-Enable-SDMA-power-gating-for-PCO.patch @@ -0,0 +1,30 @@ +From c5b90feb1d1d5050b181f33333a8636bbcc8efa8 Mon Sep 17 00:00:00 2001 +From: Kenneth Feng <kenneth.feng@amd.com> +Date: Fri, 10 Aug 2018 16:22:26 +0800 +Subject: [PATCH 0251/2940] drm/amdgpu: Enable SDMA power gating for PCO + +Enable SDMA power gating + +Signed-off-by: Kenneth Feng <kenneth.feng@amd.com> +Acked-by: Huang Rui <ray.huang@amd.com> +Signed-off-by: Alex Deucher <alexander.deucher@amd.com> +--- + drivers/gpu/drm/amd/amdgpu/soc15.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c +index 5ffe8f728524..e00b76d80c07 100644 +--- a/drivers/gpu/drm/amd/amdgpu/soc15.c ++++ b/drivers/gpu/drm/amd/amdgpu/soc15.c +@@ -740,6 +740,8 @@ 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; ++ + if (adev->powerplay.pp_feature & PP_GFXOFF_MASK) + adev->pg_flags |= AMD_PG_SUPPORT_GFX_PG | + AMD_PG_SUPPORT_CP | +-- +2.17.1 + |