mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2025-12-20 04:40:07 +01:00
gitlab-ci: Build kernel with udmabuf support
With udmabuf we can write test for dmabuf paths in a similar manner to shm. It's available by default in most recent distros and thus works OOTB on developer setups. Drop vgem as it isn't needed any more and makes the CI use kms_swrast (instead swrast), which isn't compatible with the llvmpipe dmabuf implementation yet. Using swrast also streamlines CI with running tests locally, making debugging easier. Signed-off-by: Robert Mader <robert.mader@collabora.com>
This commit is contained in:
parent
57f48ab91c
commit
682d420b50
2 changed files with 1 additions and 4 deletions
|
|
@ -93,7 +93,7 @@ if [[ -n "$KERNEL_DEFCONFIG" ]]; then
|
|||
--enable CONFIG_DRM_KMS_HELPER \
|
||||
--enable CONFIG_DRM_KMS_FB_HELPER \
|
||||
--enable CONFIG_DRM_VKMS \
|
||||
--enable CONFIG_DRM_VGEM
|
||||
--enable CONFIG_UDMABUF
|
||||
make ARCH=${LINUX_ARCH} oldconfig
|
||||
make ARCH=${LINUX_ARCH}
|
||||
|
||||
|
|
|
|||
|
|
@ -13,9 +13,6 @@ export LIBSEAT_BACKEND=seatd
|
|||
# change across each boot. That's why we have this one-liner shell script to get
|
||||
# the appropriate node for VKMS.
|
||||
export WESTON_TEST_SUITE_DRM_DEVICE=$(basename /sys/devices/platform/vkms/drm/card*)
|
||||
# To run tests in the CI that exercise the zwp_linux_dmabuf_v1 implementation in
|
||||
# Weston, we use VGEM to allocate buffers.
|
||||
export WESTON_TEST_SUITE_ALLOC_DEVICE=$(basename /sys/devices/platform/vgem/drm/card*)
|
||||
|
||||
# ninja test depends on meson, and meson itself looks for its modules on folder
|
||||
# $HOME/.local/lib/pythonX.Y/site-packages (the Python version may differ).
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue