]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/vkms: Round fixp2int conversion in lerp_u16
authorHarry Wentland <harry.wentland@amd.com>
Fri, 20 Dec 2024 04:33:08 +0000 (21:33 -0700)
committerLouis Chauvet <louis.chauvet@bootlin.com>
Tue, 25 Feb 2025 15:15:55 +0000 (16:15 +0100)
commit8ec43c58d3be615a71548bc09148212013fb7e5f
tree6f149147db95b59316789023617ed1ce4580e558
parent511a3444f72efdc51fa923c4b1f5f0abd545fb20
drm/vkms: Round fixp2int conversion in lerp_u16

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>
drivers/gpu/drm/vkms/vkms_composer.c