diff options
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/4179-drm-amd-display-Remove-PRE_VEGA-flag.patch')
-rw-r--r-- | common/recipes-kernel/linux/linux-yocto-4.14.71/4179-drm-amd-display-Remove-PRE_VEGA-flag.patch | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/4179-drm-amd-display-Remove-PRE_VEGA-flag.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/4179-drm-amd-display-Remove-PRE_VEGA-flag.patch new file mode 100644 index 00000000..9d6c49da --- /dev/null +++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/4179-drm-amd-display-Remove-PRE_VEGA-flag.patch @@ -0,0 +1,51 @@ +From 97bdf63fde47ee460b46c2980613d2b94de8f44b Mon Sep 17 00:00:00 2001 +From: Harry Wentland <harry.wentland@amd.com> +Date: Mon, 9 Apr 2018 14:27:46 -0400 +Subject: [PATCH 4179/5725] drm/amd/display: Remove PRE_VEGA flag + +We enabled this upstream by default now and no longer need the flag. + +Signed-off-by: Harry Wentland <harry.wentland@amd.com> +Reviewed-by: Alex Deucher <alexander.deucher@amd.com> +Signed-off-by: Kalyan Alle <kalyan.alle@amd.com> +--- + drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 --- + drivers/gpu/drm/amd/display/Kconfig | 8 -------- + 2 files changed, 11 deletions(-) + +diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +index 2bac39ee..1bf1219 100644 +--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c ++++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +@@ -2210,9 +2210,6 @@ bool amdgpu_device_asic_has_dc_support(enum amd_asic_type asic_type) + case CHIP_POLARIS12: + case CHIP_TONGA: + case CHIP_FIJI: +-#if defined(CONFIG_DRM_AMD_DC_PRE_VEGA) +- return amdgpu_dc != 0; +-#endif + case CHIP_VEGA10: + case CHIP_VEGA12: + #if defined(CONFIG_DRM_AMD_DC_DCN1_0) +diff --git a/drivers/gpu/drm/amd/display/Kconfig b/drivers/gpu/drm/amd/display/Kconfig +index 5f0a690..c3d49f8 100644 +--- a/drivers/gpu/drm/amd/display/Kconfig ++++ b/drivers/gpu/drm/amd/display/Kconfig +@@ -9,14 +9,6 @@ config DRM_AMD_DC + support for AMDGPU.This adds required support for Vega and + Raven ASICs. + +-config DRM_AMD_DC_PRE_VEGA +- bool "DC support for Polaris and older ASICs" +- default y +- help +- Choose this option to enable the new DC support for older asics +- by default. This includes Polaris, Carrizo, Tonga, Bonaire, +- and Hawaii. +- + config DRM_AMD_DC_FBC + bool "AMD FBC - Enable Frame Buffer Compression" + depends on DRM_AMD_DC +-- +2.7.4 + |