]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Pass encoder to intel_ddi_enable_pipe_clock()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 17 Apr 2020 13:47:17 +0000 (16:47 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 20 Apr 2020 18:20:58 +0000 (21:20 +0300)
commit5bc9252f184e953e6db4a90581a750e80ef4bf77
tree7caf6a1f0ef507b87cf6efaeddbcfe56ff9d3e8a
parentbc1d14e62049a96be82b8844bd57103da6bbb2cc
drm/i915: Pass encoder to intel_ddi_enable_pipe_clock()

Since intel_ddi_enable_pipe_clock() was pushed down into the
encoder hooks we can pass on the encoder instead of having
to use intel_ddi_get_crtc_encoder().

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200417134720.16654-1-ville.syrjala@linux.intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_crt.c
drivers/gpu/drm/i915/display/intel_ddi.c
drivers/gpu/drm/i915/display/intel_ddi.h
drivers/gpu/drm/i915/display/intel_dp_mst.c