On Mon, Jun 03, 2019 at 04:57:43PM -0400, Ilia Mirkin wrote: > On Sun, Jun 2, 2019 at 8:40 PM Ilia Mirkin <imirkin@xxxxxxxxxxxx> wrote: > > > > 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. > > Just to follow up, I've successfully tested on an Intel SKL with C8 > and XB30/XR30 as well (and confirmed that the GAMMA_LUT gets unset in > a sequence of C8 followed by XB30). FP16 was not available on the > kernel I am currently using (and perhaps not the HW?) https://patchwork.freedesktop.org/series/61345/ or a slightly older version: git://github.com/vsyrjala/linux.git fp16_scanout_4 in case you want to test it. > > -ilia > > > > > 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 > > -- Ville Syrjälä Intel _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel