diff options
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.19.8/0268-drm-amd-display-Add-DC-config-flag-for-Raven2-v2.patch')
-rw-r--r-- | common/recipes-kernel/linux/linux-yocto-4.19.8/0268-drm-amd-display-Add-DC-config-flag-for-Raven2-v2.patch | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.19.8/0268-drm-amd-display-Add-DC-config-flag-for-Raven2-v2.patch b/common/recipes-kernel/linux/linux-yocto-4.19.8/0268-drm-amd-display-Add-DC-config-flag-for-Raven2-v2.patch new file mode 100644 index 00000000..6d659342 --- /dev/null +++ b/common/recipes-kernel/linux/linux-yocto-4.19.8/0268-drm-amd-display-Add-DC-config-flag-for-Raven2-v2.patch @@ -0,0 +1,50 @@ +From aad53cc9a895544843b796c7e1c5040b12a39f17 Mon Sep 17 00:00:00 2001 +From: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com> +Date: Mon, 22 Jan 2018 17:40:50 -0500 +Subject: [PATCH 0268/2940] drm/amd/display: Add DC config flag for Raven2 (v2) + +Add DRM_AMD_DC_DCN1_01 config flag for Raven2 + +v2: Make DC select DRM_AMD_DC_DCN1_01 (Alex) + +Change-Id: Ifdc0114678612a522c035bffd9809b3fc1caa1a7 +Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com> +Reviewed-by: Harry Wentland <harry.wentland@amd.com> +Reviewed-by: Huang Rui <ray.huang@amd.com> +Acked-by: Alex Deucher <alexander.deucher@amd.com +Signed-off-by: Alex Deucher <alexander.deucher@amd.com> +Signed-off-by: Kalyan Alle <kalyan.alle@amd.com> +--- + drivers/gpu/drm/amd/display/Kconfig | 11 +++++++++++ + 1 file changed, 11 insertions(+) + +diff --git a/drivers/gpu/drm/amd/display/Kconfig b/drivers/gpu/drm/amd/display/Kconfig +index 2201b85c66e3..13a6ce9c8e94 100644 +--- a/drivers/gpu/drm/amd/display/Kconfig ++++ b/drivers/gpu/drm/amd/display/Kconfig +@@ -5,11 +5,22 @@ config DRM_AMD_DC + bool "AMD DC - Enable new display engine" + default y + select DRM_AMD_DC_DCN1_0 if X86 && !(KCOV_INSTRUMENT_ALL && KCOV_ENABLE_COMPARISONS) ++ select DRM_AMD_DC_DCN1_01 if X86 && !(KCOV_INSTRUMENT_ALL && KCOV_ENABLE_COMPARISONS) + help + Choose this option if you want to use the new display engine + support for AMDGPU. This adds required support for Vega and + Raven ASICs. + ++config DRM_AMD_DC_DCN1_0 ++ def_bool n ++ help ++ RV family support for display engine ++ ++config DRM_AMD_DC_DCN1_01 ++ def_bool n ++ help ++ RV2 family for display engine ++ + config DEBUG_KERNEL_DC + bool "Enable kgdb break in DC" + depends on DRM_AMD_DC +-- +2.17.1 + |