diff options
author | Mario Kleiner <mario.kleiner.de@gmail.com> | 2021-06-11 06:21:23 +0200 |
---|---|---|
committer | Petri Latvala <petri.latvala@intel.com> | 2021-08-09 07:58:11 +0300 |
commit | 9f9d82df8c8e68c304e84aba717a9937b65e10e6 (patch) | |
tree | 8952f5e08fb362125d71d86edf7447b10ad6e0de /lib/intel_batchbuffer.c | |
parent | 2f32b9e0da5f1ac9529318dd5b836c8cf4d3c441 (diff) |
lib/igt_fb: Add support for testing of 16 bpc fixed point formats.
This is used to support testing the 16 bpc formats, e.g., via:
kms_plane --run-subtest pixel-format-pipe-A-planes
So far this was successfully tested on AMD RavenRidge with DCN-1
display hw. Ville also tested it against some of his patches for
16 bpc support on i915.
The new conversion routines are slightly adapted copies of the
convert_float_to_fp16() and convert_fp16_to_float() functions,
with the conversion math modified for float <-> uint16 instead.
Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'lib/intel_batchbuffer.c')
0 files changed, 0 insertions, 0 deletions