commit | 4d454e9ffdb1ef5a51ebc147b5389c96048db683 | [log] [tgz] |
---|---|---|
author | Rex Zhu <Rex.Zhu@amd.com> | Tue Nov 13 11:15:56 2018 +0800 |
committer | Alex Deucher <alexander.deucher@amd.com> | Tue Nov 13 10:20:41 2018 -0500 |
tree | 2e804e9089b9f6fc7e0e71119c3f18921aa32236 | |
parent | c837243ff4017f493c7d6f4ab57278d812a86859 [diff] |
drm/amd/pp: Fix truncated clock value when set watermark the clk value should be tranferred to MHz first and then transfer to uint16. otherwise, the clock value will be truncated. Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reported-by: Hersen Wu <hersenxs.wu@amd.com> Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org