Skip to content

Commit

Permalink
update mesa
Browse files Browse the repository at this point in the history
  • Loading branch information
SolDev69 committed Dec 28, 2023
2 parents 10c4c87 + 0ffb828 commit 9e85bec
Show file tree
Hide file tree
Showing 21 changed files with 447 additions and 332 deletions.
24 changes: 2 additions & 22 deletions .gitlab-ci/container/debian/android_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,33 +30,13 @@ sh .gitlab-ci/container/create-android-cross-file.sh /$ndk i686-linux-android x8
sh .gitlab-ci/container/create-android-cross-file.sh /$ndk aarch64-linux-android aarch64 armv8 $ANDROID_SDK_VERSION
sh .gitlab-ci/container/create-android-cross-file.sh /$ndk arm-linux-androideabi arm armv7hl $ANDROID_SDK_VERSION armv7a-linux-androideabi

# Not using build-libdrm.sh because we don't want its cleanup after building
# each arch. Fetch and extract now.
export LIBDRM_VERSION=libdrm-2.4.114
curl -L --retry 4 -f --retry-all-errors --retry-delay 60 \
-O https://dri.freedesktop.org/libdrm/$LIBDRM_VERSION.tar.xz
tar -xf $LIBDRM_VERSION.tar.xz && rm $LIBDRM_VERSION.tar.xz

for arch in \
x86_64-linux-android \
i686-linux-android \
aarch64-linux-android \
arm-linux-androideabi ; do

cd $LIBDRM_VERSION
rm -rf build-$arch
meson setup build-$arch \
--cross-file=/cross_file-$arch.txt \
--libdir=lib/$arch \
-Dnouveau=disabled \
-Dvc4=disabled \
-Detnaviv=disabled \
-Dfreedreno=disabled \
-Dintel=disabled \
-Dcairo-tests=disabled \
-Dvalgrind=disabled
meson install -C build-$arch
cd ..
EXTRA_MESON_ARGS="--cross-file=/cross_file-$arch.txt --libdir=lib/$arch -Dnouveau=disabled -Dintel=disabled" \
. .gitlab-ci/container/build-libdrm.sh
done

rm -rf $LIBDRM_VERSION
Expand Down
2 changes: 1 addition & 1 deletion .gitlab-ci/image-tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ variables:
DEBIAN_BASE_TAG: "2023-11-18-deqp-runner"

DEBIAN_X86_64_BUILD_IMAGE_PATH: "debian/x86_64_build"
DEBIAN_BUILD_TAG: "2023-12-05-directx-headers-dep-611"
DEBIAN_BUILD_TAG: "2023-12-27-libdrm"

DEBIAN_X86_64_TEST_BASE_IMAGE: "debian/x86_64_test-base"

Expand Down
3 changes: 1 addition & 2 deletions docs/release-calendar.csv
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
23.2,2023-07-19,23.2.0-rc2,Dylan Baker
,2023-07-26,23.2.0-rc3,Dylan Baker
,2023-08-02,23.2.0-rc4,Dylan Baker,or 23.2.0 final
23.3,2023-12-27,23.3.2,Eric Engestrom
,2024-01-10,23.3.3,Eric Engestrom
23.3,2024-01-10,23.3.3,Eric Engestrom
,2024-01-24,23.3.4,Eric Engestrom
,2024-02-07,23.3.5,Eric Engestrom
,2024-02-21,23.3.6,Eric Engestrom
Expand Down
2 changes: 2 additions & 0 deletions docs/relnotes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Release Notes

The release notes summarize what's new or changed in each Mesa release.

- :doc:`23.3.2 release notes <relnotes/23.3.2>`
- :doc:`23.3.1 release notes <relnotes/23.3.1>`
- :doc:`23.3.0 release notes <relnotes/23.3.0>`
- :doc:`23.2.1 release notes <relnotes/23.2.1>`
Expand Down Expand Up @@ -405,6 +406,7 @@ The release notes summarize what's new or changed in each Mesa release.
:maxdepth: 1
:hidden:

23.3.2 <relnotes/23.3.2>
23.3.1 <relnotes/23.3.1>
23.3.0 <relnotes/23.3.0>
23.2.1 <relnotes/23.2.1>
Expand Down
177 changes: 177 additions & 0 deletions docs/relnotes/23.3.2.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,177 @@
Mesa 23.3.2 Release Notes / 2023-12-27
======================================

Mesa 23.3.2 is a bug fix release which fixes bugs found since the 23.3.1 release.

Mesa 23.3.2 implements the OpenGL 4.6 API, but the version reported by
glGetString(GL_VERSION) or glGetIntegerv(GL_MAJOR_VERSION) /
glGetIntegerv(GL_MINOR_VERSION) depends on the particular driver being used.
Some drivers don't support all the features required in OpenGL 4.6. OpenGL
4.6 is **only** available if requested at context creation.
Compatibility contexts may report a lower version depending on each driver.

Mesa 23.3.2 implements the Vulkan 1.3 API, but the version reported by
the apiVersion property of the VkPhysicalDeviceProperties struct
depends on the particular driver being used.

SHA256 checksum
---------------

::

3cfcb81fa16f89c56abe3855d2637d396ee4e03849b659000a6b8e5f57e69adc mesa-23.3.2.tar.xz


New features
------------

- None


Bug fixes
---------

- anv: glcts regression on zink
- nir: Trivial loop not unrolling
- Possible regression with AMD GPU with flatpak apps
- Compiling Mesa with X in custom prefix fails in Intel Vulkan driver
- radv/aco: Crysis 2 Remastered RT reflections are blocky around the edges with ACO, renders normally with LLVM


Changes
-------

Bas Nieuwenhuizen (1):

- radv: Use correct writemask for cooperative matrix ordering.

Boris Brezillon (3):

- util/hash_table: Use FREE() to be consistent with the CALLOC_STRUCT() call
- util/hash_table: Don't leak hash_u64_key objects when the entry exists
- util/hash_table: Don't leak hash_key_u64 objects when the u64 hash table is destroyed

Christian Gmeiner (2):

- etnaviv: Update headers from rnndb
- etnaviv: Add static_assert(..) to catch memory corruption

Dave Airlie (1):

- intel/compiler: move gen5 final pass to actually be final pass

David Heidelberg (2):

- ci/freedreno: timestamp-get no longer fails on Adreno
- ci/freedreno: fail introduced by ARB_post_depth_coverage

Eric Engestrom (10):

- docs: add sha256sum for 23.3.1
- .pick_status.json: Update to d761871761e5fe7d498b0cc818ed627698ed1225
- .pick_status.json: Update to 377c6b2d45ee73da3e5431846a3b4bfdd7ae2b83
- ci/b2c: drop passthrough of unset CI_JOB_JWT
- .pick_status.json: Updates notes for 6a92af158dc132eee449c175bdee66d92c68d191
- vulkan/wsi: fix build when platform headers are installed in non-standard locations
- .pick_status.json: Update to 670a799ebff9a98daafccf49324c2a01311b0c41
- .pick_status.json: Update to e61fae6eb8ae1ae1228d6f89329324310db808ae
- .pick_status.json: Update to 1e6fcd6a611574241b1cde306afcc416a03ac76b
- .pick_status.json: Update to 55c262898ae7188311c89a60e4ec0fbb67b7a95b

Faith Ekstrand (1):

- nir: Scalarize bounds checked loads and stores

Friedrich Vock (2):

- radv,vtn,driconf: Add and use radv_rt_ssbo_non_uniform workaround for Crysis 2/3 Remastered
- radv/rt: Initialize unused children in PLOC early-exit

George Ouzounoudis (1):

- vulkan: Fix dynamic graphics state enum usage

Gert Wollny (1):

- r600/sfn: keep workgroup and invocation ID registers for whole shader

Jesse Natalie (1):

- d3d12: Only destroy the winsys during screen destruction, not reset

Jonathan Gray (1):

- intel/common: add directory prefix to intel_gem.h include

José Expósito (1):

- egl/glx: fallback to software when Zink is forced and fails

Karol Herbst (4):

- rusticl/kernel: explicitly set rounding modes
- rusticl: do not warn on empty RUSTICL_DEBUG or RUSTICL_FEATURES
- rusticl: silence clippy::arc-with-non-send-sync for now
- rusticl: check rustc version for flags requiring newer rustc/clippy

Kenneth Graunke (3):

- iris: Initialize bo->index to -1 when importing buffers
- iris: Don't search the exec list if BOs have never been added to one
- iris: Skip mi_builder init for indirect draws

Lionel Landwerlin (4):

- nir/clone: fix missing printf_info clone
- nir/divergence: handle printf intrinsic
- anv: fix incorrect queue_family access on command buffer
- anv: wait for CS write completion before executing secondary

Michel Dänzer (2):

- gallium/dri: Return __DRI_ATTRIB_SWAP_UNDEFINED for _SWAP_METHOD
- glx: Handle IGNORE_GLX_SWAP_METHOD_OML regardless of GLX_USE_APPLEGL

Pierre-Eric Pelloux-Prayer (4):

- radeonsi/sqtt: fix RGP pm4 state emit function
- radeonsi/sqtt: clear record_counts variable
- radeonsi/sqtt: rework pm4.reg_va_low_idx
- radeonsi/sqtt: use calloc instead of malloc

Robert Foss (1):

- egl/surfaceless: Fix EGL_DEVICE_EXT implementation

Sil Vilerino (1):

- d3d12: Fix AV1 video encode 32 bits build

Sviatoslav Peleshko (2):

- nir/loop_analyze: Don't test non-positive iterations count
- intel/fs: Don't optimize DW*1 MUL if it stores value to the accumulator

Tapani Pälli (5):

- anv/hasvk/drirc: change anv_assume_full_subgroups to have subgroup size
- drirc: setup anv_assume_full_subgroups=16 for UnrealEngine5.1
- iris: use intel_needs_workaround with 14015055625
- mesa: fix enum support for EXT_clip_cull_distance
- drirc/anv: disable FCV optimization for Baldur's Gate 3

Timothy Arceri (1):

- radeonsi: fix divide by zero in si_get_small_prim_cull_info()

Vinson Lee (1):

- etnaviv: Remove duplicate initializers

Yiwei Zhang (1):

- vulkan/wsi/wayland: ensure drm modifiers stored in chain are immutable

Yonggang Luo (1):

- dzn: Fixes -Werror=incompatible-pointer-type
4 changes: 2 additions & 2 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -1530,7 +1530,7 @@ else
endif

dep_zlib = dependency('zlib', version : '>= 1.2.3',
fallback : ['zlib', 'zlib_dep'],
allow_fallback: true,
required : get_option('zlib'))
if dep_zlib.found()
pre_args += '-DHAVE_ZLIB'
Expand Down Expand Up @@ -1573,7 +1573,7 @@ with_expat = get_option('expat') \
if host_machine.system() == 'darwin'
dep_expat = meson.get_compiler('c').find_library('expat', required : with_expat)
else
dep_expat = dependency('expat', fallback : ['expat', 'expat_dep'],
dep_expat = dependency('expat', allow_fallback: true,
required : with_expat)
endif

Expand Down
6 changes: 3 additions & 3 deletions src/freedreno/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ rnn_install_path = get_option('datadir') + '/freedreno/registers'
rnn_path = rnn_src_path + ':' + get_option('prefix') + '/' + rnn_install_path

dep_lua = dependency('lua54', 'lua53', 'lua52', 'lua', required: false,
fallback : ['lua', 'lua_dep'], version: '>=5.2')
allow_fallback: true, version: '>=5.2')

dep_libarchive = dependency('libarchive', required: false)
dep_libxml2 = dependency('libxml-2.0', required: false)
dep_libarchive = dependency('libarchive', allow_fallback: true, required: false)
dep_libxml2 = dependency('libxml-2.0', allow_fallback: true, required: false)
prog_gzip = find_program('gzip', required: false)

install_fd_decode_tools = dep_libxml2.found() and prog_gzip.found() and \
Expand Down
3 changes: 3 additions & 0 deletions src/gallium/drivers/iris/iris_batch.c
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,9 @@ find_exec_index(struct iris_batch *batch, struct iris_bo *bo)
{
unsigned index = READ_ONCE(bo->index);

if (index == -1)
return -1;

if (index < batch->exec_count && batch->exec_bos[index] == bo)
return index;

Expand Down
2 changes: 2 additions & 0 deletions src/gallium/drivers/iris/iris_bufmgr.c
Original file line number Diff line number Diff line change
Expand Up @@ -1407,6 +1407,7 @@ iris_bo_gem_create_from_name(struct iris_bufmgr *bufmgr,
bo->bufmgr = bufmgr;
bo->gem_handle = open_arg.handle;
bo->name = name;
bo->index = -1;
bo->real.global_name = handle;
bo->real.prime_fd = -1;
bo->real.reusable = false;
Expand Down Expand Up @@ -1931,6 +1932,7 @@ iris_bo_import_dmabuf(struct iris_bufmgr *bufmgr, int prime_fd,

bo->bufmgr = bufmgr;
bo->name = "prime";
bo->index = -1;
bo->real.reusable = false;
bo->real.imported = true;
/* Xe KMD expects at least 1-way coherency for imports */
Expand Down
Loading

0 comments on commit 9e85bec

Please sign in to comment.