public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH 0/3] Add support for fp16 formats
@ 2019-04-05 20:14 Kevin Strasser
  2019-04-05 20:14 ` [igt-dev] [PATCH 1/3] lib: Add halffloat implementation Kevin Strasser
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Kevin Strasser @ 2019-04-05 20:14 UTC (permalink / raw)
  To: igt-dev

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

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply	[flat|nested] 14+ messages in thread
* [igt-dev] [RFC 0/5] Add support for fp16 formats
@ 2019-03-03  1:39 Kevin Strasser
  2019-03-03  3:06 ` [igt-dev] ✓ Fi.CI.IGT: success for " Patchwork
  0 siblings, 1 reply; 14+ messages in thread
From: Kevin Strasser @ 2019-03-03  1:39 UTC (permalink / raw)
  To: igt-dev

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                    | 188 ++++++++++++++++++++++++++++++++--
 lib/igt_fb.h                    |   1 +
 lib/igt_halffloat.c             | 218 ++++++++++++++++++++++++++++++++++++++++
 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       |  14 +++
 12 files changed, 502 insertions(+), 10 deletions(-)
 create mode 100644 lib/igt_halffloat.c
 create mode 100644 lib/igt_halffloat.h

-- 
2.7.4

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2019-04-25  7:34 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-05 20:14 [igt-dev] [PATCH 0/3] Add support for fp16 formats Kevin Strasser
2019-04-05 20:14 ` [igt-dev] [PATCH 1/3] lib: Add halffloat implementation Kevin Strasser
2019-04-24 20:05   ` Daniel Vetter
2019-04-24 20:19     ` Ville Syrjälä
2019-04-24 20:43       ` Strasser, Kevin
2019-04-25  7:34         ` Daniel Vetter
2019-04-05 20:14 ` [igt-dev] [PATCH 2/3] lib/igt_fb: Add support for fp16 formats through conversion Kevin Strasser
2019-04-05 20:14 ` [igt-dev] [PATCH 3/3] tests/kms_plane_scaling: Skip testing unsupported fp16 features Kevin Strasser
2019-04-09  8:17   ` Maarten Lankhorst
2019-04-11 22:36     ` Strasser, Kevin
2019-04-18 19:25       ` Ville Syrjälä
2019-04-05 20:35 ` [igt-dev] ✓ Fi.CI.BAT: success for Add support for fp16 formats Patchwork
2019-04-06 18:11 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2019-03-03  1:39 [igt-dev] [RFC 0/5] " Kevin Strasser
2019-03-03  3:06 ` [igt-dev] ✓ Fi.CI.IGT: success for " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox