[Intel-gfx] [RFC] drm/i915: context support unit test
Ben Widawsky
widawsky at gmail.com
Sat Dec 25 23:53:04 CET 2010
I am requesting comments on the unit test for the context support I will be
adding. Attached is the unit test. I intend to create wrappers for the create
and destroy Ioctls in libdrm, unless someone has a better solution to reuse the
existing API. For the time being, I plan to use the rsvd1 field in the exec2
structure to store the context.
In summary, you'll see two new Ioctls in this test, and one new DRM API, but
once it's cleaned up, it will probably be 3 new Ioctls, and 3 new DRM APIs.
Also I realize this test doesn't cover a lot of the bad cases, but that will
be included later.
Thanks.
Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gem_ctx_basic.c
Type: text/x-c
Size: 4017 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20101225/9002d767/attachment.bin>
More information about the Intel-gfx
mailing list