]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc44475e26243a2c0133e2d447887871b254cd020
tree24b4dfce9d1b54821efb40c58c0a232336e31a85
parent99c0e7b602842bba8be39143ffaf720dee0b54ed
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