Commit 7d4e9bf9 authored by Harry Wentland's avatar Harry Wentland Committed by Alex Deucher

drm/amd/display: Remove LINUX_VERSION_CODE check

Signed-off-by: default avatarHarry Wentland <harry.wentland@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent beed42b5
...@@ -886,14 +886,12 @@ static void dm_handle_hpd_rx_irq(struct amdgpu_connector *aconnector) ...@@ -886,14 +886,12 @@ static void dm_handle_hpd_rx_irq(struct amdgpu_connector *aconnector)
process_count++; process_count++;
DRM_DEBUG_KMS("ESI %02x %02x %02x\n", esi[0], esi[1], esi[2]); 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 */ /* handle HPD short pulse irq */
if (aconnector->mst_mgr.mst_state) if (aconnector->mst_mgr.mst_state)
drm_dp_mst_hpd_irq( drm_dp_mst_hpd_irq(
&aconnector->mst_mgr, &aconnector->mst_mgr,
esi, esi,
&new_irq_handled); &new_irq_handled);
#endif
if (new_irq_handled) { if (new_irq_handled) {
/* ACK at DPCD to notify down stream */ /* ACK at DPCD to notify down stream */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment