]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/dp: compute the pch dp aux divider from the rawclk
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sat, 20 Oct 2012 18:57:44 +0000 (20:57 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 24 Oct 2012 15:54:36 +0000 (17:54 +0200)
commit0962ed6f4007682f2bdff01ae369343121927a27
tree6d71b706e055498d16c11ce5e340a35a82fde6f3
parenta99d783a15af148cd55ff807df99ee2486e42212
drm/i915/dp: compute the pch dp aux divider from the rawclk

Otherwise dp aux won't work on some hsw platforms, since they use a
different rawclk than the 125MHz clock used thus far.

To absolutely not change anything, round up: That way we get the old
63 divider for the default 125MHz clock.

Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Tested-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dp.c