drm/i915: Generalize transcoder looping
authorMika Kahola <mika.kahola@intel.com>
Thu, 9 Nov 2017 08:37:50 +0000 (10:37 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 14 Nov 2017 14:17:51 +0000 (16:17 +0200)
commit3657e92762c42b098cb7057ac86b1c7cd30336e5
treedf172e6d993b117f947f7c2a197cdc2159adb6b8
parent4036c78ccf6bf411d09dbf3ec9a9cc7c1838b7b2
drm/i915: Generalize transcoder looping

To make looping through transcoders in intel_ddi.c more generic, let's switch
to use 'for_each_pipe()' macro to do this.

v2: Add a notion that we are dealing with transcoders instead of pipes (Jani)

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Mika Kahola <mika.kahola@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1510216670-16848-1-git-send-email-mika.kahola@intel.com
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
drivers/gpu/drm/i915/intel_ddi.c