diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2017-02-17 13:57:30 +1100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2017-02-28 13:14:22 +1000 |
commit | 6475a7cce61967fca4dd793b60acf5a7dc70bc9a (patch) | |
tree | bb37714e4493a0757c5b97de3631a29eded9edf6 /drivers/gpu/drm/ast/ast_mode.c | |
parent | cf2f6bd402470caed4e4d75b783d2d48277a3568 (diff) | |
download | lwn-6475a7cce61967fca4dd793b60acf5a7dc70bc9a.tar.gz lwn-6475a7cce61967fca4dd793b60acf5a7dc70bc9a.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/ast/ast_mode.c')
0 files changed, 0 insertions, 0 deletions