aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorHarry Wentland <harry.wentland@amd.com>2017-02-21 17:09:34 -0500
committerAlex Deucher <alexander.deucher@amd.com>2017-09-26 17:15:10 -0400
commit7d4e9bf9835ad081fb5967336cace7f5aa8ffd6d (patch)
treee7041d5e707aea2e01a7f0cc201a7ce89603b030
parentdrm/amd/display: Don't attempt to program missing register fields on DCE8 (diff)
downloadwireguard-linux-7d4e9bf9835ad081fb5967336cace7f5aa8ffd6d.tar.xz
wireguard-linux-7d4e9bf9835ad081fb5967336cace7f5aa8ffd6d.zip
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>
-rw-r--r--drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c2
1 files changed, 0 insertions, 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 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 */