[igt-dev] [PATCH 0/3] Add support for fp16 formats

Kevin Strasser
2019-04-05T20:14:06Z

Kernel support for these formats has landed in drm-next.
This series adds a library for converting floats to and from fp16 which enables
a couple of tests to use the new formats.

fp16 coverage is included in these tests:
kms_plane_scaling
kms_rotation_crc

Kevin Strasser (3):
lib: Add halffloat implementation
lib/igt_fb: Add support for fp16 formats through conversion
tests/kms_plane_scaling: Skip testing unsupported fp16 features

COPYING | 22 +++++
lib/Makefile.sources | 2 +
lib/igt_fb.c | 148 ++++++++++++++++++++++++++++-
lib/igt_fb.h | 1 +
lib/igt_halffloat.c | 234 ++++++++++++++++++++++++++++++++++++++++++++++
lib/igt_halffloat.h | 27 ++++++
lib/igt_x86.c | 9 ++
lib/igt_x86.h | 1 +
lib/meson.build | 1 +
tests/kms_plane_scaling.c | 14 ++-
10 files changed, 456 insertions(+), 3 deletions(-)
create mode 100644 lib/igt_halffloat.c
create mode 100644 lib/igt_halffloat.h

--
2.7.4