Skip to content

RFC Add support for fp16 formats

Kevin Strasser igt-dev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 RFC Latest5 patches 7 repliesIn review
  2. v1 RFC5 patches 6 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5lib: Add halffloat implementationCOPYING lib/Makefile.sources lib/igt_halffloat.c +4 more+296 -02 replies
2/5include: Add fp16 format definesinclude/drm-uapi/drm_fourcc.h+10 -00 replies
3/5tests/kms_available_modes_crc: Add cases for 64bit formatstests/kms_available_modes_crc.c+18 -13 replies
4/5lib/igt_fb: Add support for fp16 formats through conversionlib/igt_fb.c lib/igt_fb.h+148 -11 reply
5/5tests/kms_plane_scaling: Skip testing unsupported fp16 featurestests/kms_plane_scaling.c+13 -21 reply

Reviews trailers per patch

4 of 5 patches have a Reviewed-by or Acked-by.

PatchVille Syrjälä
1/5R-b
2/5
3/5R-b
4/5R-b
5/5R-b

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

Read the v2 thread

Cover letter [igt-dev] [RFC v2 0/5] Add support for fp16 formats

This series adds support for testing new fp16 formats. As these formats haven't yet landed in the kernel I am sharing this as an RFC.

In particular coverage is added to the following tests which already enumerate through all formats advertised by each plane:
kms_available_modes_crc
kms_rotation_crc
kms_plane_scaling

Kevin Strasser (5):
lib: Add halffloat implementation
include: Add fp16 format defines tests/kms_available_modes_crc: Add cases for 64bit formats lib/igt_fb: Add support for fp16 formats through conversion tests/kms_plane_scaling: Skip testing unsupported fp16 features

 COPYING                         |  22 ++++
 include/drm-uapi/drm_fourcc.h   |  10 ++
 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_available_modes_crc.c |  19 +++-
 tests/kms_plane_scaling.c       |  15 ++-
 12 files changed, 485 insertions(+), 4 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