]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
drm/i915/gen9+: Enable hotplug detection early
authorImre Deak <imre.deak@intel.com>
Fri, 27 Jan 2017 09:39:18 +0000 (11:39 +0200)
committerImre Deak <imre.deak@intel.com>
Mon, 6 Feb 2017 14:32:32 +0000 (16:32 +0200)
commit7fff8126d9cc902b2636d05d5d34894a75174993
tree2fef0a24a973ff5cc572df76ae92eb8cc5c09afd
parenta6508ded2a6601fea903185034adc3622d94da0b
drm/i915/gen9+: Enable hotplug detection early

For LSPCON resume time initialization we need to sample the
corresponding pin's HPD level, but this is only available when HPD
detection is enabled. Currently we enable detection only when enabling
HPD interrupts which is too late, so bring the enabling of detection
earlier.

This is needed by the next patch.

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>
Cc: <stable@vger.kernel.org> # v4.9+
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-2-git-send-email-imre.deak@intel.com
drivers/gpu/drm/i915/i915_irq.c