summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa/files
Commit message (Collapse)AuthorAgeFilesLines
* mesa: upgrade 22.1.6 -> 22.2.0Markus Volk2022-09-228-355/+25
| | | | | | | | | | | | | | | | | - 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 (From OE-Core rev: a85d0566c0e09e7ccd394c6465305ab97ce5973a) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: fix compile error when debug build enabledKai Kang2022-07-281-0/+65
| | | | | | | | | | | | | | | | | | It fails to compile mesa{,-native} when DEBUG_BUILD is enabled: ../mesa-22.1.3/src/compiler/nir/nir_inline_helpers.h: In function ‘nir_opt_move_block’: ../mesa-22.1.3/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) ^~~~~~~~~~ Backport patch from mesa merge request to fix it. (From OE-Core rev: 468715c42632a8467dc1f0abe0f3cd540de5f7c3) 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>
* mesa: update 22.0.3 -> 22.1.2Alexander Kanavin2022-06-221-0/+113
| | | | | | | | (From OE-Core rev: d5b2e40be6d6e4c52078ab5a087eefaa7330c320) 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>
* mesa: backport a patch to support compositors without zwp_linux_dmabuf_v1 againMartin Jansa2022-06-171-0/+158
| | | | | | | | | | * the same will be needed for kirkstone (From OE-Core rev: 3857066550d77c2c8134326f7e9b28d0f4d78b7a) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: update to 22.0.0Markus Volk2022-03-156-80/+38
| | | | | | | | | | | | | | | | | | | - remove 0001-v3dv-account-for-64bit-time_t-on-32bit-arches.patch that was applied upstream - adjust 0002-meson.build-make-TLS-ELF-optional.patch - fix patch fuzz - DRI1 drivers have been removed! For all AMD/Nvidia Cards gallium-llvm is required License-Update: removed references to deleted code. RP: Fix dri PACKAGECONFIG reference to opengl instead (From OE-Core rev: 325ea352a8326f3b35a8a591f8f7a7dfa890cbcb) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Fix broadcom vulkan driver build on 32bit arches with 64bit time_tKhem Raj2021-12-081-0/+41
| | | | | | | (From OE-Core rev: 42067ccbf465197ab8d5d6be6d15b71a526decf8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Fix build on ARM systems without NeonKhem Raj2021-12-081-0/+49
| | | | | | | | | | | | See [1] [1] https://github.com/YoeDistro/yoe-distro/issues/626 (From OE-Core rev: 48c898ae4e885d9f3af894d77946e5eb3a498112) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade 21.2.1 -> 21.2.4Pablo Saavedra Rodi?o2021-10-231-53/+0
| | | | | | | | | | | | | | | | | | | | | | | | Contains 'Make YUV formats we're going to emulate external-only' [1] was applied in 21.2.4. This fixes red label issues on video for VC4, Freedreno and others. Deletes meta/recipes-graphics/mesa/files/without-neon.patch [2] already in Mesa since 21.2. Release notes: * 21.2.2: https://docs.mesa3d.org/relnotes/21.2.2.html * 21.2.3: https://docs.mesa3d.org/relnotes/21.2.3.html * 21.2.4: https://docs.mesa3d.org/relnotes/21.2.4.html [1] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13038 [2] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12569 (From OE-Core rev: 51fccaa16a3cb78ace077ba593b6cdde5e085528) Signed-off-by: Pablo Saavedra <psaavedra@igalia.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: fix build on Arm V5 with soft floatRoss Burton2021-09-021-0/+53
| | | | | | | | | | | | | | | | | Since 80923e8d ("util/format: Add some NEON intrinsics-based u_format_unpack.") upstream the build fails on Arm platforms which use the soft-float ABI, such as qemuarmv5: arm_neon.h:31:2: error: #error "NEON intrinsics not available with the soft-float ABI. Please use -mfloat-abi=softfp or -mfloat-abi=hard" Take a patch from upstream to check the ABI being used before trying to use NEON instructions. (From OE-Core rev: f3d82abb781c2642a50a60033641194d1e40c212) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade 21.1.5 -> 21.2.1Alexander Kanavin2021-08-231-6/+6
| | | | | | | (From OE-Core rev: 0d0a0902fe8db8a87c16be3b722e3b8d5f193785) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade 21.1.5 -> 21.1.7Andreas Müller2021-08-181-72/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Joshua's vc4/v3d/dma-patch was applied in 21.1.7 Release notes 21.1.7: Bug fixes Miscompilation of a switch case [radeonsi][regression] CPU is being used ~10 times more than usual after c5478f9067f. dEQP-VK.wsi.android.swapchain.create#image_swapchain_create_info crash on Android R The image is distorted while use iGPU(Intel GPU) rendering and output via dGPU (AMD GPU) lima: regression in plbu scissors cmd Incorrect rendering Changes pan/bi: Restrict swizzles on same cycle temporaries nir/lower_mediump_io: Don’t remap base unless needed nir/lower_mediump: Fix metadata in all passes util/fossilize_db: Update parsed_offset correctly. util/fossilize_db: Reset file position to parsed_offset on cache_offset read failure. util/fossilize_db: Flush files after header write. util/fossilize_db: Be conservative about header length check for locking. util/fossilize_db: Only allocate entries after full read. util/fossilize_db: Use uint64_t for file size. util/fossilize_db: Unlock the cache file if the entry already exists. util/fossilize_db: Add extra flock mutex. radv: Allocate space for inline push constants. vulkan/wsi/x11: do not inherit last_present_mode ir3: Preserve gl_ViewportIndex in the binning shader teximage: return correct desktop GL error for compressedteximage intel/fs: restrict max push length on older GPUs to a smaller amount virgl: disable anisotropic filtering. freedreno/ir3: Add build id to the disassembler test .pick_status.json: Update to 7055282231cdad23e7b23fb49a2f953a99797f8a .pick_status.json: Update to 2f06642b06c94f07f4bfe3df32b25659428c9144 .pick_status.json: Mark 6ccf11ac2b951963407601b5b1109b45a972e48e as denominated .pick_status.json: Update to 2f06642b06c94f07f4bfe3df32b25659428c9144 .pick_status.json: Update to 353e6323936b812884fa677c25bdba91554881b7 .pick_status.json: Update to 4128acdee32eadfef1fb8c3c3ce2e512a267cdf4 pick-ui: drop assert that optional argument is passed pick-ui: show nomination type in the UI pick-ui: show commit date lima: avoid crash with negative viewport values zink: make codegen compatible with python 3.5 mesa/main: Check for fbo attachments when importing EGL images to textures v3d, vc4: Fix dmabuf import for non-scanout buffers gallium/hud: initialize query nv30: fix emulated vertex index buffers gallium: Reset {d,r}Priv in dri_unbind_context loader/dri3: create linear buffer with scanout support anv: fix submission batching with perf queries anv: don’t try to access Android swapchains renderonly: don’t complain when GPU import fails etnaviv: always try to create KMS side handles for imported resources glsl: evaluate switch expression once zink: use array size in spirv bo length calculations etnaviv: fix gbm_bo_get_handle_for_plane for multiplanar images clover/spirv: Properly size 3-component vector args clover/nir: Set constant buffer pointer size to host gallium/va: don’t use key=NULL in hash tables amd/registers: fix fields conflict detection radeonsi: don’t create an infinite number of variants nir/algebraic: fix imod by negative power-of-two radv: fix selecting the first active CU when profiling with SQTT etnaviv: fix renderonly check in etna_resource_alloc etnaviv: fail in get_handle(TYPE_KMS) without a scanout resource freedreno: fail in get_handle(TYPE_KMS) without a scanout resource panfrost: fail in get_handle(TYPE_KMS) without a scanout resource lima: fail in get_handle(TYPE_KMS) without a scanout resource nine: Fix assert in tx_src_param intel/compiler: make sure swizzle is applied to if condition glsl: Add operator for .length() method on implicitly-sized arrays glsl: Properly handle .length() of an unsized array gallium/vl: don’t leak fd in vl_dri3_screen_create Release notes 21.1.6: Bug fixes [RADV] FSR in Resident Evil: Village looks very pixelated on Polaris Crash in update_buffers after closing KDE “splash screen” downloader Crash in update_buffers after closing KDE “splash screen” downloader radeonsi: persistent, read-only buffer maps are slow to read substance painter flickering with jagged texture and masks shown black radv: FP16 mode in FidelityFX FSR doesn’t look right [RADV] Blocky corruption in Scarlet Nexus and vkd3d-proton 2.4 Radeon RX580 and 5700 XT: Reloading ARB assembly shaders causes very glitchy rendering Changes targets/graw-xlib: Add missing dep_x11 egl/surfaceless: try kms_swrast before swrast meson: allow egl_native_platform to be specified freedreno/computerator: Fix local_size typo aco/optimizer: ensure to not erase high bits when propagating packed constants egl/wayland: Error on invalid native window egl/wayland: Allow EGLSurface to outlive wl_egl_window softpipe/aniso: move DDQ calculation to after scaling. llvmpipe: add support for time elapsed queries. .pick_status.json: Mark a9c9a9938d6d2ead6f08ccf5256c95801fbc864f as backported .pick_status.json: Update to 376fb4f55f080929df8ca5a2a975fc88a00eec06 .pick_status.json: Update to 1d6c790f9f6c373e667de955822b1048c7073ba3 .pick_status.json: Update to 73262d4bd4a4637a332264a165c62ce3209d03fb zink: remove duplicate format-mapping on little-endian vulkan: do not map zero-sized region of memory vulkan: allocate host-visible memory for swapchain images nir/gcm: Clear out pass_flags before starting iris: Re-emit MEDIA_VFE_STATE for variable group size shaders anv: Handle errors properly in anv_i915_query v3d/driconf: Expose non-MSAA texture limits for mutter and gnome-shell lavapipe: Use common Vulkan format helpers broadcom/compiler: emit TMU flush before a jump nv50/ir/nir: fix smem size for GL radeonsi: don’t expose no-attachment MSAA 16x on all 1 RB chips due to issues st/mesa: always use PIPE_USAGE_STAGING for GL_MAP_READ_BIT usage egl/android: include “util/compiler.h” for FALLTHROUGH macro util/foz: stop crashing on destroy if prepare hasn’t been called radeonsi: Check aux_context on si_destroy_screen() mesa: clear shader_info::is_lowered in prog_to_nir mesa: fix bindless uniform samplers update aco: don’t create v_madmk_f32/v_madak_f32 from v_fma_legacy_f16 freedreno/ir3: Don’t force RTNE if rounding mode is undefined radv: only init the TC-compat ZRANGE metadata for the depth aspect glsl: replace some C++ code with C util: add workaround for Full Bore glsl: relax rule on varying matching for shaders older than 4.20 lima: handle fp16 vertex formats (From OE-Core rev: ce202e5f3f0eaceec2e23ebd1697f73c9fa00aaf) Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Fix v3d & vc4 dmabuf importJoshua Watt2021-07-281-0/+72
| | | | | | | | | | | | Mesa would unnecessarily fail in the v3d and vc4 driver if a dmabuf could not imported for scanout. In particular, this meant the weston-simple-dmabuf-egl test program would fail on a Raspberry Pi. (From OE-Core rev: 6396c42df4609b4515f197926388ff4acb11fe52) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: update 21.0.3 -> 21.1.1Alexander Kanavin2021-05-251-9/+9
| | | | | | | | | License-Update: typo fix (From OE-Core rev: 2b91620cdb2047fd3df8e951a80142b67af85f26) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: update 20.3.4 -> 21.0.0Alexander Kanavin2021-03-203-44/+13
| | | | | | | | | | | | | | | | 0001-anv-fix-a-build-race-between-generating-a-header-and.patch merged upstream. osmesa is now a simple boolean option. Swrast has been removed from dri drivers, so as we need at least one driver to enable dri in native/nativesdk, replace it with nouveau (which does not take long to build). (From OE-Core rev: e4e4cc57a0a949400c557073af0cf78f977bd02d) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: update 20.2.4 -> 20.3.1Trevor Woerner2020-12-242-87/+0
| | | | | | | | | | | | | | | | | | | Two of the patches have been applied upstream: 0001-meson-Add-xcb-fixes-to-loader-when-using-x11-and-dri.patch 0005-vc4-use-intmax_t-for-formatted-output-of-timespec-me.patch The 'surfaceless' platform is now enabled by default, therefore it is no longer a valid choice. The meson build system is intelligent enough now to decide if 'drm' needs to be enabled based on whether or not gbm is available. Therefore 'drm' also is no longer a valid platform choice: ERROR: Options "drm, surfaceless" are not in allowed choices: "auto, x11, wayland, haiku, android, windows" RP: Add missing mesa-gl upgrade (From OE-Core rev: de68fe9268092c0600a81bedfc805eaed9dcb87b) Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: remove patch disabling asmAnuj Mittal2020-12-151-147/+0
| | | | | | | | | | | | | | | | | | | This was originally added for musl only [1]. Upstream has removed this option but we reverted that change during an upgrade to fix certain musl specific compile time issues [2]. I compile tested without this patch on musl-x86 and musl-x86-64 and don't see the warnings anymore. Similar textrel issues were fixed upstream so perhaps those helped [3]. [1] https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit?id=68bf128e901e89d5b49a28b15d5083b2bf6b536f [2] https://www.openembedded.org/pipermail/openembedded-core/2019-November/289222.html [3] https://gitlab.freedesktop.org/mesa/mesa/-/commit/45206d7673adb1484cbdb3eadaf82e0849c9cdcf?merge_request_iid=1974 (From OE-Core rev: a7bd1c3ca4d2f8a5e230b19517af1c52aec35f3e) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: add more details to elf-tls patchAnuj Mittal2020-12-151-0/+15
| | | | | | | | | | | | Include link to upstream report and the last autobuilder failure [1] so it's easy to identify why this is needed in future. [1] https://autobuilder.yoctoproject.org/typhoon/#/builders/64/builds/1160/steps/8/logs/step1c (From OE-Core rev: 28647f8e4fb5fe2e56f0609900187bc658ba9ccf) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Add xcb-fixes to loader when using x11 and dri3Tom Hochstein2020-11-131-0/+36
| | | | | | | | | Backport fix for undefined symbol for xcb_xfixes_create_region in loader_dri3_helper.c. (From OE-Core rev: fd55d41c9d2e79fd7f7665107d1640a2dd9a3dc3) Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: fix a build raceAlexander Kanavin2020-11-081-0/+31
| | | | | | | (From OE-Core rev: df243fa624f3acf20abc7574909bd43db2ed9d12) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: update 20.1.8 -> 20.2.1Alexander Kanavin2020-10-303-63/+17
| | | | | | | | | | | | | | Build tweaks: - drop separate dri option and the patch that adds it; just setting -Ddri-drivers='' is enough - strip leading/trailing commas from drivers' lists, as upstream no longer allows blank entries if the list is not empty (e.g. -Ddri-drivers=,driver1,driver2 is now producing an error). - drop the long-obsolete llvm 3.3/3.2 logic License-Update: reformatted into rst (From OE-Core rev: 8682024ef029241c75e224174fd0b93835f88df3) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Fix build on 32bit arches supporting 64bit time_t onlyKhem Raj2020-10-201-0/+31
| | | | | | | | | | | | | Fixes ../mesa-20.1.8/src/util/futex.h:47:19: error: use of undeclared identifier 'SYS_futex'; did you mean 'sys_futex'? return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); ^~~~~~~~~ sys_futex (From OE-Core rev: 21bdff510a7673ccf7f27f551b641a5ba84d656c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: update 20.1.2 -> 20.1.4Alexander Kanavin2020-08-021-4/+4
| | | | | | | (From OE-Core rev: 5774386700196499eb6d29b93158165ad9c4c15c) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: update 20.0.7 -> 20.1.2Alexander Kanavin2020-06-282-15/+13
| | | | | | | (From OE-Core rev: 2ee962186176c5ecb34c670e76415d4321affe76) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Help compile with clang/mipsKhem Raj2020-01-211-0/+27
| | | | | | | | | | | | | | | | | | meson is detecting it does not support 64bit attomics but then when defining local suppliments confused clang ../mesa-19.3.1/src/util/u_atomic.c:38:1: error: cannot redeclare builtin function '__sync_add_and_fetch_8' __sync_add_and_fetch_8(uint64_t *ptr, uint64_t val) ^ ../mesa-19.3.1/src/util/u_atomic.c:38:1: note: '__sync_add_and_fetch_8' is a builtin with type 'long long (volatile long long *, long long, ...)' ../mesa-19.3.1/src/util/u_atomic.c:38:1: error: definition of builtin function '__sync_add_and_fetch_8' __sync_add_and_fetch_8(uint64_t *ptr, uint64_t val) ^ (From OE-Core rev: a18ad964d000a15ac4039c893dd9d3f8e545c223) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Upgrade to 19.3.1Alistair Francis2020-01-014-28/+28
| | | | | | | | | | | | | | | Upgrade mesa to 19.3 and refresh the patches. As MESA_EGL_NO_X11_HEADERS was renamed to EGL_NO_X11 in [1] we are going to change the do_install and add a patch to libepoxy to use the new define. 1: https://gitlab.freedesktop.org/mesa/mesa/commit/6202a13b71e18dc31ba7e2f4ea915b67eacc1ddb (From OE-Core rev: 7a3d575ba56311c46122dfe9fa88094859fe9713) Signed-off-by: Alistair Francis <alistair@alistair23.me> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Fix vc4 build for 64bit time_t changes on 32bit archesKhem Raj2019-12-281-0/+53
| | | | | | | | (From OE-Core rev: 32ea66252073a5253996a22bae5d02bddbaf30fc) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Upgrade to 19.2.4Alistair Francis2019-11-215-67/+209
| | | | | | | | | | | | | | | | | | Upgrade mesa and mesa-gl to 19.2.4. The license hash change was a trivial new line removal. The glx-tls option was removed as it isn't included in the meson.build file. It has been replaced with 'use-elf-tls' instead. I have backported the asm removal as an attempt to fix the musl build issue. (From OE-Core rev: 82c2acc1f658f039becac04aa3dae696418bd1de) Signed-off-by: Alistair Francis <alistair@alistair23.me> Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: fix meson configure fix when 'dri' is excluded from PACKAGECONFIGYann Dirson2019-11-041-1/+1
| | | | | | | | (From OE-Core rev: 78efff8741f869647790810a3dd41459b9d9d8a6) Signed-off-by: Yann Dirson <yann@blade-group.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Upgrade 19.1.1 -> 19.1.6Otavio Salvador2019-09-163-37/+22
| | | | | | | | | | | | | | | | | | | | | | - Add python3 to DEPENDS: mesa commit cb3072488c changed function that verifies python installation and to this new function works we need to have Python3 in DEPENDS. This is a bugfix only set of releases. Check following links for the relevant release notes: - https://www.mesa3d.org/relnotes/19.1.2.html - https://www.mesa3d.org/relnotes/19.1.3.html - https://www.mesa3d.org/relnotes/19.1.4.html - https://www.mesa3d.org/relnotes/19.1.5.html - https://www.mesa3d.org/relnotes/19.1.6.html (From OE-Core rev: a870ce9261fffc2e4772e55bd2e727aa27172846) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Update 19.0.6 -> 19.1.0Fabio Berton2019-06-143-35/+49
| | | | | | | | | | | | Update all patches to apply on 19.1.0 version. See full mesa 19.0.1 changes here: - https://www.mesa3d.org/relnotes/19.1.0.html (From OE-Core rev: b16c6d0452c79dcc2fccc4a7b9b2d68d53d2b353) Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Fix patch Upstream-StatusRichard Purdie2019-05-282-1/+2
| | | | | | (From OE-Core rev: 9e5efbe1a32b5debc10205789c13aa1643397f8d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Fix a case when gbm is enabled but DRIDRIVERS is not definedKhem Raj2019-05-271-0/+45
| | | | | | | | | | | | | | | | This is a typical scenario with arm platforms, with meson if DRIDRIVERS is empty then dri is disabled automatically, but gbm needs dri2 enabled for it to have proper backend, in autotools we could use --enable-gbm --enable-dri and get correct behaviour but with meson enabling dri2 only works if DRIDRIVERS is not empty This fixes mesa-gl build for rpi machines when using userland graphics (From OE-Core rev: 0c670a0fad379c3dc2a69ac5abfeaceda98a2f9c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Convert recipe to use meson build systemFabio Berton2019-05-166-162/+95
| | | | | | | | | | | | | | | | | - Remove all non related meson patches - Change radeon driver to r100 - Add python3-mako-native gettext-native to DEPENDS Based on https://patchwork.openembedded.org/patch/158748/ Alex: added a patch to restore glx-tls option, which addresses the musl runtime issue. (From OE-Core rev: c72b6d46d392bfbcf54154f43663a7a8ada8c567) Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Update 18.3.4 -> 19.0.0Fabio Berton2019-03-255-71/+29
| | | | | | | | | | | | | | | | | - Patch 0005-egl-add-missing-include-stddef.h-in-egldevice.h.patch was applied on commit e68777c87ceed02ab199b32f941778c3cf97c794. - Refresh all patches - mesa 19.0.0 deprecated the use of autotools and we need to add --enable-autotools flag. For details see mesa commit: e68777c87ceed02ab199b32f941778c3cf97c794 The complete change log can be found here: https://www.mesa3d.org/relnotes/19.0.0.html (From OE-Core rev: 50b7418869b7d2f40adbfbb0844f710d9aa5c396) Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Update 18.1.9 -> 18.3.4Fabio Berton2019-02-257-105/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Refresh all patches. - Remove "Use Python 3 to execute the scripts" patch Commit 986033a2750c1160a4cef3c8418fc7f9e2b4fb5a add support for both python 2 and 3. - Remove "dri: i965: Add missing time.h include" patch Commit 3c288da5eec81ee58b85927df18d9194ead8f5c2 add time.h header file. - Remove --enable-texture-float. Commit 66673bef941af344314fe9c91cad8cd330b245eb remove option to unconditionally enable floating-point textures. - Commit 30b10dbb7c6f6bdf3e489620f8333c727bd3a6dd moved ${sysconfdir}/drirc to ${datadir}/drirc.d/00-mesa-defaults.conf Add 00-mesa-defaults.conf to mesa-megadriver package - Stop removing ${sysconfdir}/drirc on do_install_append - Fix upgrade path from mesa to mesa-megadriver - Add patch to fix mesa-native build - Add xrandr to X11_DEPS (From OE-Core rev: 9ddd6add68f07fb7b3f264cee7c853ffe4a1b43e) Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Upgrade 18.1.3 -> 18.1.7Otavio Salvador2018-09-047-64/+38
| | | | | | | | | | | | | | | | This upgrades mesa to the 18.1.7 stable release. The changes can be found at: https://www.mesa3d.org/relnotes/18.1.4.html https://www.mesa3d.org/relnotes/18.1.5.html https://www.mesa3d.org/relnotes/18.1.6.html https://www.mesa3d.org/relnotes/18.1.7.html (From OE-Core rev: a77eb44bb1ff2ece9dcff1f7b5fe671ea3ae034d) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Fix build with wayland and eglKhem Raj2018-07-181-0/+24
| | | | | | | | | | | | | | | | | When wayland and egl both are on then it enables the wayland plugin which actually fails to build because its not finding wayland-protocol xml templates in proper location which is recipe sysroot since we are cross compiling Fixes build errors e.g. make[4]: *** No rule to make target `//usr/share/wayland-protocols/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml', needed by `drivers/dri2/linux-dmabuf-unstable-v1-client-protocol.h'. Stop. make[4]: *** Waiting for unfinished jobs.... (From OE-Core rev: ff4762e94faa095abd7175810d1053fdd361058f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: remove hardware float patchRoss Burton2018-07-181-52/+0
| | | | | | | | | | We don't need the texture float patches anymore, as the relevant patents have expired so this defaults to on now. (From OE-Core rev: db86b271c98dd50c641374ab6806b47a40ed134b) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: patch cleanupRoss Burton2018-07-062-47/+1
| | | | | | | | | | | | | 0001-Makefile.vulkan.am-explictly-add-lib-expat-to-intel-.patch was fixed a different way upstream so remove. 0007-dri-i965-Add-missing-time.h-include.patch is now accepted upstream so mark as backport. (From OE-Core rev: 8fb143fe69147c32e945e798662d78e606bfe0a0) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: add lost Upstream-Status tagRoss Burton2018-07-051-0/+1
| | | | | | | (From OE-Core rev: 4cb6e5c734341b9d1240814ffecd01f574e3c347) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Upgrade 18.1.2 -> 18.1.3Otavio Salvador2018-07-028-36/+50
| | | | | | | | | | | | | This upgrades mesa to the 18.1.3 stable release. The changes can be found at: https://www.mesa3d.org/relnotes/18.1.3.html (From OE-Core rev: 4acdeb1529f5355b2849556e9f4ef302e35d3b0c) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Fix parallel make raceRichard Purdie2018-06-291-0/+26
| | | | | | | | | | Builds keep failing with a race over the generated header file, fix it! [YOCTO #12828] (From OE-Core rev: 3db0b1e798797013e3c553c1ce599191da2c3daa) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: add lost Upstream-StatusRoss Burton2018-06-211-0/+1
| | | | | | | (From OE-Core rev: 4972faf1bf20f07a1c1f608bc421c6fd05651594) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Update 18.0.2 -> 18.1.1Otavio Salvador2018-06-1810-136/+112
| | | | | | | | | | | | | This includes all bugfixes of 18.0.x series and major new features. For list of changes check: https://www.mesa3d.org/relnotes/18.1.0.html https://www.mesa3d.org/relnotes/18.1.1.html (From OE-Core rev: 8803a6e31a4b64eb9d3c146567375c98972074df) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: fix a build race in src/intel/vulkanRoss Burton2018-05-151-0/+41
| | | | | | | (From OE-Core rev: 5681ba2e403afb6cea03662a2aca6b1834567ddc) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Upgrade 17.3.8 -> 18.0.2Otavio Salvador2018-05-041-43/+0
| | | | | | | | | | | | | | | | | | | | | | This includes changes from Mesa 18.0.0 and 18.0.2 releases. Mesa 18.0.0 is a new development release and 18.0.1 and 18.0.2 are bug-fix releases. You can find release notes here: - https://mesa3d.org/relnotes/18.0.0.html - https://mesa3d.org/relnotes/18.0.1.html - https://mesa3d.org/relnotes/18.0.2.html Remove patch 0001-st-dri-Initialise-modifier-to-INVALID-for-DRI2.patch that was applied on upstream. (From OE-Core rev: c16bc7c9b1526ff4b9496af00ada08aa4109c0ef) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Upgrade 17.3.7 -> 17.3.8Otavio Salvador2018-04-051-28/+0
| | | | | | | | | | | | | | | This version has been published at April 03, 2018, and it is a bugfix only release. The release includes several important fixes that were made as part of 18.0.1 development cycle. Full list of bug fixes can be see online at: https://www.mesa3d.org/relnotes/17.3.8.html (From OE-Core rev: 782fb864349d4f5c07a38f0e117659bfb841d3c2) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: fix unitialized modifier for DRI2Andreas Müller2018-04-031-0/+43
| | | | | | | | | | | | This came up whith disabled DRI3 on Raspi/VC4 [1] but might be important for other drivers: It fixes an improper initialization. [1] https://lists.freedesktop.org/archives/mesa-dev/2018-March/190562.html (From OE-Core rev: bfd5d2cefd56cb60b51b2bed57cb92dcfd5756c9) Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: update Upstream-Status of a patchMaxin B. John2018-03-281-1/+1
| | | | | | | | | | | replace_glibc_check_with_linux.patch was accepted upstream with modifications. (From OE-Core rev: 94cf27ebc5d3e3fafa85f3bb1ca54f606bb411ad) Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: refresh patchesRoss Burton2018-03-112-19/+13
| | | | | | | | | | | | | | | | | | | | | The patch tool will apply patches by default with "fuzz", which is where if the hunk context isn't present but what is there is close enough, it will force the patch in. Whilst this is useful when there's just whitespace changes, when applied to source it is possible for a patch applied with fuzz to produce broken code which still compiles (see #10450). This is obviously bad. We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For that to be realistic the existing patches with fuzz need to be rebased and reviewed. (From OE-Core rev: 0cff8ae54066b25ffbe1efaa3f0a1d84aa89ebe1) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>