On 05/28/2013 02:51 AM, Topi Pohjolainen wrote:
In order to test EXT_image_dma_buf_import one needs the capability
of creating driver specific buffers. By probing the environment for
drm libraries one can decide for which drivers the support is to
be built.

v2 (first five according to Chad's advice):
    - replace manual search for drm with 'pkg_check_modules()'
    - move BATCH_SZ into intel specific part
    - use ARRAY_SIZE
    - fix faulty check for mem-allocation (drm_buf vs. buf)
    - define the opaque type piglit_dma_buf declared in platform
      independent interface instead of introducing new local type
      (piglit_drm_dma_buf)
    - use 'drm_intel_bo_subdata()' instead of mapping the buffers
      for CPU
    - also set the support for GBM in addition to X11

v3:
    - fix a type (does -> doesn't)
    - exclude intel driver entry points when the driver is not
      present

v4:
    - introduce checking for the libdrm base in the top level of
      the build system. This can be then used to control the
      compilation of the invidual tests as well.
    - add the hooks for all the supported configurations in the
      same place (piglit_gl_framework_init()) instead of one by one
      locally (Chad)
    - added destruction hook NULL pointer support (Chad, Ken)
    - set the file descriptor to zero before exporting (Chad)

v5 (Eric):
    - use 'bool' instead of "zero for success, non-zero for failure"

Signed-off-by: Topi Pohjolainen <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>

Reviewed-by: Chad Versace <[email protected]>

_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to