[igt-dev] [PATCH i-g-t 3/3] tests/kms_nv12: Add nv12 specific tests.
Maarten Lankhorst
maarten.lankhorst at linux.intel.com
Thu Jul 26 08:57:44 UTC 2018
Op 26-07-18 om 08:55 schreef Petri Latvala:
> On Tue, Jul 24, 2018 at 03:59:27PM +0200, Maarten Lankhorst wrote:
>> Add tests excercising switching between various scaled/unscaled
>> transitions to and from NV12, since some of the workarounds mention
>> this may fail.
>>
>> We also add NV12 specific clipping/scaling tests, to make sure
>> that NV12 src coordinates are always programmed as a multiple of 4
>> correctly, and verify scaling/clipping works with CRC tests.
>>
>> Signed-off-by: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
>> ---
>> tests/Makefile.sources | 1 +
>> tests/kms_nv12.c | 743 +++++++++++++++++++++++++++++++++++++++++
>> tests/meson.build | 1 +
>> 3 files changed, 745 insertions(+)
>> create mode 100644 tests/kms_nv12.c
>>
>> diff --git a/tests/Makefile.sources b/tests/Makefile.sources
>> index c84933f1d971..dab9260f584d 100644
>> --- a/tests/Makefile.sources
>> +++ b/tests/Makefile.sources
>> @@ -190,6 +190,7 @@ TESTS_progs = \
>> kms_invalid_dotclock \
>> kms_legacy_colorkey \
>> kms_mmap_write_crc \
>> + kms_nv12 \
>> kms_panel_fitting \
>> kms_pipe_b_c_ivb \
>> kms_pipe_crc_basic \
>> diff --git a/tests/kms_nv12.c b/tests/kms_nv12.c
>> new file mode 100644
>> index 000000000000..05ae83e53dda
>> --- /dev/null
>> +++ b/tests/kms_nv12.c
>> @@ -0,0 +1,743 @@
>> +/*
>> + * Permission is hereby granted, free of charge, to any person obtaining a
>
> Where's the copyright line?
>
>
>
Indeed, good catch. :)
More information about the igt-dev
mailing list