diff options
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.19.8/0424-drm-amdgpu-Enable-DPG-mode-on-PCO.patch')
-rw-r--r-- | common/recipes-kernel/linux/linux-yocto-4.19.8/0424-drm-amdgpu-Enable-DPG-mode-on-PCO.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.19.8/0424-drm-amdgpu-Enable-DPG-mode-on-PCO.patch b/common/recipes-kernel/linux/linux-yocto-4.19.8/0424-drm-amdgpu-Enable-DPG-mode-on-PCO.patch new file mode 100644 index 00000000..5202e176 --- /dev/null +++ b/common/recipes-kernel/linux/linux-yocto-4.19.8/0424-drm-amdgpu-Enable-DPG-mode-on-PCO.patch @@ -0,0 +1,35 @@ +From 03e50dce5ad2dab1b3e51870538bee3d0c9f9678 Mon Sep 17 00:00:00 2001 +From: James Zhu <James.Zhu@amd.com> +Date: Fri, 21 Sep 2018 14:47:45 -0400 +Subject: [PATCH 0424/2940] drm/amdgpu:Enable DPG mode on PCO +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Add flag AMD_PG_SUPPORT_DPG to enable DPG mode on Picasso + +Signed-off-by: James Zhu <James.Zhu@amd.com> +Reviewed-by: Alex Deucher <alexander.deucher@amd.com> +Reviewed-by: Huang Rui <ray.huang@amd.com> +Acked-by: Christian König <christian.koenig@amd.com> +--- + drivers/gpu/drm/amd/amdgpu/soc15.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c +index bae16d942c21..7461ce87a049 100644 +--- a/drivers/gpu/drm/amd/amdgpu/soc15.c ++++ b/drivers/gpu/drm/amd/amdgpu/soc15.c +@@ -739,7 +739,8 @@ static int soc15_common_early_init(void *handle) + + adev->pg_flags = AMD_PG_SUPPORT_SDMA | + AMD_PG_SUPPORT_MMHUB | +- AMD_PG_SUPPORT_VCN; ++ AMD_PG_SUPPORT_VCN | ++ AMD_PG_SUPPORT_VCN_DPG; + } else { + adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | + AMD_CG_SUPPORT_GFX_MGLS | +-- +2.17.1 + |