AMDGPU Tests

AMDGPU Tests — Tests for amdgpu driver behaviour

Programs

Description

amdgpu/amd_abm

dpms_cycle

NO DOCUMENTATION!

backlight_monotonic_basic

NO DOCUMENTATION!

backlight_monotonic_abm

NO DOCUMENTATION!

abm_enabled

NO DOCUMENTATION!

abm_gradual

NO DOCUMENTATION!


amdgpu/amd_assr

Check if ASSR is enabled on eDP links that support the display authentication by changingscrambling sequence. The test also covers embedded and non-removable displays that appear asDP.

assr-links

Test ASSR on connected DP/eDP links

assr-links-dpms

Test ASSR with DPMS

assr-links-suspend

Test ASSR with suspend


amdgpu/amd_basic

memory-alloc

Check-alloc-free-VRAM-visible-non-visible-GART-write-combined-cached

userptr-with-IP-DMA

Check-DMA-CS-works-by-setting-the-pattern-and-after-execution-compare-memory-with-the-golden-settings

cs-gfx-with-IP-GFX

Check-GFX-CS-for-every-available-ring-works-for-write-const-fill-and-copy-operation-using-more-than-one-IB-and-shared-IB

cs-compute-with-IP-COMPUTE

Check-COMPUTE-CS-for-every-available-ring-works-for-write-const-fill-copy-and-nop-operation

cs-multi-fence-with-IP-GFX

Check-GFX-CS-for-multi-fence

cs-sdma-with-IP-DMA

Check-DMA-CS-for-every-available-ring-works-for-write-const-fill-copy-operation

semaphore-with-IP-GFX-and-IP-DMA

Check-signal-semaphore-on-DMA-wait-on-GFX

eviction-test-with-IP-DMA

Check-eviction-using-DMA-max-allocation-size

sync-dependency-test-with-IP-GFX

Check-sync-dependency-using-GFX-ring


amdgpu/amd_bo

amdgpu_bo_export_import

NO DOCUMENTATION!

amdgpu_bo_metadata

NO DOCUMENTATION!

amdgpu_bo_map_unmap

NO DOCUMENTATION!

amdgpu_memory_alloc

NO DOCUMENTATION!

amdgpu_mem_fail_alloc

NO DOCUMENTATION!

amdgpu_bo_find_by_cpu_mapping

NO DOCUMENTATION!


amdgpu/amd_bypass

8bpc-bypass-mode

NO DOCUMENTATION!


amdgpu/amd_color

Test Color Features for DRM conformance

crtc-linear-degamma

Tests correctness of linear degamma on CRTC

crtc-linear-regamma

Tests correctness of linear regamma on CRTC

crtc-lut-accuracy

Tests color accuracy of CRTC degamma and regamma


amdgpu/amd_cp_dma_misc

GTT_to_VRAM-AMDGPU_HW_IP_GFX0

NO DOCUMENTATION!

GTT_to_VRAM-AMDGPU_HW_IP_COMPUTE0

NO DOCUMENTATION!

VRAM_to_GTT-AMDGPU_HW_IP_GFX0

NO DOCUMENTATION!

VRAM_to_GTT-AMDGPU_HW_IP_COMPUTE0

NO DOCUMENTATION!

VRAM_to_VRAM-AMDGPU_HW_IP_GFX0

NO DOCUMENTATION!

VRAM_to_VRAM-AMDGPU_HW_IP_COMPUTE0

NO DOCUMENTATION!


amdgpu/amd_cs_nop

cs-nops-with-nop-compute0

Stressful-and-multiple-cs-of-nop-operations-using-multiple-processes-with-the-same-GPU-context

cs-nops-with-nop-gfx0

Stressful-and-multiple-cs-of-nop-operations-using-multiple-processes-with-the-same-GPU-context

cs-nops-with-sync-compute0

Stressful-and-multiple-cs-of-nop-operations-using-multiple-processes-with-the-same-GPU-context

cs-nops-with-sync-gfx0

Stressful-and-multiple-cs-of-nop-operations-using-multiple-processes-with-the-same-GPU-context

cs-nops-with-fork-compute0

Stressful-and-multiple-cs-of-nop-operations-using-multiple-processes-with-the-same-GPU-context

cs-nops-with-fork-gfx0

Stressful-and-multiple-cs-of-nop-operations-using-multiple-processes-with-the-same-GPU-context

cs-nops-with-sync-fork-compute0

Stressful-and-multiple-cs-of-nop-operations-using-multiple-processes-with-the-same-GPU-context

cs-nops-with-sync-fork-gfx0

Stressful-and-multiple-cs-of-nop-operations-using-multiple-processes-with-the-same-GPU-context


amdgpu/amd_deadlock

amdgpu-deadlock-sdma

Test-GPU-reset-by-flooding-sdma-ring-with-jobs

amdgpu-gfx-illegal-reg-access

Test-GPU-reset-by-access-gfx-illegal-reg

amdgpu-gfx-illegal-mem-access

Test-GPU-reset-by-access-gfx-illegal-mem-addr

amdgpu-deadlock-gfx

Test-GPU-reset-by-flooding-gfx-ring-with-jobs

amdgpu-compute-illegal-mem-access

Test-GPU-reset-by-access-compute-illegal-mem-addr

amdgpu-deadlock-compute

Test-GPU-reset-by-flooding-compute-ring-with-jobs

amdgpu-deadlock-sdma-corrupted-header-test

Test-GPU-reset-by-sdma-corrupted-header-with-jobs

amdgpu-deadlock-sdma-slow-linear-copy

Test-GPU-reset-by-sdma-slow-linear-copy-with-jobs

amdgpu-deadlock-sdma-badop-test

Test-GPU-reset-by-sdma-badop-with-jobs

amdgpu-deadlock-sdma-bad-mem-test

Test-GPU-reset-by-sdma-bad-mem-with-jobs

amdgpu-deadlock-sdma-bad-reg-test

Test-GPU-reset-by-sdma-bad-reg-with-jobs

amdgpu-deadlock-sdma-bad-length-test

Test-GPU-reset-by-sdma-bad-length-with-jobs


amdgpu/amd_dp_dsc

dsc-enable-basic

Forces DSC on/off & ensures it is reset properly

dsc-slice-dimensions-change

Tests various DSC slice dimensions

dsc-link-settings

Tests various combinations of link_rate + lane_count and logs if DSC enabled/disabled

dsc-bpc

Tests different bpc settings and logs if DSC is enabled/disabled


amdgpu/amd_freesync_video_mode

This tests transition between normal and FreeSync-Videomodes and measures the FPS to ensurevblank events arehappening at the expected rate.

freesync-base-to-various

Test switch from base freesync mode to various freesync video modes

freesync-lower-to-higher

Test switching from lower refresh freesync mode to another freesync mode with higher refresh rate

freesync-non-preferred-to-freesync

Test switching from non preferred video mode to one of freesync video mode

freesync-custom-mode

Add custom mode through xrandr based on base freesync mode and apply the new mode


amdgpu/amd_fuzzing

userptr-fuzzing

Check user ptr fuzzing with huge size and not valid address

cs-wait-fuzzing

Check cs wait fuzzing

gem-create-fuzzing

Check gem create fuzzing


amdgpu/amd_hotplug

Test simulated hotplugging on connectors

basic

Tests HPD on each connected output

basic-suspend

Tests HPD on each connected output after a suspend sequence


amdgpu/amd_gang_cs

amdgpu-cs-gang

Test GPU gang cs for gfx and compute rings

amdgpu-cs-gang-vmid

Test GPU gang cs for gfx and compute rings vmid


amdgpu/amd_ilr

This igt test validates ILR (Intermediate Link Rate) feature from two perspective: 1. Test ifwe can sucessfully train link rate at all supported ILRs2. Iterate over all modes to see if we douse ILR to optimize the link rate to light up the mode.

ilr-link-training-configs

Test ILR by trying training link rate at all supported ILRs

ilr-policy

Test ILR by checking driver does use ILRs to train link rate


amdgpu/amd_info

Test the consistency of the data provided through the DRM_AMDGPU_INFO IOCTL

query-firmware-version

Make sure we can retrieve the firmware version

query-timestamp

Check that the GPU time ticks constantly, and at the same rate as the CPU

query-timestamp-while-idle

Check that the GPU time keeps on ticking, even during long idle times which could lead to clock/power gating


amdgpu/amd_jpeg_dec

amdgpu_cs_jpeg_decode

Test whether jpeg dec decodes


amdgpu/amd_link_settings

link-training-configs

Retrieves all link settings configurations and retrains links on all possible configurations with different types of link training.


amdgpu/amd_max_bpc

Test 4K HDMI regression if max bpc is too high

4k-mode-max-bpc

Tests overly high 'max bpc' should not affect 4K modes on HDMI


amdgpu/amd_mem_leak

Test checking memory leaks with suspend-resume and connector hotplug

connector-suspend-resume

Test memory leaks after resume from suspend

connector-hotplug

Test memroy leaks after connector hotplug


amdgpu/amd_mode_switch

Test switching between supported modes

mode-switch-first-last-pipe-0

Test between switching highest and lowest supported mode

mode-switch-first-last-pipe-1

Test between switching highest and lowest supported mode

mode-switch-first-last-pipe-2

Test between switching highest and lowest supported mode

mode-switch-first-last-pipe-3

Test between switching highest and lowest supported mode

mode-switch-first-last-pipe-4

Test between switching highest and lowest supported mode

mode-switch-first-last-pipe-5

Test between switching highest and lowest supported mode


amdgpu/amd_module_load

reload

Make sure reloading amdgpu drivers works


amdgpu/amd_multidisplay_modeset

Test multi-display mode set, display enable and disable

multiple-display-mode-switch

Loop through all supported modes and check DP RX CRC and Pipe CRC

multiple-display-enable-disable

Enable and Disable displays and check DP RX CRC and Pipe CRC


amdgpu/amd_pci_unplug

amdgpu_hotunplug_simple

NO DOCUMENTATION!

amdgpu_hotunplug_with_cs

NO DOCUMENTATION!

amdgpu_hotunplug_with_exported_bo

NO DOCUMENTATION!

amdgpu_hotunplug_with_exported_fence

NO DOCUMENTATION!


amdgpu/amd_plane

Tests for Multi Plane Overlay for single and dual displays

test-mpo-4k

MPO with 4K planes

mpo-swizzle-toggle

MPO with tiled and linear buffers

mpo-swizzle-toggle-multihead

MPO with tiled and linear buffers on dual displays

mpo-pan-rgb

MPO and moving RGB primary plane around

mpo-pan-rgb-multihead

MPO and moving RGB primary plane around with dual displays

mpo-pan-nv12

MPO and moving NV12 primary plane around

mpo-pan-nv12-multihead

MPO and moving NV12 primary plane around with dual displays

mpo-pan-p010

MPO and moving P010 primary plane around

mpo-pan-p010-multihead

MPO and moving P010 primary plane around with dual displays

mpo-pan-multi-rgb

MPO and moving RGB primary plane between 2 displays

mpo-pan-multi-nv12

MPO and moving NV12 primary plane between 2 displays

mpo-pan-multi-p010

MPO and moving P010 primary plane between 2 displays

multi-overlay

MPO with 2 overlay planes and a primary plane

multi-overlay-invalid

Invalid MPO with 2 overlays planes and a primary plane

mpo-scale-rgb

MPO and scaling RGB primary plane

mpo-scale-rgb-multihead

MPO and scaling RGB primary plane with 2 displays

mpo-scale-nv12

MPO and scaling NV12 primary plane

mpo-scale-nv12-multihead

MPO and scaling NV12 primary plane with 2 displays

mpo-scale-p010

MPO and scaling P010 primary plane

mpo-scale-p010-multihead

MPO and scaling P010 primary plane with 2 displays


amdgpu/amd_prime

i915-to-amd

NO DOCUMENTATION!

amd-to-i915

NO DOCUMENTATION!

shrink

NO DOCUMENTATION!


amdgpu/amd_psr

Basic test for enabling Panel Self Refresh for eDP displays

psr_enable

Test whether PSR can be enabled with static screen

psr_enable_null_crtc

Test whether setting CRTC to null triggers any warning with PSR enabled

psr_su_mpo

Test to validate PSR SU enablement with Visual Confirm and to imitate Multiplane Overlay video playback scenario

psr_su_ffu

Test to validate PSR SU enablement with Visual Confirm and to validate Full Frame Update scenario

psr_su_cursor

Test to validate PSR SU enablement with Visual Confirm and to validate cursor movement + static background scenario

psr_su_cursor_mpo

Test to validate PSR SU enablement with Visual Confirm and to validate cursor movement + MPO scenario

psr_su_mpo_scaling_1_5

Test to validate PSR SU enablement with Visual Confirm and to validate PSR SU disable/re-enable w/ primary scaling ratio 1.5

psr_su_mpo_scaling_0_75

Test to validate PSR SU enablement with Visual Confirm and to validate PSR SU disable/re-enable w/ primary scaling ratio 0.75


amdgpu/amd_ras

RAS-basic

RAS-basic

RAS-query

RAS-query

RAS-inject

RAS-inject

RAS-disable

RAS-disable

RAS-enable

RAS-enable


amdgpu/amd_replay

Basic test for enabling Panel Replay for eDP displays

replay_static_screen

Test whether Panel Replay can be enabled with static screen

replay_intermittent_live

Test whether Panel Replay can be enabled with intermittent live mdoe

replay_constant_live

Test whether Panel Replay can be enabled with constant live mdoe

replay_suspend

Test whether Panel Replay can be enabled after resume from suspend


amdgpu/amd_security

amdgpu-security-alloc-buf-test

amdgpu security alloc buf test

sdma-write-linear-helper-secure

amdgpu sdma command submission write linear helper

gfx-write-linear-helper-secure

amdgpu gfx command submission write linear helper

amdgpu-secure-bounce

amdgpu secure bounce


amdgpu/amd_uvd_dec

amdgpu_uvd_dec_create

Test whether uvd dec is created

amdgpu_uvd_decode

Test whether uvd dec can decode

amdgpu_uvd_dec_destroy

Test whether uvd dec is destroyed


amdgpu/amd_uvd_enc

uvd_encoder

Test uvd session, encode, destroy


amdgpu/amd_vce_enc

amdgpu_vce_encoder

Test vce enc is created, encode, destroy


amdgpu/amd_vcn

vcn-decoder-create-decode-destroy

Test whether vcn decorder is created, decodes, destroyed

vcn-encoder-create-encode-destroy

Test whether vcn encoder is created, encodes, destroyed


amdgpu/amd_vm

vmid-reserve-test

Test reserve vmid

amdgpu-vm-unaligned-map

Test unaligned map

amdgpu-vm-mapping-test

Test vm mapping


amdgpu/amd_vrr_range

Test EDID parsing and debugfs reporting on Freesync displays

freesync-parsing

Hard coded Freesync EDID parsing

freesync-parsing-suspend

Hard coded Freesync EDID parsing after suspend

freesync-range

Freesync range from display

freesync-range-suspend

Freesync range from display after suspend


amdgpu/amd_mall

Test display refresh from MALL cache

static-screen

Tests whether display scanout is triggered from MALL cache instead of GPU VRAM when screen contents are idle


amdgpu/amd_odm

Test whether ODM Combine mode is triggered when timings with high refresh rate is committed

odm-combine-2-to-1-4k144

NO DOCUMENTATION!


amdgpu/amd_subvp

Test enabling sub-viewport feature

dual-4k60

Tests whether system enables sub-viewport when a specific mode is committed


amdgpu/amd_vpe

Test VPE functionality

vpe-fence-test

Test VPE fence

vpe-blit-test

Test VPE blit


amdgpu/amd_syncobj

amdgpu_syncobj_timeline

NO DOCUMENTATION!