linux/drivers/gpu/drm/ast
Benjamin Herrenschmidt 6475a7cce6 drm/ast: Fix calculation of MCLK
Some braces were missing causing an incorrect calculation.

Y.C. Chen from Aspeed provided me with the right formula
which I tested on AST2400 and 2500.

The MCLK isn't currently used by the driver (it will eventually
to filter modes) so the issue isn't catastrophic.

Also make the printed value a bit more meaningful

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Joel Stanley <joel@jms.id.au>
Tested-by: Y.C. Chen <yc_chen@aspeedtech.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2017-02-28 13:14:22 +10:00
..
ast_dp501.c drm/ast: Cleanup analog init code path 2014-09-15 11:37:46 +10:00
ast_dram_tables.h
ast_drv.c drm: define drm_compat_ioctl NULL on CONFIG_COMPAT=n and reduce #ifdefs 2016-11-02 11:33:47 -04:00
ast_drv.h drm/ast: const'ify mode setting tables 2017-02-28 13:12:27 +10:00
ast_fb.c drm: Rely on mode_config data for fb_helper initialization 2017-02-02 19:12:00 +01:00
ast_main.c drm/ast: Fix calculation of MCLK 2017-02-28 13:14:22 +10:00
ast_mode.c drm/ast: const'ify mode setting tables 2017-02-28 13:12:27 +10:00
ast_post.c drm/ast: Handle configuration without P2A bridge 2017-02-28 13:09:50 +10:00
ast_tables.h drm/ast: const'ify mode setting tables 2017-02-28 13:12:27 +10:00
ast_ttm.c drm/ttm: revert "implement LRU add callbacks v2" 2017-01-27 12:20:34 -05:00
Kconfig drm: fix compilations issues introduced by "drm: allow to use mmuless SoC" 2017-01-09 11:30:30 +01:00
Makefile drm/ast: initial DP501 support (v0.2) 2014-05-19 11:13:57 +10:00