[PATCH 05/12] drm/ast: Fix calculation of MCLK
yc_chen at aspeedtech.com
Fri Feb 24 18:06:46 AEDT 2017
Tested-by: Y.C. Chen <yc_chen at aspeedtech.com>
From: Benjamin Herrenschmidt [mailto:benh at kernel.crashing.org]
Sent: Friday, February 24, 2017 6:54 AM
To: dri-devel at lists.freedesktop.org
Cc: YC Chen <yc_chen at aspeedtech.com>; airlied at redhat.com; eich at suse.come; linuxppc-dev at ozlabs.org
Subject: [PATCH 05/12] 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 at kernel.crashing.org>
More information about the Linuxppc-dev