CHROMIUM: drm: rockchip/dw_hdmi: introduce werid audio tmds_n table
authorYakir Yang <ykk@rock-chips.com>
Sun, 6 Dec 2015 11:26:52 +0000 (19:26 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Tue, 19 Jul 2016 07:25:46 +0000 (15:25 +0800)
commit01240c217a78dac4d12eda161d9b756fc8ac5912
tree3a7945e4b27fd924c0f4ef4995e039bbcaf583f7
parentd46288cf0b5fa5313bf373d0fa4cee6a05310fc4
CHROMIUM: drm: rockchip/dw_hdmi: introduce werid audio tmds_n table

There are some rates that would be ranged for better clock jitter at
Chrome OS tree, like 25.175Mhz would range to 25.170732Mhz.

But due to the clock is aglined to KHz in struct drm_display_mode,
this would bring some inaccurate error if we still run the compute_n
math, so let's just code an const table for it until we can actually
get the right clock rate.

Change-Id: Ief14b7c9bffa95ff3b173925f3e1bd795625320d
Signed-off-by: Yakir Yang <ykk@rock-chips.com>
Reviewed-on: https://chromium-review.googlesource.com/316280
Commit-Ready: Douglas Anderson <dianders@chromium.org>
Tested-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c