drivers: video: tegra: dc: Add pclk rounding
authorAly Hirani <ahirani@nvidia.com>
Mon, 14 Dec 2015 01:41:59 +0000 (17:41 -0800)
committermobile promotions <svcmobile_promotions@nvidia.com>
Wed, 16 Dec 2015 10:50:33 +0000 (02:50 -0800)
commited861ac30f8ef1bc5d63d3e74957198288101ccc
treeb55130a7ea63ddf8198aa82b64ab92dc2361f5b7
parente75809916fa7760a8a71cb6f82438d60ebe0076f
drivers: video: tegra: dc: Add pclk rounding

This changes the way we round for 1000DIV1001 modes. Instead of trying
to do the exact 60/1.001, do the exact bit of pre-rounding that the
GPU does.

Bug 1711896

Change-Id: I5a8404cacf8aa6c11ddee4cd83183b83570eb8cf
Signed-off-by: Aly Hirani <ahirani@nvidia.com>
Reviewed-on: http://git-master/r/922296
Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com>
GVS: Gerrit_Virtual_Submit
drivers/video/tegra/dc/hdmi2.0.c