]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Sink rate read should be saved in deca-kHz
authorSonika Jindal <sonika.jindal@intel.com>
Thu, 7 May 2015 08:29:28 +0000 (13:59 +0530)
committerJani Nikula <jani.nikula@intel.com>
Thu, 7 May 2015 08:57:00 +0000 (11:57 +0300)
commit61238cf0f35f3fc17f79bc1fc3b59615b4046774
treeaf8cce8d2883d91a11aa51ecf64078b6253626a2
parentda78cbd1d2c161cf7591276c09d6e0751f7c5459
drm/i915: Sink rate read should be saved in deca-kHz

The sink rate read from supported link rate table is in KHz as per spec
while in drm, the saved clock is in deca-KHz. So divide the link rate by
10 before storing.

Reading of rates was added by:
commit 435a1a9bd179 ("drm/i915/skl: Read sink supported rates from edp
panel")

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Sonika Jindal <sonika.jindal@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_dp.c