mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 07:51:59 -09:00
Release notes: https://lists.freedesktop.org/archives/mesa-announce/2024-May/000762.html https://lists.freedesktop.org/archives/mesa-announce/2024-June/000763.html https://lists.freedesktop.org/archives/mesa-announce/2024-June/000765.html https://lists.freedesktop.org/archives/mesa-announce/2024-July/000766.html https://lists.freedesktop.org/archives/mesa-announce/2024-July/000767.html https://lists.freedesktop.org/archives/mesa-announce/2024-July/000771.html https://lists.freedesktop.org/archives/mesa-announce/2024-August/000773.html https://lists.freedesktop.org/archives/mesa-announce/2024-August/000776.html https://lists.freedesktop.org/archives/mesa-announce/2024-September/000778.html https://lists.freedesktop.org/archives/mesa-announce/2024-September/000779.html https://lists.freedesktop.org/archives/mesa-announce/2024-October/000780.html https://lists.freedesktop.org/archives/mesa-announce/2024-October/000781.html https://lists.freedesktop.org/archives/mesa-announce/2024-October/000782.html https://lists.freedesktop.org/archives/mesa-announce/2024-November/000784.html https://lists.freedesktop.org/archives/mesa-announce/2024-November/000786.html https://lists.freedesktop.org/archives/mesa-announce/2024-December/000788.html https://docs.mesa3d.org/relnotes/24.3.2.html https://docs.mesa3d.org/relnotes/24.3.3.html https://docs.mesa3d.org/relnotes/24.3.4.html https://lists.freedesktop.org/archives/mesa-announce/2025-February/000793.html https://lists.freedesktop.org/archives/mesa-announce/2025-March/000794.html https://lists.freedesktop.org/archives/mesa-announce/2025-March/000795.html https://lists.freedesktop.org/archives/mesa-announce/2025-April/000796.html https://lists.freedesktop.org/archives/mesa-announce/2025-April/000798.html https://lists.freedesktop.org/archives/mesa-announce/2025-April/000801.html https://lists.freedesktop.org/archives/mesa-announce/2025-May/000803.html ------------------------------------------------------------------------ Changes needed for the bump to 24.1.x: Added dependency to llvm & Co. for iris driver due to upstream commit: https://cgit.freedesktop.org/mesa/mesa/commit/meson.build?h=24.1&id=a512c2a8b572c5da360873320dbbd343c6223cd6 Added host version of mesa tool intel_clc needed for target build of the iris driver. Added dependency to host-python-pycparser for etnaviv driver due to upstream commit: https://cgit.freedesktop.org/mesa/mesa/commit/src/etnaviv/hwdb/meson.build?h=24.1&id=2192e620bb0c68b75ff45165d0b117c7ecb77268 Added dependency to host-python-ply for intel vulkan driver due to upstream commit: https://cgit.freedesktop.org/mesa/mesa/commit/src/intel/vulkan/grl/meson.build?h=24.1&id=dc1aedef2bd054884685ad971a3ef5be07ecd101 Although this dependency exists since mesa3d 22.3 it is only needed when intel-clc is enabled, this dependency is added with this patch so no need to backport this dependency to older buildroot trees. Update configure parameter of glvnd option due to upstream commit: https://cgit.freedesktop.org/mesa/mesa/commit/meson.build?h=24.1&id=4f25b84b2460524d375424a81b42faa4d99c8e60 ------------------------------------------------------------------------ Changes needed for the bump to 24.2.x: Added dependency to host-python-pyyaml to host and target build, needed due to upstream commita381332757Rebased patch 0002 due to upstream commit: https://cgit.freedesktop.org/mesa/mesa/commit/src/gallium/drivers/vc4/meson.build?h=24.2&id=da70827656757cd070faac7aff5ca057f1e7fb8a Renamed BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST to BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SOFTPIPE (also updated tests) and added new option BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_LLVMPIPE due to upstream commit010b2f9497"gallium/meson: Deconflate swrast/softpipe/llvmpipe" Also, the test_glxinfo.py now needs GBM to work. Since GBM depends on EGL (which also selects GBM), this commit adds BR2_PACKAGE_MESA3D_OPENGL_EGL=y to this glxinfo runtime test config. Without this, glxinfo fails with an error such as: Error: couldn't find RGB GLX visual or fbconfig This is related to upstream cleanups such as:93511c1c5cThanks to El Mehdi YOUNES <elmehdi.younes@smile.fr> for pointing that out. ------------------------------------------------------------------------ Changes needed for the bump to 24.3.x: Rebased patch 0002 again due to upstream commit:25ba90fd88Removed dri3 configure option:8f6fca89aaRemoved gallium-omx configure option:9b6c27a320Removed gallium kmsro configure option:89863a050b70813c1c13No legacy option needed due to automatic handling by the mesa build system: "Automatically include it if we're building with a driver that depends on it, and don't include it if we're not." ------------------------------------------------------------------------ Changes needed for the bump to 25.0.x: Rebased patch 0001, added license files and updated license hash due to upstream commits which restructured the license files:69849bc4d1 (e672208340b30f973cdab11421f1c91b39d5c02e)c22d640fe9Removed configure option opencl-spirv due to upstream commit:80c4ffb61aUpdated configure options for host-build clc which was also renamed from intel_clc to mesa_clc, added host version of vtn_bindgen: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3271913fe5a597b5ddeea9a62Signed-off-by: Bernd Kuhls <bernd@kuhls.net> [Julien: add BR2_PACKAGE_MESA3D_OPENGL_EGL=y to test_glxinfo config to fix the runtime test] Signed-off-by: Julien Olivain <ju.o@free.fr>
46 lines
1.6 KiB
Python
46 lines
1.6 KiB
Python
import os
|
|
|
|
import infra.basetest
|
|
|
|
|
|
class TestKmsCube(infra.basetest.BRTest):
|
|
config = \
|
|
"""
|
|
BR2_aarch64=y
|
|
BR2_TOOLCHAIN_EXTERNAL=y
|
|
BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0"
|
|
BR2_LINUX_KERNEL=y
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.44"
|
|
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
|
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/aarch64-virt/linux.config"
|
|
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="{}"
|
|
BR2_PACKAGE_KMSCUBE=y
|
|
BR2_PACKAGE_LIBDRM=y
|
|
BR2_PACKAGE_MESA3D=y
|
|
BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SOFTPIPE=y
|
|
BR2_PACKAGE_MESA3D_LLVM=y
|
|
BR2_PACKAGE_MESA3D_OPENGL_EGL=y
|
|
BR2_PACKAGE_MESA3D_OPENGL_ES=y
|
|
BR2_TARGET_ROOTFS_CPIO=y
|
|
BR2_TARGET_ROOTFS_CPIO_GZIP=y
|
|
# BR2_TARGET_ROOTFS_TAR is not set
|
|
""".format(
|
|
infra.filepath("tests/package/test_kmscube/linux-vkms.fragment"))
|
|
|
|
def test_run(self):
|
|
img = os.path.join(self.builddir, "images", "rootfs.cpio.gz")
|
|
kern = os.path.join(self.builddir, "images", "Image")
|
|
self.emulator.boot(arch="aarch64",
|
|
kernel=kern,
|
|
kernel_cmdline=["console=ttyAMA0"],
|
|
options=["-M", "virt",
|
|
"-cpu", "cortex-a57",
|
|
"-smp", "4",
|
|
"-m", "256M",
|
|
"-initrd", img])
|
|
self.emulator.login()
|
|
|
|
cmd = "kmscube --vmode=640x480 --count=10"
|
|
self.assertRunOk(cmd, timeout=30)
|