aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0065-drm-amdgpu-remove-some-redundent-DC-checks.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0065-drm-amdgpu-remove-some-redundent-DC-checks.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0065-drm-amdgpu-remove-some-redundent-DC-checks.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0065-drm-amdgpu-remove-some-redundent-DC-checks.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0065-drm-amdgpu-remove-some-redundent-DC-checks.patch
new file mode 100644
index 00000000..df150e1f
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0065-drm-amdgpu-remove-some-redundent-DC-checks.patch
@@ -0,0 +1,35 @@
+From 0b8c2470b9c2280787cdc287b63bc104323893fd Mon Sep 17 00:00:00 2001
+From: Alex Deucher <alexander.deucher@amd.com>
+Date: Mon, 19 Dec 2016 16:57:00 -0500
+Subject: [PATCH 0065/4131] drm/amdgpu: remove some redundent DC checks
+
+Remnants of the per asic dal support removal. Trivial.
+
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 4 ----
+ 1 file changed, 4 deletions(-)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+index 12de22a..e01a1b4 100644
+--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
++++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+@@ -1974,15 +1974,11 @@ bool amdgpu_device_asic_has_dc_support(enum amd_asic_type asic_type)
+ case CHIP_BONAIRE:
+ case CHIP_HAWAII:
+ return amdgpu_dc != 0;
+-#endif
+-#if defined(CONFIG_DRM_AMD_DC)
+ case CHIP_CARRIZO:
+ case CHIP_STONEY:
+ case CHIP_POLARIS11:
+ case CHIP_POLARIS10:
+ return amdgpu_dc != 0;
+-#endif
+-#if defined(CONFIG_DRM_AMD_DC)
+ case CHIP_TONGA:
+ case CHIP_FIJI:
+ return amdgpu_dc != 0;
+--
+2.7.4
+