CHROMIUM: drm: rockchip/dw_hdmi-rockchip: refactor the mode table
authorYakir Yang <ykk@rock-chips.com>
Sat, 16 Jul 2016 08:39:04 +0000 (16:39 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Tue, 19 Jul 2016 07:22:07 +0000 (15:22 +0800)
commitbc29e0086129311ec084975bc7fba85d3236f925
treef7683071f8c7dd1cddb54ea13e2dc7d250654dbc
parent15fe5755d5af9a87852a14b25a70d7e86af66524
CHROMIUM: drm: rockchip/dw_hdmi-rockchip: refactor the mode table

This cleanup will allow the following patch to implement slop easier.

25175000-40000000 and a few other ranges use the same settings.
And the rest of the driver already snaps to the next highest
frequency when it gets the settings. So this patch removes
a lot of the duplicates. It should be a noop change.

And frequencies within 0.1% should be close enough, let's redo
rockchip hdmi to allow slop.

Change-Id: Ic4865b2825de9b6c3b3e8d029066a8964e8ede6b
Signed-off-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Alexandru M Stan <amstan@chromium.org>
Signed-off-by: Yakir Yang <ykk@rock-chips.com>
drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c