summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa
AgeCommit message (Collapse)Author
2021-07-28mesa: Fix v3d & vc4 dmabuf importJoshua Watt
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. 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>
2021-07-19mesa: upgrade 21.1.4 -> 21.1.5Andreas Müller
Bug fixes * [build error] macros.h:88:26: error: size of unnamed array is negative * Game Issue: Nuclear Throne crashes in RadeonSI * Crash in glLinkProgram while trying to craft the link error * Shader compilation memory leaks * Wolfenstein II: The New Colossus - Screen goes black in some cases * SpaceEngine in Steam Proton cannot start with Mesa >=20.3 * [bisected] KDE plasma menu text renders like stretched strangely [amdgpu] * Luna Sky Crashes on Launch * Mesa crashes on undefined texture behaviour * Mesa crashes on undefined texture behaviour * cache_test uses uninitialized stack memory Changes * nir: Fix constant folding for irhadd/urhadd * ac/surface: Handle non-retiled displayable DCC correctly for modifiers. * ir3: Fix infinite loop in scheduler when splitting * glsl: Prohibit implicit conversion of mem parameter in atomicOP functions * draw: fix tessellation output vertex size calculation * .pick_status.json: Update to e4f762ac346f31fc1fd201aecdc375348be5075f * zink: mark a bunch of zink-piglit-quick_gl tests as flakes * .pick_status.json: Update to c704bb630d21e0a30500e9d8f42493ede3cc55ae * .pick_status.json: Mark e5d158881b3e12270521d7081b4bba0ac2108d2e as denominated * softpipe: add missing sentinel to debug option array * iris: Don’t leak the surface if uncompressed re-interp fails * intel/perf: use the right popcount for 64bits * ac/surface/tests: fix the ARM build * radeonsi,radv: fix a late alloc deadlock with <= 6 CUs per SA * Convert most remaining free-form fall-through comments to FALLTHROUGH * osmesa: Replace default case FALLTHROUGH annotation by following return * Fix up leftover “state_trackers” references to “frontends” * radeonsi: fix fb_too_small condition * radeonsi/gfx7: always sync pfp/me * ac/surface: don’t print stencil info if tex has no stencil * radeonsi/driconf: add workaround for SpaceEngine * st/mesa: fix size miss match for some check * freedreno: Consolidate needs_flush and clearing last_fence * freedreno/a6xx: Fix framebuffer_barrier crash * radv: disable DCC for DOOM 2016 and Wolfenstein II * aco: fix shared_atomic_comp_swap if the second source isn’t a VGPR * nir: return progress from nir_lower_packing * nir/ifind_msb_rev: fix input check * broadcom/compiler: fix add vs. mul * util/tests: initialise key in cache_test * mesa: don’t crash on incorrect texture use * i965: don’t crash on incorrect texture use * util/driconf: add new ignore_write_to_readonly_var workaround * util: add some workarounds for the game Luna Sky * glsl: force_glsl_version to shaders with no defined version * util/radeonsi: add radeonsi workaround for Nuclear Throne * st/xa: Mark default xa_get_pipe_format case unreachable. * intel: fix leaking memor * y on shader creation Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2021-07-07mesa: upgrade 21.1.3 -> 21.1.4Andreas Müller
Bug fixes * [anv] GravityMark (benchmark) crashes on ANV * [opengl] We happy few not being rendered correctly * Factorio: GPU hang when opening machine inventory * RuneScape on Mesa 21.1.1 (VEGA10) has bad performance and leaks memory * Supraland: flickering black bars on ground * radv: GPU hang in Cyberpunk 2077 on Big Navi * [amdgpu][renoir][rx5500m]: [drm:0xffffffff8198ad5e] *ERROR* ring gfx timeout, signaled seq=10952, emitted seq=10954 * [spirv-fuzz] SPIR-V parsing FAILED: Invalid back or cross-edge in the CFG * panfrost Mount and Blade: Warband (glitches) * anv: dEQP-VK.robustness.robustness2*no_fmt_qual.null_descriptor.samples* fail Changes * util/fossilize_db: Pull seek into lock. * util/fossilize_db: Split out reading the index. * util/fossilize_db: Do not lock the fossilize db permanently. * spirv: Fix handling of OpBranchConditional with same THEN and ELSE * nir/opt_if: Don’t split ALU for single block infinite loops * llvmpipe: Add handle export for resource_get_param * i965: fix regression in pipe control on g45 * pick_status.json: Update to 977355c6e5efd781dde85d834172dd23cd4852f1 * pick_status.json: Update to 40b67a292297606f0a7576e3ef4087028d5edd17 * zink: do not unmap dt-buffers twice * zink: drop repeated usage-bit * zink: do not check buffer-format for usage-bits * zink: remove unused moltenvk functions * libgl-gdi: add missing include * aux/trace: fix bool argument * ci/windows: work around meson encoding issues * intel/fs: Teach IR about EOT instruction writing the accumulator implicitly on TGL+. * intel/fs: Fix synchronization of accumulator-clearing W/A move on TGL+. * pan/mdg: Add a bundle ID to instructions * pan/mdg: Reorder some code in mir_spill_register * pan/mdg: Fill from TLS before spilling non-SSA nodes * pan/mdg: Fix reading a spilt register in the bundle it’s written * pan/mdg: Add 16 bytes of padding to the end of shaders * intel/nir: Fix txs for null surfaces * spirv: Create acceleration structure and shader record variables * nv50/ir: fix surface lowering when values get shared accross operations * anv: Fix dynamic primitive topology for tess on Gfx7.x too * anv: allocate bigger batches as we grow command buffers * mesa: unreference zombie buffers when creating buffers to lower memory usage * compiler/glsl: Use mutex lock while freeing up mem_ctx * anv: fix dynamic primitive topology for tess * zink: handle custom border color without matching wrap mode case * radeonsi: skip instance_count==0 draws on <= GFX9 * radeonsi: disable ngg culling on llvm < 12 * radv: reject binding buffer/image when the device memory is too small * radv: always decompress both aspects of a depth/stencil image * amd/addrlib: remove Meson debug message() * radeon/vcn/enc: Add missing line to HEVC SPS header code * util: add work around for the game We Happy Few * ac/nir: Update TCS output barriers with nir_var_mem_shared. * radv/llvm: Emit s_barrier at the beginning of NGG non-GS shaders. * aco/gfx10: NGG zero output workaround for conservative rasterization. * aco/gfx10: Emit barrier at the start of NGG VS and TES. Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-02libglu: upgrade 9.0.1 -> 9.0.2wangmy
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>
2021-06-22mesa: upgrade 21.1.2 -> 21.1.3Andreas Müller
Changelog: Bug fixes * radv: ACO miscompiles a specific DIRT 5 shader * Segfault in mtx_unlock/amdgpu_bo_slab_destroy * [radeonsi] Incorrect rendering when using glDisable(GL_MULTISAMPLE) with multisample backbuffer * kwin_x11 ring gfx_0.0.0 timeout * [i965] regression: piglit.spec.arb_depth_buffer_float.fbo-depthstencil-gl_depth32f_stencil8-drawpixels Changes * classic/xlib: Fix the build after !9817 * radv: Don’t skip barriers that only change queues. * radv: Actually return correct value for read-only DCC compressedness. * radv: Allow DCC images to be compressed with foreign queues. * llvmpipe: add the interesting bit of cpu detection to the cache. * zink: Correct compiler issue with have_moltenvk member having been moved. * .pick_status.json: Update to db83dc619c96c35a039f2d8a32e1a179c0f00d64 * .pick_status.json: Update to f884c2e3be363903a59dbee01868c7ad0bf0f346 * .pick_status.json: Update to 561f9ae74b2b7da06bb4830aaca8d017a3dd2746 * llvmpipe: fix edge-rule logic for lines * anv: Clear all pending stall after pipe flush * util: Zero out all of mask in util_set_thread_affinity * panfrost: Use first_tiler to check if tiling is needed * intel/vec4: Also use MOV_FOR_SCRATCH for swizzle resolves * anv: Handle OOM in the pinned path in anv_reloc_list_add * sparc: Avoid some redefinition warnings * zink: ci updates * anv: fix availability for copying timestamp query results * util/vbuf: fix buffer overrun in attribute conversions * zink: fix caching of shader variants with inlined uniforms * zink: use scissor region for discarding clears during blit * zink: fix typo that’s definitely not at all embarrassing or anything like that * svga: Initialize pipe_shader_state for transform shaders * docs/install: remove one extra when * frontend/dri: set PIPE_BIND_PROTECTED later * frontend/dri: fix bool/int comparison * radeonsi: fix encryption check for buffers * radeonsi: add a gfx10 bug workaround for NOT_EOP * radeonsi: dirty msaa_config on rs->multisample_enable change * winsys/amdgpu: don’t read bo->u.slab.entry after pb_slab_free * aco: do not clause NSA instructions * aco: don’t create 4 and 5 dword NSA instructions on GFX10 * aco: use v1b/v2b for ds_read_u8/ds_read_u16 * egl: zero is a valid fd * freedreno/ir3: Fix use after free * radv: enable RADV_DEBUG=invariantgeom for SotTR DX11/DX12 versions * radv: emit PA_SC_CONSERVATIVE_RASTERIZATION_CNTL only on GFX9+ * aco: fix range checking for SSBO loads/stores with SGPR offset on GFX6-7 * aco: fix emitting literal offsets with SMEM on GFX7 * radv: do not launch an IB2 for secondary cmdbuf with INDIRECT_MULTI on GFX7 * radv: fix aligning the image offset by using align64() * util/format: Change the pointer offset. * aco/ra: Fix off-by-one-error in print_regs * travis: Download XQuartz from GitHub. Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-21mesa: enable gallium intel drivers when building for x86Alexander Kanavin
Iris is the default, recommended option for Skylake and newer nowadays, i915 gallium is favoured over classic i915, and soon classic i965 will be replaced by crocus gallium driver for i965-to-Haswell GPUs. (From OE-Core rev: 670878b5919c2a67a2fea0b8e1f032e324fad5aa) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2021-06-06mesa: upgrade 21.1.1 -> 21.1.2Andreas Müller
Changes: Adam Jackson (1): zink/ntv: Don't call free() on ralloc'd memory Alyssa Rosenzweig (3): panfrost: Fix the reads_dest prototype panfrost: Fix is_opaque prototype panfrost: Increase tiler_heap max allocation to 64MB Anuj Phogat (1): intel/gfx12+: Add Wa_14013840143 Charmaine Lee (1): svga: fix texture rectangle sampling when no sampler view declaration is defined Emma Anholt (2): i915g: Disable 3D-pipeline clears. i915g: Add support for the .Absolute flag on TGSI srcs. Eric Anholt (1): i915g: Stop advertising support for indirect addressing in the FS. Eric Engestrom (9): .pick_status.json: Update to 17861aff9614abfea3b8a8f111a114b26b351915 pick-ui & .pick_status.json: rename `master_sha` to `main_sha` .pick_status.json: Update to b663c544177e9547793ee405887f0d41c50e6d1d .pick_status.json: Update to 507e8907af913ab7b89211240568b8002b3475f1 .pick_status.json: Update to 3179daf61393ee8a0fac943b94335b114e34873b .pick_status.json: Update to 761383720617b46617bd278ec6015c9520f43f5c .pick_status.json: Update to 1199d86b2cccc38a101e63bdf9b60a7391f96092 docs: add release notes for 21.1.2 VERSION: bump for 21.1.2 Erik Faye-Lund (2): zink: use actual const for const offset util/prim_restart: revert part of bad fix Erik Kurzinger (1): vulkan/device_select: avoid segfault on Wayland if wl_drm is unavailable Georg Lehmann (1): radv: Fix compatible image handle type for dmabufs. Ian Romanick (2): nir/algebraic: Remove some optimizations of comparisons with fsat nir/algebraic: Invert comparisons less often Icecream95 (1): panfrost: Fix polygon list size computations Italo Nicola (1): panfrost: fix GL_EXT_multisampled_render_to_texture regression Jason Ekstrand (3): anv: Plumb the shader into push constant helpers anv: Support pushing shader constants intel/vec4: Don't spill fp64 registers more than once José Fonseca (1): draw: Allocate extra padding for extra shader outputs. Juan A. Suarez Romero (1): vc4: initialize array Kenneth Graunke (2): i965: Don't advertise Y-tiled modifiers for scanout buffers on Gfx8- iris: Don't advertise Y-tiled modifiers for scanout buffers on Gfx8 Marek Olšák (3): ac/gpu_info: set has_zero_index_buffer_bug for Navi12 too radeonsi: add a gfx10 hw bug workaround with the barrier before gs_alloc_req radeonsi: disable DFSM on gfx9 by default because it decreases performance a lot Mike Blumenkrantz (4): util/prim_restart: fix util_translate_prim_restart_ib aux/vbuf: prevent uint underflow and assert if no vbs are dirty aux/trace: fix set_inlinable_constants hook zink: remove weird lod hack for texturing Nanley Chery (2): anv,iris: Port the D16 workaround stalls to BLORP intel/isl: Fix HiZ+CCS comment about ambiguates Neha Bhende (2): svga: Add target and sampler_return_type info into shader key svga: Use shader_key info to declare resources if TGSI shader is missing it Rhys Perry (3): aco: disallow SGPRs on DPP instructions radv: add radv_absolute_depth_bias radv: workaround incorrect depthBiasConstantFactor by Path of Exile Robert Tarasov (1): iris: Check data alignment for copy_mem_mem Samuel Pitoiset (4): aco: fix derivatives/intrinsics with SGPR sources radv: fix fast clearing DCC if one level can't be compressed on GFX10+ aco: fix emitting discard when the program just ends radv: enable RADV_DEBUG=invariantgeom for Monster Hunter World SureshGuttula (1): frontends/va/picture:Fix wrong reallocation even surface is protected cheyang (1): virgl:Fix the leak of hw_res used as fence Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25mesa: update 21.0.3 -> 21.1.1Alexander Kanavin
License-Update: typo fix Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-12mesa: add lmsensors PACKAGECONFIGAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01mesa: upgrade 21.0.2 -> 21.0.3wangmy
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18mesa: upgrade 21.0.1 -> 21.0.2wangmy
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-05mesa: enable dri in native/nativesdk through gallium driversAlexander Kanavin
Previously, dri was enabled via a token dri driver (swrast, then nouveau). Upstream is discussing removing dri drivers altogether (they're becoming difficult to support and only needed for obsolete x86 hardware), so let's prepare for that happening in the future: https://lists.freedesktop.org/archives/mesa-dev/2021-March/224984.html Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-05mesa: gallium option requires libdrmAlexander Kanavin
Previously it was pulled in via dri option, and there was no configuration where gallium was enabled and dri was not. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-05mesa: update 21.0.0 -> 21.0.1Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-05mesa-gl: Use swrast gallium driverKhem Raj
Fixes: ../mesa-21.0.0/meson.build:21:0: ERROR: Options "swrast" are not in allowed choices: "auto, i915, i965, r100, r200, nouveau" with any driver enabled in DRIDRIVERS, do_configure fails with: ../mesa-21.0.0/meson.build:519:4: ERROR: Problem encountered: building dri drivers require at least one windowing system even after enabling gallium and wayland PACKAGECONFIGs, move DRIDRIVERS_append* from mesa.inc to mesa recipe. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20mesa: update 20.3.4 -> 21.0.0Alexander Kanavin
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). Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-19mesa: upgrade 20.3.2 -> 20.3.4Anuj Mittal
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-29native: Stop clearing PACKAGESRichard Purdie
Native recipes have been special and they don't have packages generated from them. The RDEPENDS/RPROVIDES and other runtime package specific variables can contain important data about dependencies recipes need though and currently it is required to write this information explicitly in the native case. We now delete the packaging tasks for native recipes which removes the need to clear PACKAGES. The next step to improve the metadata is to stop clearing it and ensure any entries in these variables are remapped appropriately. The R* variables were already being processed by the class extension code but the implementation was suboptimal. This patch stops clearing PACKAGES and PACKAGES_DYNAMIC and fixes the places where that caused issues in OE-Core, for example PACKAGES additions in anonymous python without the "-native" suffix and a case where the included classes caused a self reference in DEPENDS which would once have been removed by the previous code. The implementation uses datastore/parser parameters to ensure that the variable overrides are not overwritten when calling setVar which is appropriate for a function as close to the core as this one is. Some now unneeded code in python3-setuptools is dropped, there are further changes like this which can follow. This change was verified with OE-Core by comparing task-depends.dot generated by "bitbake world -g" before and after the change, the files were identical. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-15mesa,mesa-gl: upgrade to 20.3.2Dmitry Baryshkov
Upgrade mesa and mesa-gl recipes to version 20.3.2. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-24mesa: update 20.2.4 -> 20.3.1Trevor Woerner
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 Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20mesa.inc: switch true/enabled false/disabledTrevor Woerner
A number of options have been switched from true/false to enabled/disabled and the older usage is deprecated, as is seen in the configuration logs: ../mesa-20.3.1/meson.build:92: WARNING: gles1 option "true" deprecated, please use "enabled" instead. ../mesa-20.3.1/meson.build:100: WARNING: gles2 option "true" deprecated, please use "enabled" instead. ../mesa-20.3.1/meson.build:119: WARNING: shared-glapi option "true" deprecated, please use "enabled" instead. ../mesa-20.3.1/meson.build:381: WARNING: gbm option "true" deprecated, please use "enabled" instead. ../mesa-20.3.1/meson.build:412: WARNING: egl option "true" deprecated, please use "enabled" instead. ../mesa-20.3.1/meson.build:493: WARNING: dri3 option "false" deprecated, please use "disabled" instead. ../mesa-20.3.1/meson.build:516: WARNING: gallium-vdpau option "false" deprecated, please use "disabled" instead. ../mesa-20.3.1/meson.build:570: WARNING: gallium-xvmc option "false" deprecated, please use "disabled" instead. ../mesa-20.3.1/meson.build:691: WARNING: gallium-va option "false" deprecated, please use "disabled" instead. ../mesa-20.3.1/meson.build:727: WARNING: gallium-xa option "false" deprecated, please use "disabled" instead. Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-15mesa: remove patch disabling asmAnuj Mittal
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 Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-15mesa: add more details to elf-tls patchAnuj Mittal
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 Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09mesa: Update 20.2.1 -> 20.2.4Fabio Berton
This commit adds the changes of 20.2.2, 20.2.3 and 20.2.4 bug fix releases. Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-16meta: drop _PYTHON_SYSCONFIGDATA_NAME hacksAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-13mesa: Add xcb-fixes to loader when using x11 and dri3Tom Hochstein
Backport fix for undefined symbol for xcb_xfixes_create_region in loader_dri3_helper.c. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-08mesa: fix a build raceAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30mesa: update 20.1.8 -> 20.2.1Alexander Kanavin
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 Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-20mesa: Fix build on 32bit arches supporting 64bit time_t onlyKhem Raj
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 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-23mesa: update 20.1.6 -> 20.1.8Anibal Limon
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-03mesa: update 20.1.5 -> 20.1.6Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25mesa: upgrade 20.1.4 -> 20.1.5Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-02mesa: update 20.1.2 -> 20.1.4Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-27mesa: enable freedreno Vulkan driver if freedreno is enabledDmitry Baryshkov
If freedreno is enabled in PACKAGECONFIG, enable respective Vulkan driver. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28mesa: update 20.0.7 -> 20.1.2Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-03mesa: merge the .bb content into .incAlexander Kanavin
This allows automated version updates to the recipe, as mesa-gl.bb no longer has to include the main mesa.bb. Bump mesa-gl to 20.0.7 at the same time. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-03mesa: upgrade 20.0.2 -> 20.0.7Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-27multilib/recipes: Use new RecipePostKeyExpansion eventRichard Purdie
There are issues with multilib due to the ordering of events where some functions see the remapped multilib dependencies and some do not. A significant problem is that the multilib class needs to make some changes before key expansion and some afterwards but by using existing event handlers, some code sees things in a partially translated state, leading to bugs. This patch changes things to use a new event handler from bitbake which makes the ordering of the changes explcit. The challenge in doing this is that it breaks some existing anonymous python and dyanmic assignments. In some cases these used to be translated and no longer are, meaning MLPREFIX has to be added. In some cases these are now translated and the MLPREFIX can be removed. This change does now make it very clear when MLPREFIX is required and when it is not, its just the migration path which is harder. The patch changes the small number of cases where fixes are needed. In particular, where a variable like RDEPENDS is conditionally extended (e.g. with an override), MLPREFIX is now required. This patch also reverts: base: Revert 'base.bbclass: considering multilib when setting LICENSE_EXCLUSION' This reverts 6597130256a1609c3e05ec5891aceaf549c37985 as the changes to multilib datastore handling mean its no longer necessary. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-14mesa: Remove -fcommonAdrian Bunk
This was fixed in upstream version 20.0. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-09mesa: Add PACKAGECONFIG knob to enable VDPAU state tracker and driversZoltan Boszormenyi
Signed-off-by: Böszörményi Zoltán <zboszor@pr.hu> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-09mesa: Add PACKAGECONFIG knob to enable VAAPIZoltan Boszormenyi
The previously added libva-initial recipe makes it possible and trivial. Signed-off-by: Böszörményi Zoltán <zboszor@pr.hu> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-07mesa: enable x11 for native/nativesdkAlexander Kanavin
This was found to be necessary for libsdl-native to enable opengl, as otherwise the opengl check would fall through to the host with unpredictable outcome. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-30mesa-gl: Allow mesa-gl to build without X11 enabled.Mark Hatle
Trying to build mesa-gl without X11 enabled, results in numerous errors about being incorrectly configured, such as: ERROR: Problem encountered: building dri drivers require at least one windowing system or classic osmesa A rendering engine must be available, so per the error we enable osmesa if X11 is not available. Once 'osmesa' is enabled we also need to make sure that swrast for DRI is also available. Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-25mesa: upgrade 20.0.1 -> 20.0.2Wang Mingyu
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-07mesa: updated to mesa 20.0.1 releaseNathan Hartman
Updated to 20.0.1 release: https://www.mesa3d.org/relnotes/20.0.1.html Signed-off-by: Nathan Hartman <hnathan918@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-06mesa: updated to 20.0 releaseNathan Hartman
Updated mesa and mesa-gl recipes to 20.0 release. The license checksum difference is due to a small change in the license formatting. The asterisk for footnotes was changed to a '[1]' See: https://gitlab.freedesktop.org/mesa/mesa/-/commit/199572b65b7a03ffc887783e7f0f96f95bf1f99d glxgears runs successfully at 60 fps on a rpi4. Signed-off-by: Nathan Hartman <hnathan918@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-29mesa: add fix for arm6Jeremy Puhlman
We have had similar problems with missing atomics on arm6 that arm5 has. Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-21mesa: upgrade 19.3.3 -> 19.3.4Wang Mingyu
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-08mesa: upgrade 19.3.1 -> 19.3.3Wang Mingyu
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-27mesa: Allow building the virgl driver to be configurableFred Baksik
If a .bbappend file sets GALLIUMDRIVERS then virgl is always being appended to the list of drivers to be built. Make virgl an optional component. Signed-off-by: Fred Baksik <fred.baksik@mrcy.com> Signed-off-by: Ross Burton <ross.burton@intel.com>