commit | 508f60e36a4288beb920b921924742c2b3e12a0d | [log] [tgz] |
---|---|---|
author | Vitaly Prosyak <vitaly.prosyak@amd.com> | Fri Nov 24 15:52:33 2017 -0600 |
committer | Alex Deucher <alexander.deucher@amd.com> | Thu Dec 14 10:57:36 2017 -0500 |
tree | 63859abb0e577ee17b7ca2c723d4b023d345e676 | |
parent | 40e045a9733f3c032ff957d9663c106c82fd5343 [diff] |
drm/amd/display: Correct fixed point calculation. When convert from fixed31_32 to other fixed point format use math operation round instead of floor. Signed-off-by: Vitaly Prosyak <vitaly.prosyak@amd.com> Reviewed-by: Roman Li <Roman.Li@amd.com> Reviewed-by: Krunoslav Kovac <Krunoslav.Kovac@amd.com> Acked-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>