This series improves the pattern generation logic to support additional formats, as well as a new "gradient" pattern (see patch comments on why I found it useful). Furthermore, these formats are piped through to modetest, including the ability to set a gamma table, which is necessary for the C8 indexed format. This was tested on nouveau, and used for bring-up of the C8, XB30, and FP16 formats on the NVIDIA hardware that supports these. Ilia Mirkin (10): util: add C8 format, support it with SMPTE pattern util: fix MAKE_RGBA macro for 10bpp modes util: add gradient pattern util: add fp16 format support util: add cairo drawing for 30bpp formats when available modetest: don't pretend that atomic mode includes a format modetest: add an add_property_optional variant that does not print errors modetest: add C8 support to generate SMPTE pattern modetest: add the ability to specify fill patterns on the commandline modetest: add FP16 format support tests/modetest/buffers.c | 13 ++ tests/modetest/modetest.c | 109 ++++++++-- tests/util/format.c | 7 + tests/util/pattern.c | 432 +++++++++++++++++++++++++++++++++++++- tests/util/pattern.h | 7 + 5 files changed, 543 insertions(+), 25 deletions(-) -- 2.21.0 _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel