commit | cd45e30a7099e5fcbc25fcfa035fa604255afdee | [log] [tgz] |
---|---|---|
author | Thomas Zimmermann <tzimmermann@suse.de> | Fri Dec 06 09:59:52 2019 +0100 |
committer | Thomas Zimmermann <tzimmermann@suse.de> | Fri Dec 06 13:51:52 2019 +0100 |
tree | 51db71b4a34cc6fed8b0f8769ee0970a7d62865d | |
parent | ffc90486e320ba68f63de39fe04d757ce0cf49e5 [diff] |
drm/udl: Move log-cpp code out of udl_damage_handler() Computing the cpp value's logarithm in a separate helper function makes the damage-handler code more readable. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Emil Velikov <emil.velikov@collabora.com> Acked-by: Gerd Hoffmann <kraxel@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20191206085954.9697-6-tzimmermann@suse.de