drm/i915: Extract intel_disable_ddi_buf()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 10 Oct 2017 12:12:01 +0000 (15:12 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 13 Oct 2017 17:50:56 +0000 (20:50 +0300)
commite725f6456f6fd251e8e02685dfe22543a8c73f5a
tree24b4dfce9d1b54821efb40c58c0a232336e31a85
parent6b8506d575e3d7a064a526202007929429c28f9e
drm/i915: Extract intel_disable_ddi_buf()

Extract the code to disable the DDI_BUF_CTL into small helper. This
will allows us to detangle the encoder type mess in
intel_ddi_post_disable().

v2: Keep using intel_ddi_get_encoder_port() for now

Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171010121207.570-4-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/intel_ddi.c