diff options
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/4498-drm-amdgpu-Add-CG-PG-flags-for-VCN.patch')
-rw-r--r-- | common/recipes-kernel/linux/linux-yocto-4.14.71/4498-drm-amdgpu-Add-CG-PG-flags-for-VCN.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/4498-drm-amdgpu-Add-CG-PG-flags-for-VCN.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/4498-drm-amdgpu-Add-CG-PG-flags-for-VCN.patch new file mode 100644 index 00000000..9983fdbe --- /dev/null +++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/4498-drm-amdgpu-Add-CG-PG-flags-for-VCN.patch @@ -0,0 +1,36 @@ +From 9d1dd7d2b401367a01b5108884d60a34489a793e Mon Sep 17 00:00:00 2001 +From: Rex Zhu <Rex.Zhu@amd.com> +Date: Wed, 16 May 2018 20:10:25 +0800 +Subject: [PATCH 4498/5725] drm/amdgpu: Add CG/PG flags for VCN + +Change-Id: I43d116a7bdccb50f375b0e7f35943a4133812b87 +Reviewed-by: Alex Deucher <alexander.deucher@amd.com> +Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> +--- + drivers/gpu/drm/amd/include/amd_shared.h | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/drivers/gpu/drm/amd/include/amd_shared.h b/drivers/gpu/drm/amd/include/amd_shared.h +index e3a6fad..0c30256 100644 +--- a/drivers/gpu/drm/amd/include/amd_shared.h ++++ b/drivers/gpu/drm/amd/include/amd_shared.h +@@ -92,7 +92,7 @@ enum amd_powergating_state { + #define AMD_CG_SUPPORT_GFX_3D_CGLS (1 << 21) + #define AMD_CG_SUPPORT_DRM_MGCG (1 << 22) + #define AMD_CG_SUPPORT_DF_MGCG (1 << 23) +- ++#define AMD_CG_SUPPORT_VCN_MGCG (1 << 24) + /* PG flags */ + #define AMD_PG_SUPPORT_GFX_PG (1 << 0) + #define AMD_PG_SUPPORT_GFX_SMG (1 << 1) +@@ -108,6 +108,7 @@ enum amd_powergating_state { + #define AMD_PG_SUPPORT_GFX_QUICK_MG (1 << 11) + #define AMD_PG_SUPPORT_GFX_PIPELINE (1 << 12) + #define AMD_PG_SUPPORT_MMHUB (1 << 13) ++#define AMD_PG_SUPPORT_VCN (1 << 14) + + enum PP_FEATURE_MASK { + PP_SCLK_DPM_MASK = 0x1, +-- +2.7.4 + |