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: NVitaly Prosyak <vitaly.prosyak@amd.com> Reviewed-by: NRoman Li <Roman.Li@amd.com> Reviewed-by: NKrunoslav Kovac <Krunoslav.Kovac@amd.com> Acked-by: NHarry Wentland <harry.wentland@amd.com> Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
Showing
想要评论请 注册 或 登录