Continuing from [1], here's further hotplug code cleanup. Unfortunately I realized I need to retract one change from the previous series, the indentation change in intel_hpd_irq_handler, but it's not a big deal. The main change here is patch 6/7 which splits platform specific parts from platform agnostic parts. BR, Jani. [1] http://mid.gmane.org/cover.1432728144.git.jani.nikula@xxxxxxxxx Jani Nikula (7): drm/i915: add for_each_hpd_pin to iterate over hotplug pins drm/i915: simplify conditions for skipping the 2nd hpd loop iterations drm/i915: put back the indent in intel_hpd_irq_handler drm/i915: merge the two hpd loops in intel_hpd_irq_handler to one drm/i915: simplify condition for digital port drm/i915: abstract away platform specific parts from hpd handling drm/i915/bxt: clear hpd status sticky bits earlier drivers/gpu/drm/i915/i915_drv.h | 3 + drivers/gpu/drm/i915/i915_irq.c | 210 ++++++++++++++++++++++++---------------- 2 files changed, 128 insertions(+), 85 deletions(-) -- 2.1.4 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx