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

NO DOCUMENTATION!

userptr

NO DOCUMENTATION!

cs-gfx

NO DOCUMENTATION!

cs-compute

NO DOCUMENTATION!

cs-multi-fence

NO DOCUMENTATION!

cs-sdma

NO DOCUMENTATION!

semaphore

NO DOCUMENTATION!


amdgpu/amd_bypass

8bpc-bypass-mode

NO DOCUMENTATION!


amdgpu/amd_color

crtc-linear-degamma

NO DOCUMENTATION!

crtc-linear-regamma

NO DOCUMENTATION!

crtc-lut-accuracy

NO DOCUMENTATION!


amdgpu/amd_cs_nop

nop-compute0

NO DOCUMENTATION!

nop-gfx0

NO DOCUMENTATION!

sync-compute0

NO DOCUMENTATION!

sync-gfx0

NO DOCUMENTATION!

fork-compute0

NO DOCUMENTATION!

fork-gfx0

NO DOCUMENTATION!

sync-fork-compute0

NO DOCUMENTATION!

sync-fork-gfx0

NO DOCUMENTATION!


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_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_prime

i915-to-amd

NO DOCUMENTATION!

amd-to-i915

NO DOCUMENTATION!

shrink

NO DOCUMENTATION!


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_module_load

reload

Make sure reloading amdgpu drivers works


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_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_vrr_range

Test EDID parsing and debugfs reporting on Freesync displays

freesync-parsing-hdmi

Freesync EDID parsing on HDMI

freesync-parsing-dp

Freesync EDID parsing on DP

freesync-parsing-hdmi-suspend

Freesync EDID parsing on HDMI after suspend

freesync-parsing-dp-suspend

Freesync EDID parsing on DP after suspend

freesync-range-hdmi

Freesync range on HDMI

freesync-range-dp

Freesync range on DP

freesync-range-hdmi-suspend

Freesync range on HDMI after suspend

freesync-range-dp-suspend

Freesync range on DP after suspend


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_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_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_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

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_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