diff options
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.19.8/0772-drm-amdgpu-display-dm-handle-FBC-dc-feature-paramete.patch')
-rw-r--r-- | common/recipes-kernel/linux/linux-yocto-4.19.8/0772-drm-amdgpu-display-dm-handle-FBC-dc-feature-paramete.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.19.8/0772-drm-amdgpu-display-dm-handle-FBC-dc-feature-paramete.patch b/common/recipes-kernel/linux/linux-yocto-4.19.8/0772-drm-amdgpu-display-dm-handle-FBC-dc-feature-paramete.patch new file mode 100644 index 00000000..04fc86f3 --- /dev/null +++ b/common/recipes-kernel/linux/linux-yocto-4.19.8/0772-drm-amdgpu-display-dm-handle-FBC-dc-feature-paramete.patch @@ -0,0 +1,31 @@ +From 658223dccb38d4555179a6b5039591f5cd0a99e3 Mon Sep 17 00:00:00 2001 +From: Alex Deucher <alexander.deucher@amd.com> +Date: Tue, 6 Nov 2018 15:19:49 -0500 +Subject: [PATCH 0772/2940] drm/amdgpu/display/dm: handle FBC dc feature + parameter + +Set the dc_config properly when the option is enabled. + +Reviewed-by: Harry Wentland <harry.wentland@amd.com> +Signed-off-by: Alex Deucher <alexander.deucher@amd.com> +--- + drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +index 492793722654..fe169553e884 100644 +--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c ++++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +@@ -434,6 +434,9 @@ static int amdgpu_dm_init(struct amdgpu_device *adev) + adev->asic_type < CHIP_RAVEN) + init_data.flags.gpu_vm_support = true; + ++ if (amdgpu_dc_feature_mask & DC_FBC_MASK) ++ init_data.flags.fbc_support = true; ++ + /* Display Core create. */ + adev->dm.dc = dc_create(&init_data); + +-- +2.17.1 + |