[PATCH 05/12] drm/ast: Fix calculation of MCLK

YC Chen yc_chen at aspeedtech.com
Fri Feb 24 07:06:46 UTC 2017


Tested-by: Y.C. Chen <yc_chen at aspeedtech.com>

-----Original Message-----
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 dri-devel mailing list