drm/i915: simplify conditions for skipping the 2nd hpd loop iterations
authorJani Nikula <jani.nikula@intel.com>
Thu, 28 May 2015 12:43:49 +0000 (15:43 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 29 May 2015 08:15:29 +0000 (10:15 +0200)
commit641a969eff3ffb01088736ef9531caffe38a6fd9
tree6527d8989dc1cba5c4481ed813ae47a36e35de28
parentc91711f93f7102c4c71896b6e9273f222bf31989
drm/i915: simplify conditions for skipping the 2nd hpd loop iterations

Multiple positive and negative checks for hpd[i] & hotplug_trigger gets
hard to read. Simplify. This should make follow-up patches merging the
two loops easier. No functional changes.

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