drm/i915: Use port clock to set correct N value
authorAditya Swarup <aditya.swarup@intel.com>
Thu, 27 Jun 2019 22:07:07 +0000 (15:07 -0700)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 3 Jul 2019 18:37:31 +0000 (21:37 +0300)
commit4a49c2bf9ee45e7475c4c2dec74a3c034345aa5b
treeb4a84a6b4e96908ff16659299e827c0a2b1b53ff
parent56e9371bc3f3e7d6c1a197a45d550b2ce6af25f6
drm/i915: Use port clock to set correct N value

Use port_clock to check the clock values in n/cts lookup table instead
of crtc_clock. As port_clock is already adjusted based on color mode set
(8 bit or deep color), this will help in checking clock values for deep
color modes from n/cts lookup table.

Signed-off-by: Aditya Swarup <aditya.swarup@intel.com>
Cc: Clint Taylor <Clinton.A.Taylor@intel.com>
Cc: Jani Nikula <jani.nikula@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190627220708.31700-1-aditya.swarup@intel.com
drivers/gpu/drm/i915/display/intel_audio.c