diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2405-drm-amdgpu-enable-VCN2.0-DPG-mode.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2405-drm-amdgpu-enable-VCN2.0-DPG-mode.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2405-drm-amdgpu-enable-VCN2.0-DPG-mode.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2405-drm-amdgpu-enable-VCN2.0-DPG-mode.patch new file mode 100644 index 00000000..f243c3b7 --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2405-drm-amdgpu-enable-VCN2.0-DPG-mode.patch @@ -0,0 +1,32 @@ +From 1b6ba8f44fef2a11ebc6a47a5aa8aff7d8ebd0d3 Mon Sep 17 00:00:00 2001 +From: Leo Liu <leo.liu@amd.com> +Date: Wed, 15 May 2019 13:58:20 -0400 +Subject: [PATCH 2405/2940] drm/amdgpu: enable VCN2.0 DPG mode + +It will be the default for VCN2.x family + +Signed-off-by: Leo Liu <leo.liu@amd.com> +Reviewed-by: Alex Deucher <alexander.deucher@amd.com> +Reviewed-by: James Zhu <James.Zhu@amd.com> +Signed-off-by: Alex Deucher <alexander.deucher@amd.com> +--- + drivers/gpu/drm/amd/amdgpu/nv.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c +index 70d844d06e20..3cfc15be6ff8 100644 +--- a/drivers/gpu/drm/amd/amdgpu/nv.c ++++ b/drivers/gpu/drm/amd/amdgpu/nv.c +@@ -505,7 +505,8 @@ static int nv_common_early_init(void *handle) + AMD_CG_SUPPORT_VCN_MGCG | + AMD_CG_SUPPORT_BIF_MGCG | + AMD_CG_SUPPORT_BIF_LS; +- adev->pg_flags = AMD_PG_SUPPORT_VCN; ++ adev->pg_flags = AMD_PG_SUPPORT_VCN | ++ AMD_PG_SUPPORT_VCN_DPG; + adev->external_rev_id = adev->rev_id + 0x1; + break; + default: +-- +2.17.1 + |