Skip to content

Add support for fp16 formats

Kevin Strasser igt-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3lib: Add halffloat implementationCOPYING lib/Makefile.sources lib/igt_halffloat.c +4 more+296 -04 replies
2/3lib/igt_fb: Add support for fp16 formats through conversionlib/igt_fb.c lib/igt_fb.h+148 -10 replies
3/3tests/kms_plane_scaling: Skip testing unsupported fp16 featurestests/kms_plane_scaling.c+12 -23 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchVille SyrjäläMaarten Lankhorst
1/3R-b
2/3R-b
3/3R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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
Signature · 6 lines
2.7.4

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev