drm/i915: add for_each_port_masked macro
authorJani Nikula <jani.nikula@intel.com>
Tue, 15 Mar 2016 19:51:09 +0000 (21:51 +0200)
committerJani Nikula <jani.nikula@intel.com>
Wed, 16 Mar 2016 16:08:48 +0000 (18:08 +0200)
commitc3aeadc8d3580b319d51c62fb82255b06a1c4fd8
treeebdf5cf9f3ed40525a35cbb35f20e4335dda9deb
parent1e78aa014b84ff23f99daa0e0832b01337244062
drm/i915: add for_each_port_masked macro

Same as for_each_dsi_port, but for general use. Leave the
for_each_dsi_port version around as an "alias" for now to not cause too
much churn. No functional changes.

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/a0ef5bf33395e1fcd87178b17d6687b022042cf7.1458070700.git.jani.nikula@intel.com
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_dsi.h