]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Nuke intel_ddi_get_encoder_port()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 27 Oct 2017 19:31:25 +0000 (22:31 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 30 Oct 2017 17:55:18 +0000 (19:55 +0200)
commit0fce04c8764bd0d6ef9b4488460a5a880afb1c73
tree548bcc1e3a0d115d74a262741d72266a8f6363e4
parent7e732cacb1ae27b2eb6902cabd93e9da086c54f0
drm/i915: Nuke intel_ddi_get_encoder_port()

encoder->port works for FDI, and it also works for MST (regardless of
whether we're dealing with the "fake" MST encoder, or mst->primary).
So let's eliminate intel_ddi_get_encoder_port().

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171027193128.14483-4-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/intel_ddi.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_opregion.c