Prime Tests

Prime Tests — Tests for buffer sharing

Programs

Description

prime_udl

Basic set of prime tests between Intel and DisplayLink


prime_vgem

Basic check of polling for prime/vgem fences.

basic-read

Examine read access path.

basic-write

Examine write access path.

basic-gtt

Examine access path through GTT.

basic-blt

Examine blitter access path.

shrink

Examine link establishment between shrinker and vgem bo.

coherency-gtt

Examine concurrent access of vgem bo.

coherency-blt

Examine blitter access path WC coherency.

sync

Examine sync on vgem fence.

busy

Examine busy check of polling for vgem fence.

wait

Examine wait on vgem fence.

basic-fence-read

Examine read access path fencing.

basic-fence-mmap

Examine GTT access path fencing.

basic-fence-blt

Examine blitter access path fencing.

basic-fence-flip

Examine vgem bo front/back flip fencing.

fence-read-hang

Examine read access path fencing with a pending gpu hang.

fence-write-hang

Examine write access path fencing with a pending gpu hang.

fence-flip-hang

Examine vgem bo front/back flip fencing with a pending gpu hang.

fence-wait

Examine basic dma-buf fence interop.


prime_nv_api

i915_nv_import_twice

NO DOCUMENTATION!

i915_nv_import_twice_check_flink_name

NO DOCUMENTATION!

i915_nv_reimport_twice_check_flink_name

NO DOCUMENTATION!

nv_i915_import_twice_check_flink_name

NO DOCUMENTATION!

nv_i915_reimport_twice_check_flink_name

NO DOCUMENTATION!

i915_nv_import_vs_close

NO DOCUMENTATION!

i915_nv_double_import

NO DOCUMENTATION!

i915_nv_double_export

NO DOCUMENTATION!

i915_self_import

NO DOCUMENTATION!

nv_self_import

NO DOCUMENTATION!

i915_self_import_to_different_fd

NO DOCUMENTATION!

nv_self_import_to_different_fd

NO DOCUMENTATION!


prime_nv_pcopy

test1_macro

NO DOCUMENTATION!

test1_micro

NO DOCUMENTATION!

test2

NO DOCUMENTATION!

test3_1

NO DOCUMENTATION!

test3_2

NO DOCUMENTATION!

test3_3

NO DOCUMENTATION!

test3_4

NO DOCUMENTATION!

test3_5

NO DOCUMENTATION!

test_semaphore

NO DOCUMENTATION!


prime_nv_test

i915_nv_sharing

NO DOCUMENTATION!

nv_i915_sharing

NO DOCUMENTATION!

nv_write_i915_cpu_mmap_read

NO DOCUMENTATION!

nv_write_i915_gtt_mmap_read

NO DOCUMENTATION!

i915_import_cpu_mmap

NO DOCUMENTATION!

i915_import_gtt_mmap

NO DOCUMENTATION!

i915_import_pread_pwrite

NO DOCUMENTATION!

i915_blt_fill_nv_read

NO DOCUMENTATION!


prime_busy

Basic check of polling for prime fences.

before

NO DOCUMENTATION!

before-wait

NO DOCUMENTATION!

after

NO DOCUMENTATION!

after-wait

NO DOCUMENTATION!

hang

NO DOCUMENTATION!

hang-wait

NO DOCUMENTATION!


prime_mmap

test_correct

NO DOCUMENTATION!

test_map_unmap

NO DOCUMENTATION!

test_reprime

NO DOCUMENTATION!

test_forked

NO DOCUMENTATION!

test_correct_cpu_write

NO DOCUMENTATION!

test_forked_cpu_write

NO DOCUMENTATION!

test_refcounting

NO DOCUMENTATION!

test_dup

NO DOCUMENTATION!

test_userptr

NO DOCUMENTATION!

test_errors

NO DOCUMENTATION!

test_invalid_sync_flags

NO DOCUMENTATION!

test_aperture_limit

NO DOCUMENTATION!


prime_mmap_coherency

Test dma-buf mmap on !llc platforms mostly and provoke coherency bugs so we know for sure wherewe need the sync ioctls.

read

NO DOCUMENTATION!

write

NO DOCUMENTATION!

ioctl-errors

NO DOCUMENTATION!


prime_mmap_kms

Efficiently sharing CPU and GPU buffers

buffer-sharing

NO DOCUMENTATION!


prime_self_import

Check whether prime import/export works on the same device... but with different fds.

basic-with_one_bo

Check prime import/export with one buffer object.

basic-with_one_bo_two_files

Check prime/flink with one buffer object.

basic-with_two_bos

Check prime import/export with two buffer objects.

basic-with_fd_dup

Check prime export with duplicate fd.

export-vs-gem_close-race

Check race of gem close against prime export.

reimport-vs-gem_close-race

Check race of gem close against reimport.

basic-llseek-size

Check dmabuf llseek support.

basic-llseek-bad

Check dmabuf llseek support with invalid values.