summaryrefslogtreecommitdiff
path: root/tools/lib/python/feat/parse_features.py
diff options
context:
space:
mode:
authorHarry Wentland <harry.wentland@amd.com>2025-11-14 17:01:26 -0700
committerSimon Ser <contact@emersion.fr>2025-11-26 22:16:13 +0100
commit4fc183828b050c1d7d94347c876c04a5b680b4fc (patch)
tree5c9c4e34c045f467a8c6d2cb6177bce2b767b49b /tools/lib/python/feat/parse_features.py
parentc884ee70b15a8d63184d7c1e02eba99676a6fcf7 (diff)
drm: Add helper for conversion from signed-magnitude
CTM values are defined as signed-magnitude values. Add a helper that converts from CTM signed-magnitude fixed point value to the twos-complement value used by drm_fixed. Reviewed-by: Sebastian Wick <sebastian.wick@redhat.com> Reviewed-by: Louis Chauvet <louis.chauvet@bootlin.com> Signed-off-by: Harry Wentland <harry.wentland@amd.com> Reviewed-by: Daniel Stone <daniels@collabora.com> Reviewed-by: Melissa Wen <mwen@igalia.com> Signed-off-by: Simon Ser <contact@emersion.fr> Link: https://patch.msgid.link/20251115000237.3561250-2-alex.hung@amd.com
Diffstat (limited to 'tools/lib/python/feat/parse_features.py')
0 files changed, 0 insertions, 0 deletions