summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa
Commit message (Collapse)AuthorAgeFilesLines
* mesa: upgrade 21.3.5 -> 21.3.6wangmy2022-02-163-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========= Bug fixes --------- radv: CullDistance fail i965: Segmentation fault during glinfo context destruction, regression in 21.3.x Vulkan Wayland WSI returns empty surface formats [REGRESSION][BISECTED] iris: Qutebrowser/QtWebEngine sporadically flashes the window in white Flickering Intel Uhd 620 Graphics Broken Terraria & Glitches in Forza Horizon 4 Changes ------- Revert "nir/algebraic: distribute fmul(fadd(a, b), c) when b and c are constants" anv: Fix subgroupSupportedStages physical property Revert "zink: handle vertex buffer offset overflows" ir3: Fix copy-paste mistakes in ir3_block_remove_physical_predecessor() ir3/cp: ir3: Prevent propagating shared regs out of loops harder ir3: opt_deref in opt loop to remove unnecessary tex casts crocus: find correct relocation target for the bo. vulkan: Fix leak of error messages pick_status.json: Update to cb781fc350108584116280fc597c695d2f476c68 pick_status.json: Mark 15e77504461a30038a054c87cc53a694171c9cf4 as denominated pick_status.json: Mark 960e72417f3e8885699cf384f690853e14ba44da as denominated intel/fs: Take into account region strides during SIMD lowering decision of SHUFFLE. vulkan/wsi/wayland: Fix add_wl_shm_format alpha/opaqueness. vulkan/wsi/wayland: Convert missing vulkan formats to shm formats. vulkan/wsi/wayland: Add modifiers for RGB formats. vulkan/wsi/wayland: Fix add_drm_format_modifier aplha/opaqueness. anv/pass: Don't set first_subpass_layout for stencil-only attachments vulkan/wsi: Set MUTABLE_FORMAT_BIT in the prime path i965: Avoid NULL drawbuffer in brw_flush_front intel/fs: don't set allow_sample_mask for CS intrinsics intel/nir: fix shader call lowering panvk: Fix pointer corruption in panvk_add_wait_event_syncobjs zink: never use SpvOpImageQuerySizeLod for texel buffers zink: reorder fbfetch flag-setting to avoid null deref zink: fix vertex buffer mask computation for null buffers zink: clamp tbo creation to maxTexelBufferElements zink: add vertex shader pipeline bit for generated barrier construction zink: fix waiting on current batch id zink: cast image atomic op params/results based on image type zink: use SpvScopeDevice over SpvScopeWorkgroup for atomic shader ops zink: disable PIPE_SHADER_CAP_FP16_CONST_BUFFERS llvmpipe: disable PIPE_SHADER_CAP_FP16_CONST_BUFFERS llvmpipe: ci updates zink: add VK_BUFFER_USAGE_CONDITIONAL_RENDERING_BIT_EXT for query binds zink: fix PIPE_CAP_TGSI_BALLOT export conditional zink: reject invalid draws zink: min/max blit region in coverage functions anv: Disable CCS_E for some 8/16bpp copies on TGL+ anv: Use ANV_FAST_CLEAR_DEFAULT_VALUE for CCS on TGL+ anv: Re-enable CCS_E on TGL+ iris: implement inter-context busy-tracking aco: fix neg(abs(mul(a, b))) if the mul is not VOP3 aco: don't encode src2 for v_writelane_b32_e64 radv: fix R_02881C_PA_CL_VS_OUT_CNTL with mixed cull/clip distances radv/winsys: fix missing buffer_make_resident() for the null winsys tu: VkExternalImageFormatProperties is optional (From OE-Core rev: 05e45cb04e72d369aa6db1793cd010096db3cc09) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade 21.3.4 -> 21.3.5Alexander Kanavin2022-02-053-1/+1
| | | | | | | (From OE-Core rev: 956915d8829ce1db8e115cd31133ff0543e1054c) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade 21.3.3 -> 21.3.4wangmy2022-01-183-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========== Bug fixes --------- i965: gen5 exposes EXT_texture_integer incorrectly [radeonsi, regression, bisected]: Rendering issues with Factorio mesa >= 21.x (with llvmpipe) will break the game JVGS Panfrost - RK3399 - FACTORIO - glitches everywhere Baldurs Gate 3 (Patch 6) - ribbon-like artifacts on textures Game Starsector crashes under certain circumstances with mesa 21.3.+ FreeSpace models incorrectly rendered on Polaris cards, causing system freeze Incomplete evaluation of nested DEFINE macros [r300g, bisected] piglit glsl-fs-discard-04 fails Panfrost G52 Firefox terrible glitches on youtube playback Changes ------- pan/bi: Fix load_const of 1-bit booleans gallium/util: Add pixel->blocks box helper lima,panfrost: Correct pixel vs block mismatches radv: Set optimal copy alignment to 1. microsoft/compiler: Fix dxil_nir_create_bare_samplers() ir3/ra: Fix logic bug in compress_regs_left ir3: Bump type mismatch penalty to 3 aco: don't allow SDWA on VOP3P instructions aco: validate VOP3P opsel correctly tu: fix workaround for depth bounds test without depth test intel/genxml/gen4-5: fix more Raster Operation in BLT to be a uint crocus: fail resource allocation properly. freedreno/afuc: Disable the disassembler on 32-bit builds. i915g: Turn off FP16 in the vertex shaders. r300: Fix omod failing to increase the number of channels stored. nir_to_tgsi: Fix a bug in TXP detection after backend lowering. pick_status.json: Update to 8a78706643ecad8a1f303cc9358873abc29978b4 pick_status.json: Mark 00bea38242d97e7ace1954f1bc7d32cbf0ce3ee0 as denominated pick_status.json: Mark 2a0253b9b5d21c7571555abe3a1d851468a18740 as denominated r300: fix handling swizzle in transform_source_conflicts intel/compiler/test: Fix build with GCC 7 i965: Disable EXT_texture_integer on Gfx4 and Gfx5 Revert "anv: Stop doing too much per-sample shading" anv: don't leave anv_batch fields undefined anv: limit compiler valid color outputs using NIR variables intel/dev: fixup chv workaround etnaviv: initialize vertex attributes on context reset etnaviv: drm: fix size limit in etna_cmd_stream_realloc etnaviv: drm: properly handle reviving BOs via a lookup zink: fix -Warray-bounds warning radv: fix xfb query copy param ordering zink: always unset vertex shader variant key data when changing last vertex stage zink: add extra synchronization for buffer descriptor binds zink: use device-local heap for sparse backing allocations r300: Remove broken optimization in rc_transform_KILL radeonsi/gfx8: use the proper dcc clear size vbo/dlist: fix loopback crash vbo/dlist: add vertices to incomplete primitives radeonsi/gfx10: fix si_texture_get_offset for mipmapped tex glapi: should not add alias function to static_data.py aco: remove pack_half_2x16(a, 0) optimization intel/fs: OpImageQueryLod does not support arrayed images as an operand v3dv: Hotfix: Rename remaining V3DV_HAS_SURFACE->V3DV_USE_WSI_PLATFORM radv: add drirc radv_disable_htile_layers and enable it for F1 2021 iris: unref syncobjs and free r/w dependencies array for slab entries mesa: free idalloc storage for display lists mesa: free vbo_save_vertex_list store prims glsl/glcpp: make sure to expand new token after concatenation venus: subtract appended header size in vn_CreatePipelineCache Fix compilation on armv7l with gcc 11.2.0 (From OE-Core rev: 3cdb743ec048aa06c10e0da0fb3feb1ca740b6e2) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: 21.3.1 -> 21.3.3Otavio Salvador2022-01-053-1/+1
| | | | | | | | | | | | | | Upgrade to 21.3.3 stable release. It includes bugfixes and minor improvements, for more detailed information about the included changes refer to the specific release notes: - 21.3.2: https://docs.mesa3d.org/relnotes/21.3.2.html - 21.3.3: https://docs.mesa3d.org/relnotes/21.3.3.html (From OE-Core rev: 6982e2d66bd8296a3f67c72636ce015d328377d0) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: make ligles3-dev RDEPENDS on libgles2-devQuentin Schulz2021-12-141-2/+6
| | | | | | | | | | | | | | | | Khronos documentation[1] says that include/GLES2/gl2ext.h can be used for OpenGL ES 3 specification as well as for OpenGL ES 2. There can be applications including GLES2/gl2ext.h instead of GLES3/gl3ext.h meaning we should probably bring in GLES2/gl2ext.h if someone asks for development package of libgles3. [1] https://www.khronos.org/registry/OpenGL/index_es.php#headers Cc: Quentin Schulz <foss+yocto@0leil.net> (From OE-Core rev: 8adf941a8a2b5b3fe5e4e3313856b725e28d5370) Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: PROVIDES virtual/libgles3Quentin Schulz2021-12-141-1/+1
| | | | | | | | | | | | It's assumed that not all OpenGL ES implementation are compliant with the 3.x specification. Therefore an additional virtual providers is created to explicit compatibility with OpenGL ES 3 specification. Cc: Quentin Schulz <foss+yocto@0leil.net> (From OE-Core rev: 405cd7a37988ced627fe6ad6fd3089c17f59367e) Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade 21.3.0 -> 21.3.1Alexander Kanavin2021-12-093-1/+1
| | | | | | | (From OE-Core rev: 1970fd5764adff10a5d7e643aeea7ce40d318f26) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Define broadcom packageconfig knobKhem Raj2021-12-081-0/+1
| | | | | | | | | | Fixes ERROR: mesa-2_21.3.0-r0 do_configure: QA Issue: mesa: invalid PACKAGECONFIG: broadcom [invalid-packageconfig] (From OE-Core rev: 6add96e4af46eaabb6c70e3ce3a27a4b198d7cb6) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Fix broadcom vulkan driver build on 32bit arches with 64bit time_tKhem Raj2021-12-082-0/+42
| | | | | | | (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-082-0/+50
| | | | | | | | | | | | 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.5 -> 21.3.0wangmy2021-11-233-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New features: VK_EXT_color_write_enable on lavapipe GL_ARB_texture_filter_anisotropic in llvmpipe Anisotropic texture filtering in lavapipe VK_EXT_shader_atomic_float2 on Intel and RADV. VK_EXT_vertex_input_dynamic_state on RADV. VK_KHR_timeline_semaphore on lavapipe VK_EXT_external_memory_host on lavapipe GL_AMD_pinned_memory on llvmpipe GL 4.5 compatibility on llvmpipe VK_EXT_primitive_topology_list_restart on RADV and lavapipe. ES 3.2 on zink VK_KHR_depth_stencil_resolve on lavapipe VK_KHR_shader_integer_dot_product on RADV. OpenGL FP16 support on llvmpipe VK_KHR_shader_float16_int8 on lavapipe VK_KHR_spirv_1_4 on lavapipe Experimental raytracing support on RADV VK_KHR_synchronization2 on Intel NGG shader based culling is now enabled by default on GFX10.3 on RADV. VK_KHR_maintenance4 on RADV VK_KHR_format_feature_flags2 on RADV. EGL_EXT_present_opaque on wayland (From OE-Core rev: 5b5d29650b7fc2183df5129ef7f7ba855699b57c) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa-demos: mark glew/glu patch as non-upstreamableAlexander Kanavin2021-11-111-1/+6
| | | | | | | (From OE-Core rev: c5a101f14b469b92d2a2caf653fba7078abc6a45) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa-demos: drop glx option and patchAlexander Kanavin2021-11-112-65/+1
| | | | | | | | | As far as I can see the x11 option does the same thing. (From OE-Core rev: a904c9492e86be39fcdd244e8f4b9768861c0e77) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Add PACKAGECONFIG option for broadcom v3d Vulkan driverJoel Winarske2021-11-071-0/+1
| | | | | | | | | Enables building the Vulkan 1.1 compliant v3d driver. (From OE-Core rev: 8cc28b231b821bb9669eb3980281d27399f378be) Signed-off-by: Joel Winarske <joel.winarske@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade 21.2.4 -> 21.2.5Alexander Kanavin2021-11-033-1/+1
| | | | | | | (From OE-Core rev: 24e8b9af5188405fdc72e42c26d95f0749e91a0c) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade 21.2.1 -> 21.2.4Pablo Saavedra Rodi?o2021-10-234-55/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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: Enable svga for x86 onlyKhem Raj2021-10-161-1/+3
| | | | | | | | | | | Enable svga only on x86/x86_64 since some arches e.g. riscv64 do not support it (From OE-Core rev: d7d380a45ab0efedcba33baaae37589da4d25a2b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Ensure megadrivers runtime mappings are deterministicRichard Purdie2021-10-021-1/+1
| | | | | | | | Add a sort to ensure the package dependency output is determnistic. (From OE-Core rev: 693e8d0dfe0b475bc233ccc1ad7674d39de346ce) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: enable crocus driver for older intel graphicsAlexander Kanavin2021-09-021-3/+2
| | | | | | | | | | | | | | See here for the full story: https://www.phoronix.com/scan.php?page=news_item&px=Intel-Crocus-Default-Gallium3D Once crocus does become the default over i965, upstream is likely to retire classic pre-gallium drivers altogether, which (with the exception of i965, superseded by crocus) are all for retrocomputing hardware. (From OE-Core rev: dfc5f935b5b1759f73b2ddd86d2b291436dbc705) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: fix build on Arm V5 with soft floatRoss Burton2021-09-022-0/+54
| | | | | | | | | | | | | | | | | 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-234-7/+8
| | | | | | | (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-184-74/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: Define a fallback for DRIDRIVERSKhem Raj2021-08-041-2/+1
| | | | | | | | | | | | Some machines may not define this variable, in such cases bitbake fails to parse run.do_configure.3766843: line 164: -Ddri-drivers=${@strip_comma('${DRIDRIVERS}')}: bad substitution (From OE-Core rev: b68790713fee4de4fa81762526b941ba76b66866) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Manual override fixesRichard Purdie2021-08-021-2/+2
| | | | | | | | | | The automated conversion of OE-Core to use the new override sytax isn't perfect. This patches some mis-converted lines and some lines which were missed by the automation. (From OE-Core rev: 4e9a06b64b43131b731fb59a0305f78a98e27fbd) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Convert to new override syntaxRichard Purdie2021-08-025-76/+76
| | | | | | | | | | | | This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Fix v3d & vc4 dmabuf importJoshua Watt2021-07-282-0/+73
| | | | | | | | | | | | 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: upgrade 21.1.4 -> 21.1.5Andreas Müller2021-07-193-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 (From OE-Core rev: ff0612d0030e4af5233b846e218334cea9cabf17) 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>
* mesa: upgrade 21.1.3 -> 21.1.4Andreas Müller2021-07-073-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. (From OE-Core rev: b6fbe138f4d359fb5ed5fb0968f6be8f04f8eca6) Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libglu: upgrade 9.0.1 -> 9.0.2wangmy2021-07-021-3/+1
| | | | | | | | (From OE-Core rev: f327885f1180e9338e0c909d3e591c3a6d57f6aa) 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>
* mesa: upgrade 21.1.2 -> 21.1.3Andreas Müller2021-06-223-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. (From OE-Core rev: e6e3570d9d555c0f2e62210a2163ae74cc495f2e) 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>
* mesa: enable gallium intel drivers when building for x86Alexander Kanavin2021-06-212-2/+5
| | | | | | | | | | | | | | 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) (From OE-Core rev: 5fdc061856348c0dab4dea7cfc0e9fdc1c95d85f) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade 21.1.1 -> 21.1.2Andreas Müller2021-06-063-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 (From OE-Core rev: 6d7cde03cc26adb5e1642ddc90f58aae60de1cbc) Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: update 21.0.3 -> 21.1.1Alexander Kanavin2021-05-254-11/+12
| | | | | | | | | 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: add lmsensors PACKAGECONFIGAlexander Kanavin2021-05-121-0/+2
| | | | | | | (From OE-Core rev: 1b470a5fe7c74938cac7c83cd104ca25182af6cc) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade 21.0.2 -> 21.0.3wangmy2021-05-013-1/+1
| | | | | | | (From OE-Core rev: a89ed8ce30a5830a0ac90aa633ec466b4e3a0ba1) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade 21.0.1 -> 21.0.2wangmy2021-04-183-1/+1
| | | | | | | (From OE-Core rev: 58ad359da1b05820ea3dc4ae3f789ccb8991fc32) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: enable dri in native/nativesdk through gallium driversAlexander Kanavin2021-04-052-4/+2
| | | | | | | | | | | | | | 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 (From OE-Core rev: d32add868ee5cb05c4fdbc0c30c7bb01070e683b) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: gallium option requires libdrmAlexander Kanavin2021-04-051-1/+1
| | | | | | | | | | Previously it was pulled in via dri option, and there was no configuration where gallium was enabled and dri was not. (From OE-Core rev: 1328556e9c0853babff45bf1bf67643d7ddfdabb) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: update 21.0.0 -> 21.0.1Alexander Kanavin2021-04-053-1/+1
| | | | | | | (From OE-Core rev: e72dc396f0e147b078160fae0ac43861eb60e76f) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa-gl: Use swrast gallium driverKhem Raj2021-04-053-8/+9
| | | | | | | | | | | | | | | | | 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. (From OE-Core rev: 2d0239c446be3e7f04c00e24f6c8ac1707440c8a) 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>
* mesa: update 20.3.4 -> 21.0.0Alexander Kanavin2021-03-206-50/+17
| | | | | | | | | | | | | | | | 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: upgrade 20.3.2 -> 20.3.4Anuj Mittal2021-02-193-1/+1
| | | | | | | (From OE-Core rev: d9c368dcfe6476454aef33592f676b28537af2d9) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* native: Stop clearing PACKAGESRichard Purdie2021-01-291-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. (From OE-Core rev: fd6a007efa7cb45101a66f294af81d9d33bb3fab) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa,mesa-gl: upgrade to 20.3.2Dmitry Baryshkov2021-01-153-1/+1
| | | | | | | | | Upgrade mesa and mesa-gl recipes to version 20.3.2. (From OE-Core rev: 5ab325c18640dd6d17ac4592f3ba3e484a5bdb37) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: update 20.2.4 -> 20.3.1Trevor Woerner2020-12-245-93/+2
| | | | | | | | | | | | | | | | | | | 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.inc: switch true/enabled false/disabledTrevor Woerner2020-12-201-11/+11
| | | | | | | | | | | | | | | | | | | | | 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. (From OE-Core rev: acf78fd3d03e4fe07ee4ad677f178d17dc10ac7b) Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: remove patch disabling asmAnuj Mittal2020-12-152-151/+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: Update 20.2.1 -> 20.2.4Fabio Berton2020-12-093-1/+1
| | | | | | | | | | This commit adds the changes of 20.2.2, 20.2.3 and 20.2.4 bug fix releases. (From OE-Core rev: 9c39a1360d81264e867242f238f6d14fdb395e96) Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: drop _PYTHON_SYSCONFIGDATA_NAME hacksAlexander Kanavin2020-11-161-5/+0
| | | | | | | (From OE-Core rev: d3a81dd0e72a3495bfc7cc969c2bb806b666023d) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>