ntel-gpu-tools/tests/.gitignore
Vinay Belgaumkar be2d5188f6 tests/gem_softpin: New tests for softpin feature
These tests exercise the userptr ioctl to create shared buffers
between CPU and GPU. They contain error and normal usage scenarios.
They also contain a couple of stress tests which copy buffers between
CPU and GPU. These tests rely on the softpin patch in order to pin buffers
to a certain VA.

Caveat: These tests were designed to run on 64-bit system. Future work
includes adding logic to ensure these tests can run on 32-bit systems with
PPGTT support. Some tests are currently disabled for 32-bit systems for that
reason.

v2: Added cc and signed-off-by fields

v3: Fixed review comments, added helper functions. Removed userptr error
scenarios covered by existing userptr tests. Modified stress test to have
100K buffers, it now runs for ~30 mins, checks every element has been written
to correctly, and pins buffers at different VMAs.

v4: Changed name to gem_softpin

v5: More fixes. Removed the file based tests, will move them to userptr tests.
Added a function that validates appropriate PPGTT support before running tests.
Optimized stack space and memory footprint in stress test. Removed the eviction
test, will add it back after verifying proper functionality.

v6: Split basic test into userptr and bo
Fixed some coding style issues.

v7: Enhanced invalid vma pinning test to verify 32-bit PPGTT functionality.
Enabled the test for 32-bit PPGTT systems, and verify pinning fails above
32-bit addresses. Enhanced the high adress pinning test to ensure pinning
fails when EXEC_OBJECT_PINNED flag is not used. Some more cosmetic fixes to
close buffer handles. Changed userptr function to used synchronized operations.

v8: Minor change to high address pinning test as per comment.

v9: Skip the tests if softpin support is not present.

v10: Removed trailing white spaces.

v11: Keep alphabetical order in Makefile and gitignore; update error code
returned while trying to pin above the max vm size (EINVAL); test attempt
to pin above 4GB without the support 48b flag.

Cc: Michel Thierry <michel.thierry@intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Vinay Belgaumkar <vinay.belgaumkar@intel.com>
Signed-off-by: Michel Thierry <michel.thierry@intel.com> (v11)
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
2015-12-09 10:27:12 +00:00

174 lines
2.9 KiB
Plaintext

# Please keep sorted alphabetically
core_auth
core_get_client_auth
core_getclient
core_getstats
core_getversion
core_prop_blob
core_setmaster_vs_auth
drm_import_export
drm_read
drm_vma_limiter
drm_vma_limiter_cached
drm_vma_limiter_cpu
drm_vma_limiter_gtt
drv_getparams_basic
drv_hangman
drv_suspend
gem_alive
gem_bad_address
gem_bad_batch
gem_bad_blit
gem_bad_length
gem_bad_reloc
gem_basic
gem_caching
gem_close_race
gem_concurrent_all
gem_concurrent_blit
gem_cpu_reloc
gem_cs_prefetch
gem_cs_tlb
gem_ctx_bad_destroy
gem_ctx_bad_exec
gem_ctx_basic
gem_ctx_create
gem_ctx_exec
gem_ctx_param_basic
gem_ctx_thrash
gem_double_irq_loop
gem_dummy_reloc_loop
gem_eio
gem_evict_alignment
gem_evict_everything
gem_exec_alignment
gem_exec_bad_domains
gem_exec_big
gem_exec_blt
gem_exec_faulting_reloc
gem_exec_lut_handle
gem_exec_nop
gem_exec_params
gem_exec_parse
gem_fd_exhaustion
gem_fence_thrash
gem_fence_upload
gem_fenced_exec_thrash
gem_flink_basic
gem_flink_race
gem_gpgpu_fill
gem_gtt_cpu_tlb
gem_gtt_hog
gem_gtt_speed
gem_hang
gem_hangcheck_forcewake
gem_largeobject
gem_linear_blits
gem_lut_handle
gem_madvise
gem_media_fill
gem_mmap
gem_mmap_gtt
gem_mmap_offset_exhaustion
gem_mmap_wc
gem_multi_bsd_sync_loop
gem_non_secure_batch
gem_partial_pwrite_pread
gem_persistent_relocs
gem_pin
gem_pipe_control_store_loop
gem_ppgtt
gem_pread
gem_pread_after_blit
gem_pwrite
gem_pwrite_pread
gem_pwrite_snooped
gem_read_read_speed
gem_readwrite
gem_reg_read
gem_reloc_overflow
gem_reloc_vs_gpu
gem_render_copy
gem_render_copy_redux
gem_render_linear_blits
gem_render_tiled_blits
gem_request_retire
gem_reset_stats
gem_ring_sync_copy
gem_ring_sync_loop
gem_ringfill
gem_seqno_wrap
gem_set_tiling_vs_blt
gem_set_tiling_vs_gtt
gem_set_tiling_vs_pwrite
gem_softpin
gem_storedw_batches_loop
gem_streaming_writes
gem_stress
gem_threaded_access_tiled
gem_tiled_blits
gem_tiled_fence_blits
gem_tiled_partial_pwrite_pread
gem_tiled_pread_basic
gem_tiled_pread_pwrite
gem_tiled_swapping
gem_tiled_wb
gem_tiled_wc
gem_tiling_max_stride
gem_unfence_active_buffers
gem_unref_active_buffers
gem_userptr_blits
gem_wait
gem_workarounds
gem_write_read_ring_switch
gen3_mixed_blits
gen3_render_linear_blits
gen3_render_mixed_blits
gen3_render_tiledx_blits
gen3_render_tiledy_blits
gen7_forcewake_mt
kms_3d
kms_addfb_basic
kms_atomic
kms_crtc_background_color
kms_cursor_crc
kms_draw_crc
kms_fbc_crc
kms_fbcon_fbt
kms_fence_pin_leak
kms_flip
kms_flip_event_leak
kms_flip_tiling
kms_force_connector_basic
kms_frontbuffer_tracking
kms_legacy_colorkey
kms_mmio_vs_cs_flip
kms_panel_fitting
kms_pipe_b_c_ivb
kms_pipe_crc_basic
kms_plane
kms_plane_scaling
kms_psr_sink_crc
kms_pwrite_crc
kms_render
kms_rotation_crc
kms_setmode
kms_sink_crc_basic
kms_universal_plane
kms_vblank
pm_backlight
pm_lpsp
pm_rc6_residency
pm_rpm
pm_rps
pm_sseu
prime_nv_api
prime_nv_pcopy
prime_nv_test
prime_self_import
prime_udl
template
test-list.txt
testdisplay
gem_storedw_loop