amdgpu driver allows GPU offloading, which means a device can use the integrated GPU (iGPU) for most of the tasks (displaying the desktop…) while some applications can be run using the discrete GPU (dGPU).
This means that only a few jobs need to be run when using a device with amdgpu drivers:
- graphics/2_glxgears_.*
- graphics/2_video_.*
- suspend/2_glxgears_after_suspend_.*_xenial
- suspend/2_video_after_suspend_.*_xenial
Note: currently, amdgpu-pro drivers use a method similar to fglrx (on Trusty) or nVidia Settings, which means user has to manually switch between the GPUs and restart the session to take the modifications into account, so the above modification is only for amdgpu open source stack, not amdgpu-pro one.
In other words:
Tests to be run in any case:
all tests related to integrated GPU (.*/1_.*)
graphics/2_glxgears_.*
graphics/2_video_.*
suspend/2_glxgears_after_suspend_.*_xenial
suspend/2_video_after_suspend_.*_xenial
Tests to be run only if dGPU is NOT amdgpu:
graphics/2_switch_card_.*_xenial
graphics/2_maximum_resolution_.*
graphics/2_driver_version_.*
graphics/2_compiz_check_.*
graphics/2_rotation_.*
graphics/2_minimum_resolution_.*
graphics/2_cycle_resolution_.*
monitor/2_powersaving_.*
monitor/2_dim_brightness_.*
monitor/2_displayport_.*
monitor/2_type-c_displayport_.*
audio/2_playback_displayport_.*
audio/2_playback_type-c_displayport_.*
monitor/2_dvi_.*
monitor/2_hdmi_.*
audio/2_playback_hdmi_.*
monitor/2_thunderbolt_.*
monitor/2_thunderbolt3_.*
audio/2_playback_thunderbolt_.*
audio/2_playback_thunderbolt3_.*
monitor/2_rca_.*
monitor/2_svideo_.*
monitor/2_vga_.*
monitor/2_multi-head_.*
suspend/2_resolution_before_suspend_.*_xenial
suspend/2_suspend_after_switch_to_card_.*_xenial
suspend/2_suspend-time-check_.*_xenial
suspend/2_suspend-single-log-attach_.*_xenial
suspend/2_compiz_check_after_suspend_.*_xenial
suspend/2_driver_version_after_suspend_.*_xenial
suspend/2_resolution_after_suspend_.*_xenial
suspend/2_display_after_suspend_.*_xenial
suspend/2_cycle_resolutions_after_suspend_.*_xenial
suspend/2_xrandr_screens_after_suspend_.*.tar.gz_xenial
power-management/2_hibernate_advanced_.*
power-management/2_hibernate-single-log-attach_.*
I still can see "suspend/ 2_suspend_ after_switch_ to_card_ .*_xenial" was run with somerville full whitelist.
test with checkbox v0.33 on testing ppa