]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: merge the two hpd loops in intel_hpd_irq_handler to one
authorJani Nikula <jani.nikula@intel.com>
Thu, 28 May 2015 12:43:51 +0000 (15:43 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 29 May 2015 08:15:30 +0000 (10:15 +0200)
commit9ace043310ba4875e08863b9f31f429d853685f2
tree1595bd6570b97be3f3951260db026f2deb2fe1d7
parentab68d5bb0b49727e4049b018185f82764cf44736
drm/i915: merge the two hpd loops in intel_hpd_irq_handler to one

Nothing in the two consecutive loops over hpd pins depends on state in a
larger context than the single hpd pin. If we skip the rest of the loop
on short hpd pulses, we can merge the two loops into one.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_irq.c