drm_hwcomposer: CI: Add job to run with writeback
Currently VtsHalGraphicsComposer3_TargetTest is run without a writeback connector enabled. Use the configurable vkms driver to create a writeback connector and run VtsHalGraphicsComposer3_TargetTest. This job should help to catch errors that arise only for writeback connectors. Signed-off-by: Deborah Brouwer <deborah.brouwer@collabora.com>
This commit is contained in:
parent
3972d6d3cd
commit
8f82d3d682
2 changed files with 42 additions and 0 deletions
24
.ci/android/writeback.sh
Executable file
24
.ci/android/writeback.sh
Executable file
|
|
@ -0,0 +1,24 @@
|
|||
#!/usr/bin/env bash
|
||||
# shellcheck disable=SC1091 # no need to follow references to other shell scripts
|
||||
|
||||
set -e
|
||||
|
||||
EXIT_CODE=1
|
||||
|
||||
source "${CI_PROJECT_DIR}/.ci/android/vts-runner.sh"
|
||||
|
||||
fdo_log_section_start_collapsed run_vts_vkms_writeback "run_vts_vkms_writeback"
|
||||
reload_vkms
|
||||
configure_vkms
|
||||
stop_hwc
|
||||
adb shell "echo 0 > ${VKMS_DIR}/enabled"
|
||||
adb shell "echo 1 > ${VKMS_DIR}/crtcs/CRTC_0/writeback" # enabled=1
|
||||
adb shell "echo 1 > ${VKMS_DIR}/enabled"
|
||||
print_vkms_config
|
||||
start_hwc
|
||||
|
||||
set +e
|
||||
run_vts "writeback"
|
||||
# shellcheck disable=SC2034
|
||||
export EXIT_CODE=$?
|
||||
fdo_log_section_end run_vts_vkms_writeback
|
||||
|
|
@ -144,3 +144,21 @@ vts-headless:
|
|||
expire_in: 1 week
|
||||
tags:
|
||||
- kvm
|
||||
|
||||
vts-writeback:
|
||||
stage: android
|
||||
extends:
|
||||
.use-ubuntu/x86_64_android
|
||||
script:
|
||||
- "${CI_PROJECT_DIR}/.ci/android/writeback.sh"
|
||||
needs:
|
||||
- job: build_x86_64
|
||||
artifacts: true
|
||||
- job: ubuntu/x86_64_android
|
||||
artifacts:
|
||||
paths:
|
||||
- "${RESULTS_DIR}"
|
||||
when: always
|
||||
expire_in: 1 week
|
||||
tags:
|
||||
- kvm
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue