intel-gpu-tools Reference Manual: Prime Tests

## Prime Tests Prime Tests — Buffer sharing tests |

## Programs

prime_nv_api |
prime_nv_pcopy |
prime_nv_test |
prime_self_import |
prime_udl |

## Description

### prime_nv_api

#### Subtests

i915_nv_import_twice
i915_nv_import_twice_check_flink_name
i915_nv_reimport_twice_check_flink_name
nv_i915_import_twice_check_flink_name
nv_i915_reimport_twice_check_flink_name
i915_nv_import_vs_close
i915_nv_double_import
i915_nv_double_export
i915_self_import
nv_self_import
i915_self_import_to_different_fd
nv_self_import_to_different_fd

### prime_nv_pcopy

#### Subtests

test1_macro
test1_micro
test2
test3_1
test3_2
test3_3
test3_4
test3_5
test_semaphore

### prime_nv_test

#### Subtests

i915_nv_sharing
nv_i915_sharing
nv_write_i915_cpu_mmap_read
nv_write_i915_gtt_mmap_read
i915_import_cpu_mmap
i915_import_gtt_mmap
i915_import_pread_pwrite
i915_blt_fill_nv_read

### prime_self_import

Check whether prime import/export works on the same device.

#### Subtests

with_one_bo
with_one_bo_two_files
with_two_bos
with_fd_dup
export-vs-gem_close-race
reimport-vs-gem_close-race
llseek-size
llseek-bad

### prime_udl