From: Harry Wentland Date: Tue, 21 Feb 2017 22:09:34 +0000 (-0500) Subject: drm/amd/display: Remove LINUX_VERSION_CODE check X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7d4e9bf9835ad081fb5967336cace7f5aa8ffd6d;p=openwrt%2Fstaging%2Fblogic.git drm/amd/display: Remove LINUX_VERSION_CODE check Signed-off-by: Harry Wentland Signed-off-by: Alex Deucher --- 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 0c50433d6ba3..d0706e550e84 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 */