summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics
AgeCommit message (Collapse)Author
2023-02-25xwayland: upgrade 22.1.7 -> 22.1.8Wang Mingyu
xwayland 22.1.8 - Security fix for CVE-2023-0494 Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit e0ca374267cce807d12d706564989900fe61bd97) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-02-25libjpeg-turbo: upgrade 2.1.5 -> 2.1.5.1Wang Mingyu
Changelog: ========== 1. The SIMD dispatchers in libjpeg-turbo 2.1.4 and prior stored the list of supported SIMD instruction sets in a global variable, which caused an innocuous race condition whereby the variable could have been initialized multiple times if 'jpeg_start_*compress()' was called simultaneously in multiple threads. libjpeg-turbo 2.1.5 included an undocumented attempt to fix this race condition by making the SIMD support variable thread-local. However, that caused another issue whereby, if 'jpeg_start_*compress()' was called in one thread and 'jpeg_read_*()' or 'jpeg_write_*()' was called in a second thread, the SIMD support variable was never initialized in the second thread. On x86 systems, this led the second thread to incorrectly assume that AVX2 instructions were always available, and when it attempted to use those instructions on older x86 CPUs that do not support them, an illegal instruction error occurred. The SIMD dispatchers now ensure that the SIMD support variable is initialized before dispatching based on its value. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 009a1b0390d791d614b8d4a1407e7479c261f60d) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-02-25xserver-xorg: 21.1.6 -> 21.1.7Kai Kang
According to the ANNOUNCE of xorg-server 21.1.7[1]: This release contains the fix for CVE-2023-0494 in today's security advisory: https://lists.x.org/archives/xorg-announce/2023-February/003320.html It also fixes a second possible OOB access during EnqueueEvent and a crasher caused by ResourceClientBits not correctly honouring the MaxClients value in the configuration file. Finally, a bunch of Xquartz updates including the ability to correctly detect ssh-tunneled clients as remote. [1]: https://lists.x.org/archives/xorg-announce/2023-February/003321.html Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 60737bee6466e206d8f3c751910dfce00b60d703) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-02-18libjpeg-turbo: upgrade 2.1.4 -> 2.1.5Alexander Kanavin
Significant changes relative to 2.1.4 Fixed issues in the build system whereby, when using the Ninja Multi-Config CMake generator, a static build of libjpeg-turbo (a build in which ENABLE_SHARED is 0) could not be installed, a Windows installer could not be built, and the Java regression tests failed. Fixed a regression introduced by 2.0 beta1[15] that caused a buffer overrun in the progressive Huffman encoder when attempting to transform a specially-crafted malformed 12-bit-per-component JPEG image into a progressive 12-bit-per-component JPEG image using a 12-bit-per-component build of libjpeg-turbo (-DWITH_12BIT=1.) Given that the buffer overrun was fully contained within the progressive Huffman encoder structure and did not cause a segfault or other user-visible errant behavior, given that the lossless transformer (unlike the decompressor) is not generally exposed to arbitrary data exploits, and given that 12-bit-per-component builds of libjpeg-turbo are uncommon, this issue did not likely pose a security risk. Fixed an issue whereby, when using a 12-bit-per-component build of libjpeg-turbo (-DWITH_12BIT=1), passing samples with values greater than 4095 or less than 0 to jpeg_write_scanlines() caused a buffer overrun or underrun in the RGB-to-YCbCr color converter. Fixed a floating point exception that occurred when attempting to use the jpegtran -drop and -trim options to losslessly transform a specially-crafted malformed JPEG image. Fixed an issue in tjBufSizeYUV2() whereby it returned a bogus result, rather than throwing an error, if the align parameter was not a power of 2. Fixed a similar issue in tjCompressFromYUV() whereby it generated a corrupt JPEG image in certain cases, rather than throwing an error, if the align parameter was not a power of 2. Fixed an issue whereby tjDecompressToYUV2(), which is a wrapper for tjDecompressToYUVPlanes(), used the desired YUV image dimensions rather than the actual scaled image dimensions when computing the plane pointers and strides to pass to tjDecompressToYUVPlanes(). This caused a buffer overrun and subsequent segfault if the desired image dimensions exceeded the scaled image dimensions. Fixed an issue whereby, when decompressing a 12-bit-per-component JPEG image (-DWITH_12BIT=1) using an alpha-enabled output color space such as JCS_EXT_RGBA, the alpha channel was set to 255 rather than 4095. Fixed an issue whereby the Java version of TJBench did not accept a range of quality values. Fixed an issue whereby, when -progressive was passed to TJBench, the JPEG input image was not transformed into a progressive JPEG image prior to decompression. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f779689c2c766b609be31222d71110c1a15145a8) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-02-11glslang: branch rename master -> mainMingli Yu
Branch name is changed from master to main. Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 65ee4c1067ee5d73c198eed8ed2f1c9a60d5df96) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-02-10vulkan-samples: branch rename master -> mainAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 74bf535ca5cbcfb38c18775ece863d53dd216008) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-01-31spirv-headers/spirv-tools: set correct branch nameRoss Burton
As of last week, the SPIRV repositories have renamed their master branches to main: https://github.com/KhronosGroup/SPIRV-Headers/issues/313 Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 2957da09f13607ac00ddd4a87ec9ad0014326507) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-01-19harfbuzz: remove bindir only if it existsPetr Kubizňák
In some scenarios (e.g. when "glib" removed from PACKAGECONFIG), "${D}${bindir}" might not exist which caused `rmdir` to fail. Signed-off-by: Petr Kubizňák <kubiznak@2n.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 21261072cbe0056e85550a0710de142fab8943e4) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-01-19mesa-gl: gallium is required when enabling x11Carlos Alberto Lopez Perez
Otherwise Meson will fail wit this error: - meson.build:555:6: ERROR: Problem encountered: xlib based GLX requires at least one gallium driver Related: https://github.com/agherzan/meta-raspberrypi/pull/1119 Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit e7ee2dd98148e5104c52735a9a43e519dc24abfd) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-01-19xserver-xorg: upgrade 21.1.4 -> 21.1.6Alexander Kanavin
Changelog: https://fossies.org/linux/misc/xorg-server-21.1.6.tar.xz/xorg-server-21.1.6/ChangeLog Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 009e8d6a292690a0c355d12be2368a9677c701f5) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-01-19xwayland: upgrade 22.1.5 -> 22.1.7Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit c37ec8b2d91605d6eb5228f0a447fb83f111edc3) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-01-19pango: upgrade 1.50.11 -> 1.50.12Ross Burton
Overview of changes in 1.50.12, 18-11-2022 ========================================== - Fix weight conversion on MacOS - Update to Unicode 15 - Some introspection annotation fixes - Improve PangoAttrList serialization - Fix char offset calculatiosn in multi-paragraph layouts Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 35fc61a1dd63a0555b67da899418010d595b545c) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-01-19cairo: fix CVE patches assigned wrong CVE numberQuentin Schulz
CVE-2019-6461 and CVE-2019-6462 are fixed, but the reporting is incorrect as the patch for CVE-2019-6461 is actually for CVE-2019-6462 and vice-versa. This swaps both files and edit the CVE field to report the correct identifier. Cc: Quentin Schulz <foss+yocto@0leil.net> Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f12c2a5ac94cb29f473f3c7e335463c7fb6d8a6e) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-01-06libepoxy: remove upstreamed patchRoss Burton
This patch was upstreamed in 6b09a8bc, 1.5.5 onwards. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 99b6e1ecb18d595e7b66344de882c1e1db6f35c3) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06cairo: update patch for CVE-2019-6461 with upstream solutionQuentin Schulz
Upstream went with something slightly different so let's update the patch so we don't have to carry a patch that isn't going to be merged. This patch is part of snapshot 1.17.6. Cc: Quentin Schulz <foss+yocto@0leil.net> Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 19eb1e388fbbe5bfb8462710c745f2bb5446b5b5) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-23libdrm: Remove libdrm-kms packageSandeep Gundlupet Raju
libkms library is deprecated in 2.4.111 version. Hence remove libdrm-kms package. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 3c250b743bce6cc63ff2949deea0adefe82d933c) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-12-23xwayland: libxshmfence is needed when dri3 is enabledCarlos Alberto Lopez Perez
* The build error happens already at configure time: | meson.build: ERROR: Problem encountered: DRI3 requested, but xshmfence not found Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 451fe4a067432b432b9cd38d2fc78072f6ce5421) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-11-25mesa: do not rely on native llvm-config in target sysrootAlexander Kanavin
Sadly the magic is not perfect: llvm-config contains a hardcoded value for the libdir from the native configuration, and things will break if the target build installs libraries somewhere else (e.g. lib64). llvm-config in target bindir also needs a rpath adjustment, otherwise it simply won't even run when e.g. building for arm on x86. To avoid patching llvm-source let's simply add more cases to the llvm-config wrapper script, so that falling through to llvm-config binary is avoided. Fortunately those cases are all static in what they return, even though llvm-config binary does poke around the file tree to arrive at them (which is where breakage happens if native and target don't match exactly wrt libdir). I verified that this works by building mesa with llvm enabled for qemuarm64 and with baselib set to 'lib64' - so that both the target architecture and target libdir differ from native ones. Upstream tickets: https://github.com/llvm/llvm-project/issues/58984 https://github.com/mesonbuild/meson/issues/11043 Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 056431883e94296b767a479d029b914392e4fd7c) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-11-25mesa: upgrade 22.2.2 -> 22.2.3Wang Mingyu
Mesa 22.2.3 is a bug fix release which fixes bugs found since the 22.2.2 release. New features - None Bug fixes - r300: register allocation sometimes generate invalid swizzles - nouveau: Updating to Mesa*22.2.0 makes videos have corrupted colors in Firefox - [radeonsi] OpenGL rendering issue with Unreal Tournament 99 & OldUnreal 4.69 rc4 - GravityMark segfault when using ray tracing ANV - r300: wrong primitive positions in CXBX-R emulator with nine and RADEON_DEBUG=notcl Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit d7037207e5c7d93031311b3ad88e4548ce8bb47a) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-11-25libsdl2: upgrade 2.24.1 -> 2.24.2Wang Mingyu
This is a stable bugfix release, with the following changes: Windows Only check to see if the ICC profile changes when the display changes or we gain focus Fixed window resize handing when using the D3D12 renderer Fixed Xbox controller detection on Windows XP macOS Fixed long delay in SDL_CloseAudioDevice() Linux Fixed crash in Wayland_HasScreenKeyboardSupport() FreeBSD Fixed building without GNU sort, but warn that dynamic libraries won't be found Emscripten Fixed infinite recursion related to mutexes on startup OS/2 Fixes and improvements to SDL_LoadObject() functionality Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 0091bbe02399f49b7da1ebf9b45541b26fb2ce12) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-11-25libepoxy: update 1.5.9 -> 1.5.10Alexander Kanavin
Changes since 1.5.9 - Fix for building with MSVC on non-English locale [Seungha Yang] - Fix build on Android [Caolán McNamara] - Add the right include paths for EGL and X11 headers [Alex Richardson] Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 436cb3c98c582e17e6ed2491cc6598c56976af46) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-11-25libepoxy: convert to gitAlexander Kanavin
Latest version doesn't come with stable tarballs. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 4b6eed2bb323a3c7390ca3ad426afe27e9072bf0) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-11-21pango: replace a recipe fix with an upstream submitted patchAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit f444e01e0230904510f50d1b093d75253faf1bca) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-11-21pango: Make it build with ptest disabledPeter Kjellerstedt
This avoids the following error: ERROR: pango-1.50.11-r0 do_package: QA Issue: pango: Files/directories were installed but not shipped in any package: /usr/libexec /usr/libexec/installed-tests /usr/libexec/installed-tests/pango /usr/libexec/installed-tests/pango/nofonts /usr/libexec/installed-tests/pango/nofonts/fonts.conf Also use tabs for indentation of shell code. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit d4bcd4050a6a9b6b1cb8e68b2053523cc0501814) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-11-21pango: upgrade 1.50.10 -> 1.50.11Alexander Kanavin
Overview of changes in 1.50.11, 03-10-2022 ========================================== - Don't crash for lack of fonts - Avoid a crash in shaping Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit a330e75f90841cd230180d8a9b37e58d7d69c495) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-11-21xwayland: upgrade 22.1.4 -> 22.1.5Wang Mingyu
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 48ca760427f14ae291bf2ebf6f93f8d0fb27e3ab) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-11-21xwayland: upgrade 22.1.3 -> 22.1.4Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 553c080e0e30c8f6b69b4c5fae72903ee45ef6ae) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-11-07pixman: backport fix for CVE-2022-44638Ross Burton
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-11-04xserver-xorg: move some recommended dependencies in requiredThomas Perrot
Otherwise, xserver will no longer start when NO_RECOMMENDATIONS = “1”, because dependencies in XSERVER_RRECOMMENDS are missing. Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit bc7bd3953f3896af0db036250cda34bc9ecbb3ac) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-11-04vulkan-samples: add lfs=0 to SRC_URI to avoid git smudge errors in do_unpackMartin Jansa
* we don't need other_lib/ios/Debug-iphoneos/libSDL2.a from https://github.com/KhronosGroup/KTX-Software.git so we can explicitly disable LFS here to avoid do_unpack error, bitbake will then use GIT_LFS_SKIP_SMUDGE=1 to override smudge setting in gitconfig, otherwise we would need bitbake patch to fetch LFS objects from the submodules as well * do_fetch won't fetch LFS objects without explicitly requesting lfs in SRC_URI then do_unpack might run git smudge when enabled in .gitconfig (or /etc/gitconfig) with: [filter "lfs"] smudge = git-lfs smudge -- %f process = git-lfs filter-process required = true clean = git-lfs clean -- %f and do_unpack fails as in: http://errors.yoctoproject.org/Errors/Details/672888/ The default /etc/gitconfig in ubuntu has this added automatically by git-lfs postinst: root@ljama:~# rm /etc/gitconfig root@ljama:~# git lfs install --skip-repo --system Git LFS initialized. root@ljama:~# cat /etc/gitconfig [filter "lfs"] clean = git-lfs clean -- %f smudge = git-lfs smudge -- %f process = git-lfs filter-process required = true root@ljama:~# cat /var/lib/dpkg/info/git-lfs.postinst set -e # Set up /etc/gitconfig for git-lfs. The --skip-repo option prevents failure if # / is a Git repository with existing non-git-lfs hooks. git lfs install --skip-repo --system > /dev/null 2>&1 according to https://changelogs.ubuntu.com/changelogs/pool/universe/g/git-lfs/git-lfs_3.0.2-1/changelog it was added in: git-lfs (2.6.0-1) unstable; urgency=medium * New upstream release * Bump standards version to 4.2.1 * Add postinst/prerm to set up/remove git-lfs gitconfig FWIW: vulkan-samples still fail to build with DEBUG_BUILD enabled: http://errors.yoctoproject.org/Errors/Details/672892/ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit b45b1f5dba02a626b7e9040d45198bd17dce4c99) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-11-04mesa: update 22.2.0 -> 22.2.2Markus Volk
Mesa 22.2.2 is a bug fix release which fixes bugs found since the 22.2.1 release. New features None Bug fixes radv: Crash in dEQP-VK.ray_query.misc.dynamic_indexing glthread: radeonsi: offset textures in game starsector with glthread enabled Crashing on Windows VM Exanima renders with the wrong colors. nouveau: tegra124: GL_OUT_OF_MEMORY error Changes freedreno: Fix graphic glitches on a4xx and a5xx nir/lower_system_values: Fix cs_local_index_to_id with variable workgroups pan/mdg: Lower PIPE_COMPUTE_CAP_MAX_THREADS_PER_BLOCK on Midgard pan/mdg: Fix 16-bit alignment with spiller nir: Fix nir_fmax_abs_vec_comp gallium/vl: Add opaque rgb pixel formats aco/spill: Fix spilling of Phi operands tu: Reset whether there is DS resolve for dynamic subpass gallivm: handle llvm coroutines for llvm > 15 nouveau: treat DRM_FORMAT_INVALID as implicit modifier docs: Add sha256 sum for 22.2.1 .pick_status.json: Update to 243aa6b2ec0c2626b1333ba666a6d6d60ede8505 .pick_status.json: Update to c4482a3c1a973975eb27ac284a18bebca24f7876 .pick_status.json: Update to 3eed5931edf6e5f45378b013ca21f98f17af2b34 .pick_status.json: Update to b02e9ef35a0446019cda9473e4c355c7cc4bb24d .pick_status.json: Mark 4c7a44413a07d3fb314f786e047bb7212c082a6c as denominated .pick_status.json: Mark dbd022f2ab43ff0a9ecc05c61123467e25f109de as backported turnip: Don’t use the dynamic color write enable during non-dynamic. gallium/u_threaded_context: remove stale comment r300: don’t use smooth line if not requested r600/sfn: Always start a new CF after a KILL instruction r600/sfn: don’t propagate registers into conditional test virgl: Report CONSTANT_BUFFER_SIZE according to GL_MAX_UNIFORM_BLOCK_SIZE vulkan/runtime: don’t lookup the pipeline disk cache if disabled anv: initialization pipeline layout to 0s anv: add missing tracepoint clc/clover: Link clang statically when shared-llvm is disabled zink: clamp line_stipple_factor to 1 if stipple is disabled zink: unset rp_changed after initializing renderpass attachments zink: disable fbfetch when flushing clears vulkan/wsi: Add dep_libudev to idep dependencies gallium/va: vaDeriveImage to check PIPE_VIDEO_SUPPORTS_CONTIGUOUS_PLANES_MAP d3d12: Implement cap PIPE_VIDEO_SUPPORTS_CONTIGUOUS_PLANES_MAP zink: fix invalid Offset set for variables which do not need an offset zink: stop enabling minmax filtering when not supported zink: fix isNan mismatch between NIR and SPIR-V util/conf: enable init to zero workaround for Exanima util/radeonsi: enable zerovram workaround for Exanima radv: add radv_zero_vram workarounds for OpenGL games glthread: fix matrix stack depth tracking glthread: leave dlist dispatch in place for Begin/End util: Turn -DWINDOWS_NO_FUTEX to be pre_args - add a PACKAGECONFIG for perfetto support Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit cbcaff0b4cc349706b9847f4262746b43adba209) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-11-03libsdl2: upgrade 2.24.0 -> 2.24.1wangmy
This is a stable bugfix release, with the following changes: Windows Only check to see if the ICC profile changes when the display changes or we gain focus Fixed window resize handing when using the D3D12 renderer Fixed Xbox controller detection on Windows XP macOS Fixed long delay in SDL_CloseAudioDevice() Linux Fixed crash in Wayland_HasScreenKeyboardSupport() FreeBSD Fixed building without GNU sort, but warn that dynamic libraries won't be found Emscripten Fixed infinite recursion related to mutexes on startup OS/2 Fixes and improvements to SDL_LoadObject() functionality 0001-Disable-libunwind-in-native-OE-builds-by-not-looking.patch refreshed for new version. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit aa45a2fad9ecd5d553c605dc6b3d4cd70d7d7776) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-10-31mesa: only apply patch to fix ALWAYS_INLINE for nativeKai Kang
0001-nir-nir_opt_move-fix-ALWAYS_INLINE-compiler-error.patch is not needed by target mesa any more. But it still fails to compile mesa-native without this patch when DEBUG_BUILD is enabled on Ubuntu 18.04 with gcc 7.5.0: | ../mesa-22.1.6/src/compiler/nir/nir_inline_helpers.h: In function ‘nir_opt_move_block’: | ../mesa-22.1.6/src/compiler/nir/nir_opt_move.c:55:1: error: inlining failed in call to always_inline ‘src_is_ssa’: indirect function call with a yet undetermined callee | src_is_ssa(nir_src *src, void *state) | ^~~~~~~~~~ So only apply it for mesa-native. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit c6a6d0c2680799683d58968c2558a224f27caaa2) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-10-31pango: upgrade 1.50.9 -> 1.50.10Ross Burton
Overview of changes in 1.50.10, 16-09-2022 ========================================= - Avoid some unnecessary strdups - Fix line height computations with a non-trivial CTM Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> (cherry picked from commit 884ce27b9cee231e093fe53192d04133c437404e) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-10-31xserver-xorg: backport fixes for CVE-2022-3550 and CVE-2022-3551Ross Burton
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit e32401d8bf44afcca88af7e4c5948d2c28e1813f) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-10-31xserver-xorg: ignore CVE-2022-3553 as it is XQuartz-specificRoss Burton
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 769576f36aac9652525beec5c7e8a4d26632b844) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-10-31libx11: apply the fix for CVE-2022-3554Ross Burton
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 5d30f124274d2822d72b56f84eb8c8ae64e31e0d) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-09-28virglrenderer: use https for fetching from gitlabAlexander Kanavin
git:// does not respond. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-28meta: fix version checks in all github recipes using the github-releases classAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-22virglrenderer: upgrade 0.9.1 -> 0.10.3Markus Volk
Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-22mesa: upgrade 22.1.6 -> 22.2.0Markus Volk
- add PACKAGECONFIG to build vulkan beta drivers - add PACKAGECONFIG for zink and build it along with vulkan - remove TLS-ELF patch and the associated PACKAGECONFIG. It looks like its unneeded - remove swrast_kms backport patch - remove the patch that reverts the deprecation of drm_handle as it is not applicable. Still needed ? - fix patch fuzz warnings License file has been changed, but no change of licenses https://gitlab.freedesktop.org/mesa/mesa/-/commit/e6392fcf3d8b8dd7e3a8427755d8be2f2332366a Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-21libdrm: upgrade 2.4.112 -> 2.4.113Markus Volk
Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-08cairo: Adapt the license information based on what is being builtPeter Kjellerstedt
If the "trace" PACKAGECONFIG is removed to disable cairo-trace (the only part of the code licensed as GPL-3.0), we can adapt the licenses for cairo-dbg and cairo-src so that they do not include "GPL-3.0-or-later" and thus they can be used also when, e.g., GPL-3.0 is blacklisted in INCOMPATIBLE_LICENSE. Also drop the GPL-3.0 license text from LIC_FILES_CHKSUM in this case. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-08libsdl2: update 2.0.22 -> 2.24.0Markus Volk
In addition to lots of bug fixes, here are the major changes in this release: General: New version numbering scheme, similar to GLib and Flatpak. An even number in the minor version (second component) indicates a production-ready stable release such as 2.24.0, which would have been 2.0.24 under the old system. The patchlevel (micro version, third component) indicates a bugfix-only update: for example, 2.24.1 would be a bugfix-only release to fix bugs in 2.24.0, without adding new features. An odd number in the minor version indicates a prerelease such as 2.23.0. Stable distributions should not use these prereleases. The patchlevel indicates successive prereleases, for example 2.23.1 and 2.23.2 would be prereleases during development of the SDL 2.24.0 stable release. Added SDL_GetPointDisplayIndex() and SDL_GetRectDisplayIndex() to get the display associated with a point and rectangle in screen space Added SDL_bsearch(), SDL_crc16(), and SDL_utf8strnlen() to the stdlib routines Added SDL_CPUPauseInstruction() as a macro in SDL_atomic.h Added SDL_size_mul_overflow() and SDL_size_add_overflow() for better size overflow protection Added SDL_ResetHint() to reset a hint to the default value Added SDL_ResetKeyboard() to reset SDL's internal keyboard state, generating key up events for all currently pressed keys Added the hint SDL_HINT_MOUSE_RELATIVE_WARP_MOTION to control whether mouse warping generates motion events in relative mode. This hint defaults off. Added the hint SDL_HINT_TRACKPAD_IS_TOUCH_ONLY to control whether trackpads are treated as touch devices or mice. By default touchpads are treated as mouse input. The hint SDL_HINT_JOYSTICK_HIDAPI_JOY_CONS now defaults on Added support for mini-gamepad mode for Nintendo Joy-Con controllers using the HIDAPI driver Added the hint SDL_HINT_JOYSTICK_HIDAPI_COMBINE_JOY_CONS to control whether Joy-Con controllers are automatically merged into a unified gamepad when using the HIDAPI driver. This hint defaults on. The hint SDL_HINT_JOYSTICK_HIDAPI_SWITCH_HOME_LED can be set to a floating point value to set the brightness of the Home LED on Nintendo Switch controllers Added the hint SDL_HINT_JOYSTICK_HIDAPI_JOYCON_HOME_LED to set the Home LED brightness for the Nintendo Joy-Con controllers. By default the Home LED is not modified. Added the hint SDL_HINT_JOYSTICK_HIDAPI_SWITCH_PLAYER_LED to control whether the player LED should be lit on the Nintendo Joy-Con controllers Added support for Nintendo Online classic controllers using the HIDAPI driver Added the hint SDL_HINT_JOYSTICK_HIDAPI_NINTENDO_CLASSIC to control whether the HIDAPI driver for Nintendo Online classic controllers should be used Added support for the NVIDIA Shield Controller to the HIDAPI driver, supporting rumble and battery status Added support for NVIDIA SHIELD controller to the HIDAPI driver, and a hint SDL_HINT_JOYSTICK_HIDAPI_SHIELD to control whether this is used Added functions to get the platform dependent name for a joystick or game controller: SDL_JoystickPathForIndex() SDL_JoystickPath() SDL_GameControllerPathForIndex() SDL_GameControllerPath() Added SDL_GameControllerGetFirmwareVersion() and SDL_JoystickGetFirmwareVersion(), currently implemented for DualSense(tm) Wireless Controllers using HIDAPI Added SDL_JoystickAttachVirtualEx() for extended virtual controller support Added joystick event SDL_JOYBATTERYUPDATED for when battery status changes Added SDL_GUIDToString() and SDL_GUIDFromString() to convert between SDL GUID and string Added SDL_HasLSX() and SDL_HasLASX() to detect LoongArch SIMD support Added SDL_GetOriginalMemoryFunctions() Added SDL_GetDefaultAudioInfo() to get the name and format of the default audio device, currently implemented for PipeWire, PulseAudio, WASAPI, and DirectSound Added HIDAPI driver for the NVIDIA SHIELD controller (2017 model) to enable support for battery status and rumble Added support for opening audio devices with 3 or 5 channels (2.1, 4.1). All channel counts from Mono to 7.1 are now supported. Rewrote audio channel converters used by SDL_AudioCVT, based on the channel matrix coefficients used as the default for FAudio voices SDL log messages are no longer limited to 4K and can be any length Fixed a long-standing calling convention issue with dynapi affecting OpenWatcom or OS/2 builds Windows: Added initial support for building for Windows and Xbox with Microsoft's Game Development Kit (GDK), see docs/README-gdk.md for details Added a D3D12 renderer implementation and SDL_RenderGetD3D12Device() to retrieve the D3D12 device associated with it Added the hint SDL_HINT_WINDOWS_DPI_AWARENESS to set whether the application is DPI-aware. This hint must be set before initializing the video subsystem Added the hint SDL_HINT_WINDOWS_DPI_SCALING to control whether the SDL coordinates are in DPI-scaled points or pixels Added the hint SDL_HINT_DIRECTINPUT_ENABLED to control whether the DirectInput driver should be used Added support for SDL_GetAudioDeviceSpec to the DirectSound backend Linux: Support for XVidMode has been removed, mode changes are only supported using the XRandR extension Added the hint SDL_HINT_VIDEO_WAYLAND_MODE_EMULATION to control whether to expose a set of emulated modes in addition to the native resolution modes available on Wayland Added the hint SDL_HINT_KMSDRM_DEVICE_INDEX to specify which KMSDRM device to use if the default is not desired Added the hint SDL_HINT_LINUX_DIGITAL_HATS to control whether to treat hats as digital rather than checking to see if they may be analog Added the hint SDL_HINT_LINUX_HAT_DEADZONES to control whether to use deadzones on analog hats macOS: Bumped minimum OS deployment version to macOS 10.9 Added SDL_GL_FLOATBUFFERS to allow Cocoa GL contexts to use EDR Added the hint SDL_HINT_MAC_OPENGL_ASYNC_DISPATCH to control whether dispatching OpenGL context updates should block the dispatching thread until the main thread finishes processing. This hint defaults to blocking, which is the safer option on modern macOS. Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-08piglit: upgrade to latest revisionwangmy
0004-CMakeLists.txt-add-missing-endian.h-check.patch removed sinct it's included in new version. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-08kmscube: upgrade to latest revisionwangmy
0001-drm-common.c-do-not-use-invalid-modifier.patch 0001-texturator-Use-correct-GL-extension-header.patch removed since they're included in new version. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-05libfontenc: Update 1.1.4 to 1.1.6Robert Joslyn
Tarball switched from bz2 to xz. Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-09-05libxau: Update 1.0.9 to 1.0.10Robert Joslyn
Tarball switched from bz2 to xz. Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-09-05libxfont2: Update 2.0.5 to 2.0.6Robert Joslyn
Tarball switched from bz2 to xz. Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-09-05xorg-lib-common: Add variable to set tarball typeRobert Joslyn
Upstream has switched some new releases from bz2 to xz compression. Add an XORG_EXT variable so recipes can set the file name extension needed for the compression type. Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>