]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
drm/amd/display: Remove LINUX_VERSION_CODE check
authorHarry Wentland <harry.wentland@amd.com>
Tue, 21 Feb 2017 22:09:34 +0000 (17:09 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 21:15:10 +0000 (17:15 -0400)
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

index 0c50433d6ba3e4aca3c3f4f9370a0aa03d44b496..d0706e550e84c688dbbd52f49d87bb2c63dd03d5 100644 (file)
@@ -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 */