]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Handle HPD when it has actually occurred
authorSonika Jindal <sonika.jindal@intel.com>
Wed, 8 Jul 2015 11:37:47 +0000 (17:07 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 8 Jul 2015 15:18:18 +0000 (17:18 +0200)
commit42fc36df527c600c55e83f4117f93b29df9e81cf
treea4d11edf09698542f5323773257cac80168568ff
parentd51612e9e59918f19a7f0bf075639710bc9cdb90
drm/i915: Handle HPD when it has actually occurred

Writing to PCH_PORT_HOTPLUG for each interrupt is not required.
Handle it only if hpd has actually occurred like we handle other
interrupts.
v2: Make few variables local to if block (Ville)
v3: Add check for ibx/cpt both (Ville).
    While at it, remove the redundant check for hotplug_trigger from
    pch_get_hpd_pins
v4: Indentation (Ville)

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Sonika Jindal <sonika.jindal@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_irq.c