diff options
author | Harry Wentland <harry.wentland@amd.com> | 2024-12-19 21:33:08 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-03-22 12:54:20 -0700 |
commit | 665de082f3cb154b3ee2dc9261382c3062d8963f (patch) | |
tree | d528d84dd33c2fd6bfec73be08bee381f66ff1a4 /rust/kernel/alloc/layout.rs | |
parent | 7b67d2671481393f45f34db529151e4ab6149ab5 (diff) |
drm/vkms: Round fixp2int conversion in lerp_u16
[ Upstream commit 8ec43c58d3be615a71548bc09148212013fb7e5f ]
fixp2int always rounds down, fixp2int_ceil rounds up. We need
the new fixp2int_round.
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Louis Chauvet <louis.chauvet@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241220043410.416867-3-alex.hung@amd.com
Signed-off-by: Louis Chauvet <louis.chauvet@bootlin.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'rust/kernel/alloc/layout.rs')
0 files changed, 0 insertions, 0 deletions