summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa
AgeCommit message (Collapse)Author
2022-05-21mesa.inc: package 00-radv-defaults.confMarkus Volk
this fixes: ERROR: mesa-2_22.0.2-r0 do_package: QA Issue: mesa: Files/directories were installed but not shipped in any package: /usr/share/drirc.d/00-radv-defaults.conf Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. mesa: 1 installed and not shipped files. [installed-vs-shipped] Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20mesa: upgrade 22.0.2 -> 22.0.3Alexander Kanavin
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>
2022-05-05mesa: upgrade 22.0.0 -> 22.0.2Alexander Kanavin
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>
2022-04-19llvm: use default install pathsAlexander Kanavin
There was a very brittle sed hack against cpp source code that allowed installing multiple llvm versions into the same target/sysroot. Patching with sed is prone to silent regressions as it can change both too little and too much, and it indeed it broke with llvm 14. It's also difficult to tell what the 'right' change should look like. If this feature is actually needed somewhere, please do it properly: proper patch and upstream first. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18mesa: Allow building Mesa's OpenCL through PACKAGECONFIGZoltán Böszörményi
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-17mesa: align target- and native buildMarkus Volk
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15mesa: update to 22.0.0Markus Volk
- 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 Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-13Revert "mesa: make sure GLES3 headers are installed"Richard Purdie
This reverts commit 7c6effef9d471efbaea76e23e91938687fcc661c. It uses old overrides syntax which simply doesn't work.
2022-03-09mesa: make sure GLES3 headers are installedSamuli Piippo
Since there is no libgles3-mesa package that would pull in the headers, add dependency to libgles2-mesa-dev. Now there no need to manually add GLES3 headers to image or toolchain. Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02mesa: upgrade 21.3.6 -> 21.3.7wangmy
Changelog: ========= Bug fixes --------- lavapipe: dEQP-VK.spirv_assembly.instruction.compute.float16.arithmetic_3.step fails ANV: Bad output from TransformFeedback . Regression from Mesa 21. Something to do with VB+XFB -> VB+XFB dependency? Changes ------- pan/bi: Avoid *FADD.v2f16 hazard in optimizer pan/bi: Avoid *FADD.v2f16 hazard in scheduler pan/bi: Lower swizzles on CSEL.i32/MUX.i32 panvk: Use more reliable assert for UBO pushing radv: Fix preamble argument order. ir3/spill: Fix simplify_phi_nodes with multiple loop nesting lavapipe: fix sampler + sampler view leaks. lavapipe: reference gallium fences correctly. crocus: fix leak on gen4/5 stencil fallback blit path. i915g: Initialize the rest of the "from_nir" temporary VS struct. pick_status.json: Update to dabba7d7263be6ffb6f3676465e92c65952fa824 pick_status.json: Mark b07372312d7053f2ef5c858ceb1fbf9ade5e7c52 as denominated gallivm/nir: Call nir_lower_bool_to_int32 after nir_opt_algebraic_late nir: All set-on-comparison opcodes can take all float types intel/fs: Don't optimize out 1.0*x and -1.0*x spriv: Produce correct result for GLSLstd450Step with NaN spirv: Produce correct result for GLSLstd450Modf with Inf spirv: Produce correct result for GLSLstd450Tanh with NaN nir: Properly handle various exceptional values in frexp nir: Produce correct results for atan with NaN nir: Add missing dependency on nir_opcodes.py anv: Call vk_command_buffer_finish if create fails dri: avoid NULL deref of DrawBuffer on flush nir: fix lower_memcpy anv/genxml/intel/fs: fix binding shader record entry anv: don't set color state when input state was requested ac/surface: add more elements to meta equations because HTILE can use them lavapipe: use util_pack_color_union() for generating clear colors aux/draw: fix llvm tcs lane vec generation zink: always set VkPipelineMultisampleStateCreateInfo::pSampleMask zink: always invalidate streamout counter buffer if not resuming iris: Don't fast clear with the view format r300: fix transformation of abs modifiers with negate radeonsi: workaround Specviewperf13 Catia hang on GFX9 radeonsi: fix depth stencil multi sample texture blit glx: fix pbuffer refcount init radv/winsys: fix initializing debug/perftest options if multiple instances intel/genxml: add PIPE_CONTROL field for L3 read only cache invalidation anv: invalidate L3 read only cache when VF cache is invalidated iris: invalidate L3 read only cache when VF cache is invalidated iris: fix a leak on surface states mesa/st: always use DXT5 when transcoding ASTC format tegra: Use private reference count for sampler views tegra: Use private reference count for resources radv: Disable IB2 on compute queues. venus: properly destroy deferred ahb image before real image creation Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16mesa: upgrade 21.3.5 -> 21.3.6wangmy
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 Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05mesa: upgrade 21.3.4 -> 21.3.5Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-18mesa: upgrade 21.3.3 -> 21.3.4wangmy
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 Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05mesa: 21.3.1 -> 21.3.3Otavio Salvador
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 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-14mesa: make ligles3-dev RDEPENDS on libgles2-devQuentin Schulz
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> Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-14mesa: PROVIDES virtual/libgles3Quentin Schulz
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> Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09mesa: upgrade 21.3.0 -> 21.3.1Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08mesa: Define broadcom packageconfig knobKhem Raj
Fixes ERROR: mesa-2_21.3.0-r0 do_configure: QA Issue: mesa: invalid PACKAGECONFIG: broadcom [invalid-packageconfig] Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08mesa: Fix broadcom vulkan driver build on 32bit arches with 64bit time_tKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08mesa: Fix build on ARM systems without NeonKhem Raj
See [1] [1] https://github.com/YoeDistro/yoe-distro/issues/626 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>
2021-11-23mesa: upgrade 21.2.5 -> 21.3.0wangmy
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 Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11mesa-demos: mark glew/glu patch as non-upstreamableAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11mesa-demos: drop glx option and patchAlexander Kanavin
As far as I can see the x11 option does the same thing. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07mesa: Add PACKAGECONFIG option for broadcom v3d Vulkan driverJoel Winarske
Enables building the Vulkan 1.1 compliant v3d driver. Signed-off-by: Joel Winarske <joel.winarske@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03mesa: upgrade 21.2.4 -> 21.2.5Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23mesa: upgrade 21.2.1 -> 21.2.4Pablo Saavedra Rodi?o
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 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>
2021-10-16mesa: Enable svga for x86 onlyKhem Raj
Enable svga only on x86/x86_64 since some arches e.g. riscv64 do not support it 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>
2021-10-01mesa: Ensure megadrivers runtime mappings are deterministicRichard Purdie
Add a sort to ensure the package dependency output is determnistic. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02mesa: enable crocus driver for older intel graphicsAlexander Kanavin
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. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02mesa: fix build on Arm V5 with soft floatRoss Burton
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. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23mesa: upgrade 21.1.5 -> 21.2.1Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18mesa: upgrade 21.1.5 -> 21.1.7Andreas Müller
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 Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04mesa: Define a fallback for DRIDRIVERSKhem Raj
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 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-30meta: Manual override fixesRichard Purdie
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-30Convert to new override syntaxRichard Purdie
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 "_". Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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>