[Intel-gfx] [PATCH i-g-t v3 1/2] tests: Add blob-property test

Thomas Wood thomas.wood at intel.com
Thu Sep 10 05:31:27 PDT 2015


On 10 September 2015 at 07:06, Daniel Stone <daniel at fooishbar.org> wrote:
> Hi,
>
> On 10 September 2015 at 06:57, Daniel Stone <daniels at collabora.com> wrote:
>> Exercises the new blob-creation ioctl, testing lifetimes and behaviour
>> of user-created blobs, as well as exercising all the invariant
>> conditions we guarantee from modes exposed as blob properties.

Would be good to skip on older kernels that don't have this feature.
The required libdrm version also needs updating (or adding local
defines of the new ioctl).

The use of igt_assert_eq/neq rather than plain igt_assert would
produce some better error messages by printing the expected and actual
values, but it looks like the meaning of the return values being
tested isn't consistent (i.e. sometimes errno values, sometimes not).


>>
>> v2: Renamed to core_prop_blob, skip test if blob not available.
>> v3: No changes.
>
> Sorry for spamming this; apparently either myself or fd.o are having
> some mail issues.
>
> In the meantime, the basic atomic tests can be found at:
> https://git.collabora.com/cgit/user/daniels/intel-gpu-tools.git/commit/?h=wip/atomic-blob&id=11bf34a2a

I guess that was going to be patch 2/2?


>
> Sorry about the noise!
>
> Cheers,
> Daniel
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx


More information about the Intel-gfx mailing list