]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: handle G45/GM45 pulse detection connected state.
authorDave Airlie <airlied@redhat.com>
Mon, 1 Sep 2014 06:58:12 +0000 (16:58 +1000)
committerJani Nikula <jani.nikula@intel.com>
Mon, 1 Sep 2014 13:47:01 +0000 (16:47 +0300)
commitdaabf6493456a2658ae700d1c49cfd33838886fc
treee5525473bcb020fecfefa08feeda2ecd0ba37470
parentaf733d8148de5b17f4f09cd5b956a025ba8fa2f5
drm/i915: handle G45/GM45 pulse detection connected state.

In the HPD pulse handler we check for long pulses if the port is actually
connected, however we do that for IBX, but we use the pulse handling code on
GM45 systems as well, so we need to use a diffent check.

This patch refactors the digital port connected check out of the g4x detection
path and reuses it in the hpd pulse path.

Fixes: http://lkml.kernel.org/r/1409382202.5141.36.camel@marge.simpson.net
Reported-by: Mike Galbraith <umgwanakikbuti@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Acked-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_dp.c