graphics/mesa: Update to 24.0.1

Release notes (24.0.0):	https://lists.freedesktop.org/archives/mesa-dev/2024-February/226138.html
Release notes (24.0.1):	https://lists.freedesktop.org/archives/mesa-dev/2024-February/226151.html

Sponsored by:	Beckhoff Automation GmbH & Co. KG
2024Q2
Emmanuel Vadot 2024-02-15 18:58:22 +01:00
parent 7b40a1de63
commit 6e197c6c59
5 changed files with 19 additions and 26 deletions

View File

@ -12,7 +12,7 @@
MESAVERSION= ${MESABASEVERSION}${MESASUBVERSION:C/^(.)/.\1/}
MESADISTVERSION=${MESABASEVERSION}${MESASUBVERSION:C/^(.)/-\1/}
MESABASEVERSION= 23.3.5
MESABASEVERSION= 24.0.1
# if there is a subversion, don't include the '-' between 7.11-rc2.
MESASUBVERSION=

View File

@ -1,6 +1,6 @@
TIMESTAMP = 1706768999
SHA256 (mesa-23.3.5.tar.xz) = 69ccb1278641ff5bad71ca0f866188aeb1a92aadc4dbb9d35f50aebec5b8b50f
SIZE (mesa-23.3.5.tar.xz) = 19429564
TIMESTAMP = 1708019786
SHA256 (mesa-24.0.1.tar.xz) = f387192b08c471c545590dd12230a2a343244804b5fe866fec6aea02eab57613
SIZE (mesa-24.0.1.tar.xz) = 19950992
SHA256 (4a253aae7ca437201d2a31d2a11a1a5434fe41f1.patch) = 84f18f14788bd8f387e2fc754b945bf30f84b517dd917785ed5d8ef1d594e24a
SIZE (4a253aae7ca437201d2a31d2a11a1a5434fe41f1.patch) = 1626
SHA256 (7c565db35d39bdbf4e4f867ea19f78b97c8c126f.patch) = 5af88a22abfadb91f6626c9244ed2a365e2bb283e0a42399082d1e909136d5f3

View File

@ -0,0 +1,11 @@
--- src/gallium/winsys/amdgpu/drm/amdgpu_bo.c.orig 2024-02-16 16:21:40 UTC
+++ src/gallium/winsys/amdgpu/drm/amdgpu_bo.c
@@ -709,7 +709,7 @@ struct pb_slab *amdgpu_bo_slab_alloc(void *priv, unsig
slab_bo->slab.group_index = group_index;
slab_bo->slab.entry_size = entry_size;
slab_bo->entries = os_malloc_aligned(slab_bo->slab.num_entries * sizeof(*slab_bo->entries),
- CACHE_LINE_SIZE);
+ MESA_CACHE_LINE_SIZE);
if (!slab_bo->entries)
goto fail;

View File

@ -1,22 +0,0 @@
--- src/util/os_file.c.orig 2024-01-25 12:45:07 UTC
+++ src/util/os_file.c
@@ -207,13 +207,19 @@ os_same_file_description(int fd1, int fd2)
int
os_same_file_description(int fd1, int fd2)
{
+#ifdef SYS_kcmp
pid_t pid = getpid();
+#endif
/* Same file descriptor trivially implies same file description */
if (fd1 == fd2)
return 0;
+#ifdef SYS_kcmp
return syscall(SYS_kcmp, pid, pid, KCMP_FILE, fd1, fd2);
+#else
+ return -1;
+#endif
}
#else

View File

@ -12,8 +12,10 @@ ONLY_FOR_ARCHS= aarch64 amd64 i386 powerpc64 powerpc64le
ONLY_FOR_ARCHS_REASON= needs a GPU supported by the AMDGPU KMS driver
BUILD_DEPENDS= libclc>=0.3.0:devel/libclc \
spirv-tools>=0:graphics/spirv-tools \
opencl>=0:devel/opencl
LIB_DEPENDS= libOpenCL.so:devel/ocl-icd \
libLLVMSPIRVLib.so.${LLVM_VERSION}:devel/spirv-llvm-translator@${LLVM_PORT:T} \
libzstd.so:archivers/zstd
RUN_DEPENDS= libclc>=0.3.0:devel/libclc \
opencl>=0:devel/opencl
@ -48,6 +50,8 @@ MESON_ARGS+= -Dplatforms="" \
LDFLAGS_i386= -Wl,-znotext
CONFIGURE_ENV+= PKG_CONFIG_PATH="${LLVM_PREFIX}/libdata/pkgconfig"
.include "${MASTERDIR}/Makefile.targets"
pre-patch: