drm/i915: take display port power domain in DP HPD handler
authorImre Deak <imre.deak@intel.com>
Mon, 18 Aug 2014 11:42:42 +0000 (14:42 +0300)
committerJani Nikula <jani.nikula@intel.com>
Mon, 18 Aug 2014 13:15:57 +0000 (16:15 +0300)
commit1c767b339b3938b19076ffdc9d70aa1e4235a45b
tree1e3962f93c558ef034dec857e590f2a2e44ec37a
parent1add143caf593cfc7514f1c83470fba0664ae0a3
drm/i915: take display port power domain in DP HPD handler

Ville noticed that we can call ibx_digital_port_connected() which accesses
the HW without holding any power well/runtime pm reference. Fix this by
holding a display port power domain reference around the whole hpd_pulse
handler.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Cc: stable@vger.kernel.org (3.16+)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_dp.c