[PATCH 1/8] drm/amd/display: Remove LINUX_VERSION_CODE check

Harry Wentland harry.wentland at amd.com
Thu Feb 23 16:33:36 UTC 2017


Signed-off-by: Harry Wentland <harry.wentland at 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 f066e2207b5e..29d1900bc650 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
@@ -892,14 +892,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.9.3



More information about the amd-gfx mailing list