diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0220-drm-amd-display-Remove-LINUX_VERSION_CODE-check.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0220-drm-amd-display-Remove-LINUX_VERSION_CODE-check.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0220-drm-amd-display-Remove-LINUX_VERSION_CODE-check.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0220-drm-amd-display-Remove-LINUX_VERSION_CODE-check.patch new file mode 100644 index 00000000..0cf1653d --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0220-drm-amd-display-Remove-LINUX_VERSION_CODE-check.patch @@ -0,0 +1,33 @@ +From ae24e4e4739c9c74bb26c55ddda0370266cf3142 Mon Sep 17 00:00:00 2001 +From: Harry Wentland <harry.wentland@amd.com> +Date: Tue, 21 Feb 2017 17:09:34 -0500 +Subject: [PATCH 0220/4131] drm/amd/display: Remove LINUX_VERSION_CODE check + +Signed-off-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 | 2 -- + 1 file changed, 2 deletions(-) + +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 3cc2a91..26a4c2d 100644 +--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c ++++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +@@ -886,14 +886,12 @@ static void dm_handle_hpd_rx_irq(struct amdgpu_connector *aconnector) + process_count++; + + DRM_DEBUG_KMS("ESI %02x %02x %02x\n", esi[0], esi[1], esi[2]); +-#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 3, 0) + /* handle HPD short pulse irq */ + if (aconnector->mst_mgr.mst_state) + drm_dp_mst_hpd_irq( + &aconnector->mst_mgr, + esi, + &new_irq_handled); +-#endif + + if (new_irq_handled) { + /* ACK at DPCD to notify down stream */ +-- +2.7.4 + |