]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Consult aux_ch instead of port in ->get_aux_clock_divider()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 22 Feb 2018 18:10:33 +0000 (20:10 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 28 Feb 2018 16:11:27 +0000 (18:11 +0200)
commit45032a5aece51938db663e9629e3b9455f940418
tree23efc9dc6724e4fef8b008393f88778ec4c5cd67
parent5216a5587498a3e6b5e66a260387a44d24bd9499
drm/i915: Consult aux_ch instead of port in ->get_aux_clock_divider()

While it seems totally unlikely that any system would mix a cpu/north
aux channel with a pch/south port (or vice versa) we should still
consult intel_dp->aux_ch rather than encoder->port when figuring out
which clock is actually used by the aux ch.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180222181036.15251-5-ville.syrjala@linux.intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> #irc
drivers/gpu/drm/i915/intel_dp.c