diff options
author | Rex Zhu <Rex.Zhu@amd.com> | 2018-11-13 06:15:56 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-11-13 18:20:41 +0300 |
commit | 4d454e9ffdb1ef5a51ebc147b5389c96048db683 (patch) | |
tree | 2e804e9089b9f6fc7e0e71119c3f18921aa32236 /scripts | |
parent | c837243ff4017f493c7d6f4ab57278d812a86859 (diff) | |
download | linux-4d454e9ffdb1ef5a51ebc147b5389c96048db683.tar.xz |
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
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions