drm/i915/gen5+, pch: Enable hotplug detection early
authorImre Deak <imre.deak@intel.com>
Fri, 27 Jan 2017 09:39:21 +0000 (11:39 +0200)
committerImre Deak <imre.deak@intel.com>
Mon, 6 Feb 2017 14:33:42 +0000 (16:33 +0200)
commit1a56b1a2db2d0c6422973fd4145d05135d8fb97c
tree8b2f2a38b6a7ff5929d4f021754171cc428df452
parentf123959594c000a43b267c75695bd3ffd0748eb1
drm/i915/gen5+, pch: Enable hotplug detection early

To be consistent with the recent change to enable hotplug detection
early on GEN9 platforms do the same on all non-GMCH platforms starting
from GEN5. On GMCH platforms enabling detection without interrupts isn't
trivial, since AUX and HPD have a shared interrupt line. It could be
done there too by using a SW interrupt mask, but I punt on that for now.

Cc: Shashank Sharma <shashank.sharma@intel.com>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Shashank Sharma <shashank.sharma@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1485509961-9010-5-git-send-email-imre.deak@intel.com
drivers/gpu/drm/i915/i915_irq.c