[nvidia-kmod/el9] Update to 550.100
by Nicolas Chauvet
commit 235c58c75a7e342458114b06c55e8d1755960c12
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Jul 19 19:26:22 2024 +0200
Update to 550.100
nvidia-kmod.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/nvidia-kmod.spec b/nvidia-kmod.spec
index 55771f0..5dbf8b4 100644
--- a/nvidia-kmod.spec
+++ b/nvidia-kmod.spec
@@ -10,7 +10,7 @@
Name: nvidia-kmod
Epoch: 3
-Version: 550.78
+Version: 550.100
# Taken over by kmodtool
Release: 1%{?dist}
Summary: NVIDIA display driver kernel module
@@ -86,6 +86,9 @@ done
%changelog
+* Fri Jul 19 2024 Nicolas Chauvet <kwizart(a)gmail.com> - 3:550.100-1
+- Update to 550.100
+
* Fri Apr 26 2024 Leigh Scott <leigh123linux(a)gmail.com> - 3:550.78-1
- Update to 550.78 release
4 months, 1 week
[nvidia-persistenced/el9] Update to 550.100
by Nicolas Chauvet
commit 4632c4ec25a0c7efe576b31918e93aa9e461c333
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Jul 19 19:25:40 2024 +0200
Update to 550.100
nvidia-persistenced.spec | 5 ++++-
sources | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/nvidia-persistenced.spec b/nvidia-persistenced.spec
index 914faa0..d8bc7d4 100644
--- a/nvidia-persistenced.spec
+++ b/nvidia-persistenced.spec
@@ -2,7 +2,7 @@
Name: nvidia-persistenced
Epoch: 3
-Version: 550.78
+Version: 550.100
Release: 1%{?dist}
Summary: Daemon for maintaining persistent driver state
@@ -78,6 +78,9 @@ chmod -x %{buildroot}%{_mandir}/man1/%{name}.1.*
%changelog
+* Fri Jul 19 2024 Nicolas Chauvet <kwizart(a)gmail.com> - 3:550.100-1
+- Update to 550.100
+
* Fri Apr 26 2024 Leigh Scott <leigh123linux(a)gmail.com> - 3:550.78-1
- Update to 550.78 release
diff --git a/sources b/sources
index 4cef3c2..28c57af 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (nvidia-persistenced-550.78.tar.bz2) = 86dbe155a8270a292dc68b2ad8e9ab751d0e06fbcbd906085cafdbd3a681449159dcd1842ee5e2c9b09c157f035e2759e32b8fb8b654c36fb48f1de789e97118
+SHA512 (nvidia-persistenced-550.100.tar.bz2) = e51af761dc50522d05aba22c91b18b1ed8c251c075691579a5ab5b80ab3507974140009041f9b74828bf7af3b9884a3aeb212c1ad7eec7c88cfa6d3c242c2907
4 months, 1 week
[nvidia-modprobe/el9] Update to 550.100
by Nicolas Chauvet
commit 28a7d835fb81476330c2b6c7831c03c4becf3b39
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Jul 19 19:20:12 2024 +0200
Update to 550.100
nvidia-modprobe.spec | 5 ++++-
sources | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/nvidia-modprobe.spec b/nvidia-modprobe.spec
index f7faedd..9bff5e5 100644
--- a/nvidia-modprobe.spec
+++ b/nvidia-modprobe.spec
@@ -1,6 +1,6 @@
Name: nvidia-modprobe
Epoch: 3
-Version: 550.78
+Version: 550.100
Release: 1%{?dist}
Summary: Load the NVIDIA kernel module and create NVIDIA character device files
@@ -43,6 +43,9 @@ chmod -x %{buildroot}%{_mandir}/man1/nvidia-modprobe.1.*
%changelog
+* Fri Jul 19 2024 Nicolas Chauvet <kwizart(a)gmail.com> - 3:550.100-1
+- Update to 550.100
+
* Fri Apr 26 2024 Leigh Scott <leigh123linux(a)gmail.com> - 3:550.78-1
- Update to 550.78 release
diff --git a/sources b/sources
index b3a954f..9e3366f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (nvidia-modprobe-550.78.tar.bz2) = e97501946ec6250a0778c99fe5ba2698cc0d4a49c19bbcedf60a20aedfc722cf56b31a75dccaf19a3a44852b52451fcacb7b84b6529a84a8313fc6afe8a99439
+SHA512 (nvidia-modprobe-550.100.tar.bz2) = 37109981cbd251e1f4fad30b5f5efc9aa8e145a75342bf82147f6621d6c0d8b379e8748b12b0461baa6a9c0be8832edecc2c51270c1f461b9270913420fc18cb
4 months, 1 week
[xorg-x11-drv-nvidia/el9] missing sources
by Nicolas Chauvet
commit 579f486276d378d863231a47efba9f51f04427d3
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Jul 19 19:00:51 2024 +0200
missing sources
sources | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/sources b/sources
index 57e41cf..7f85dda 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (NVIDIA-Linux-x86_64-550.78.run) = 02c69e2699cd20c99bf147139920ce4708c0e4224b7234c499481996e45a879f29ebe1e5eb0e94f756bf8290d2a019050dd92add9ad375ea3bd5e21704823249
-SHA512 (NVIDIA-Linux-aarch64-550.78.run) = b823c031b5adbe6a19c1bb69bd990d0d4dbcb371628f7933843fb935547d9a749a359db54ab252bf7fa54797da21357d9eb6c020b1fe947cc2aeece3302fde70
+SHA512 (NVIDIA-Linux-x86_64-550.100.run) = e779e373c25627430762eed4e92d377b2dcccced7e50aeff466d232e2d13a4e2b8596bfc40ac79090a9ba9260e85cb788c98770de20d4c50837f8e6ecde7a80c
+SHA512 (NVIDIA-Linux-aarch64-550.100.run) = 5b0fd79be93dd52e23e5976e14a90b4d3ba8f73c3f1b9d567ad8045318712f1489ac7ee068a5d0a3df6920cc408c3c69ff7f0e99c8c6550dc31422fb34daf2c9
4 months, 1 week
[nvidia-xconfig/el9] Update to 550.100
by Nicolas Chauvet
commit 57012597edf50c8f57a6894199db0a792dd095c5
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Jul 19 18:51:44 2024 +0200
Update to 550.100
nvidia-xconfig.spec | 5 ++++-
sources | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/nvidia-xconfig.spec b/nvidia-xconfig.spec
index 6619cca..34a7772 100644
--- a/nvidia-xconfig.spec
+++ b/nvidia-xconfig.spec
@@ -1,6 +1,6 @@
Name: nvidia-xconfig
Epoch: 3
-Version: 550.78
+Version: 550.100
Release: 1%{?dist}
Summary: NVIDIA X configuration file editor
@@ -54,6 +54,9 @@ mkdir -p %{buildroot}%{_sbindir}
%changelog
+* Fri Jul 19 2024 Nicolas Chauvet <kwizart(a)gmail.com> - 3:550.100-1
+- Update to 550.100
+
* Fri Apr 26 2024 Leigh Scott <leigh123linux(a)gmail.com> - 3:550.78-1
- Update to 550.78 release
diff --git a/sources b/sources
index cd59975..a833ad7 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (nvidia-xconfig-550.78.tar.bz2) = 513733a80ec5a4e5fc60c3a1a0f787a6f1b64ffefd72d69208833626cd096a09957ad8f66568711c4059178879c3ce6167acefee6f23e4dd99cc226eecadf080
+SHA512 (nvidia-xconfig-550.100.tar.bz2) = 83d09670c0615c47c3493abdebb4ee10aa45340b405729b477dc16cbab3f33c64e34c32faccaa408f2a4260875e0a6fce607fa0e0e041f467e72ec38f1c08b45
4 months, 1 week
[nvidia-settings/el9] Update to 550.100
by Nicolas Chauvet
commit 31a07442566cc9e77d9ff4b679a125e8a33b66d2
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Jul 19 18:48:39 2024 +0200
Update to 550.100
nvidia-settings.spec | 5 ++++-
sources | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/nvidia-settings.spec b/nvidia-settings.spec
index 17f593b..94492e2 100644
--- a/nvidia-settings.spec
+++ b/nvidia-settings.spec
@@ -1,6 +1,6 @@
Name: nvidia-settings
Epoch: 3
-Version: 550.78
+Version: 550.100
Release: 1%{?dist}
Summary: Configure the NVIDIA graphics driver
@@ -121,6 +121,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{name}.appdat
%changelog
+* Fri Jul 19 2024 Nicolas Chauvet <kwizart(a)gmail.com> - 3:550.100-1
+- Update to 550.100
+
* Fri Apr 26 2024 Leigh Scott <leigh123linux(a)gmail.com> - 3:550.78-1
- Update to 550.78 release
diff --git a/sources b/sources
index ea13495..5363dc6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (nvidia-settings-550.78.tar.bz2) = f7e1a82f86cadb78b5c5b6482893fd949cc5017ca052ce083aec4ad0e48d83c35330ed9e2d970fd49c4907bec8cda8231d34b66f47cf0187a25735159989d42e
+SHA512 (nvidia-settings-550.100.tar.bz2) = 21e4d0f2effa964f1fcb8ac5b6fb1306184dcd9417b12e0e2060a68b4358a21ac967c09d18130a3fbf369893a6646ff2c7867c72bf02ab5974fcf9b925d2bec7
4 months, 1 week
[xorg-x11-drv-nvidia/el9] Update to 550.100
by Nicolas Chauvet
commit aabf9249ae79ea34ef536ceed10ffd9b4dc8ab2d
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Jul 19 18:43:10 2024 +0200
Update to 550.100
xorg-x11-drv-nvidia.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/xorg-x11-drv-nvidia.spec b/xorg-x11-drv-nvidia.spec
index bee2077..fd8ff86 100644
--- a/xorg-x11-drv-nvidia.spec
+++ b/xorg-x11-drv-nvidia.spec
@@ -21,7 +21,7 @@
Name: xorg-x11-drv-nvidia
Epoch: 3
-Version: 550.78
+Version: 550.100
Release: 1%{?dist}
Summary: NVIDIA's proprietary display driver for NVIDIA graphic cards
@@ -611,6 +611,9 @@ fi ||:
%endif
%changelog
+* Fri Jul 19 2024 Nicolas Chauvet <kwizart(a)gmail.com> - 3:550.100-1
+- Update to 550.100
+
* Fri Apr 26 2024 Leigh Scott <leigh123linux(a)gmail.com> - 3:550.78-1
- Update to 550.78 release
4 months, 1 week
[mesa-freeworld/f40] sync with master
by Thorsten Leemhuis
commit a3108bede443a9c3661bd0ceb9582047e9292ffd
Author: Thorsten Leemhuis <linux(a)leemhuis.info>
Date: Fri Jul 19 11:29:50 2024 +0200
sync with master
Signed-off-by: Thorsten Leemhuis <linux(a)leemhuis.info>
mesa-freeworld.spec | 9 +-
revert-6746d4df-to-fix-av1-slice_data_offset.patch | 106 +++++++++++++++++++++
2 files changed, 114 insertions(+), 1 deletion(-)
---
diff --git a/mesa-freeworld.spec b/mesa-freeworld.spec
index 2dc2b91..2e69a22 100644
--- a/mesa-freeworld.spec
+++ b/mesa-freeworld.spec
@@ -71,7 +71,7 @@ Name: %{srcname}-freeworld
Summary: Mesa graphics libraries
%global ver 24.1.4
Version: %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(ver)}
-Release: 1%{?dist}
+Release: 2%{?dist}
License: MIT AND BSD-3-Clause AND SGI-B-2.0
URL: http://www.mesa3d.org
@@ -83,6 +83,10 @@ Source1: Mesa-MLAA-License-Clarification-Email.txt
Source2: org.mesa3d.vaapi.freeworld.metainfo.xml
Source3: org.mesa3d.vdpau.freeworld.metainfo.xml
+# https://bugzilla.rpmfusion.org/show_bug.cgi?id=7007
+# https://gitlab.freedesktop.org/mesa/mesa/-/issues/11533
+Patch99: revert-6746d4df-to-fix-av1-slice_data_offset.patch
+
BuildRequires: meson >= 1.3.0
BuildRequires: gcc
BuildRequires: gcc-c++
@@ -341,6 +345,9 @@ rm -fr %{buildroot}%{_libdir}/libVkLayer_MESA_device_select.so
%endif
%changelog
+* Fri Jul 19 2024 Thorsten Leemhuis <fedora(a)leemhuis.info> - 24.1.4-2
+- add revert-6746d4df-to-fix-av1-slice_data_offset.patch
+
* Thu Jul 18 2024 Thorsten Leemhuis <fedora(a)leemhuis.info> - 24.1.4-1
- Update to 24.1.4
- Drop upstreamed patched
diff --git a/revert-6746d4df-to-fix-av1-slice_data_offset.patch b/revert-6746d4df-to-fix-av1-slice_data_offset.patch
new file mode 100644
index 0000000..1fff173
--- /dev/null
+++ b/revert-6746d4df-to-fix-av1-slice_data_offset.patch
@@ -0,0 +1,106 @@
+From 30f3844381cb567fde051591b0e0e08874204bfc Mon Sep 17 00:00:00 2001
+From: David Rosca <david.rosca(a)amd.com>
+Date: Thu, 18 Jul 2024 19:15:13 +0200
+Subject: [PATCH] Revert "frontends/va: Fix AV1 slice_data_offset with multiple
+ slice data buffers"
+
+This commit is fixing an issue where all AV1 slice data offsets always point
+into the first slice data buffer, even when multiple slice data buffers
+are submitted. However, after b0d6e58d88f ("Reapply "radeonsi/vcn: AV1 skip the redundant bs resize"")
+only the first slice data buffer will be sent to decoder and the incorrect
+behavior is required, so this commit also needs to be reverted.
+
+This reverts commit 6746d4df6eac83d048e88c2d54aa19e7c1a0a696.
+---
+ src/gallium/frontends/va/picture.c | 11 +++--------
+ src/gallium/frontends/va/picture_av1.c | 4 ++--
+ src/gallium/frontends/va/va_private.h | 2 +-
+ 3 files changed, 6 insertions(+), 11 deletions(-)
+
+diff --git a/src/gallium/frontends/va/picture.c b/src/gallium/frontends/va/picture.c
+index 59692aeee91cc..a2bb608ec96a8 100644
+--- a/src/gallium/frontends/va/picture.c
++++ b/src/gallium/frontends/va/picture.c
+@@ -299,7 +299,7 @@ handleIQMatrixBuffer(vlVaContext *context, vlVaBuffer *buf)
+ }
+
+ static void
+-handleSliceParameterBuffer(vlVaContext *context, vlVaBuffer *buf, unsigned num_slices, unsigned slice_offset)
++handleSliceParameterBuffer(vlVaContext *context, vlVaBuffer *buf, unsigned num_slices)
+ {
+ switch (u_reduce_video_profile(context->templat.profile)) {
+ case PIPE_VIDEO_FORMAT_MPEG12:
+@@ -331,7 +331,7 @@ handleSliceParameterBuffer(vlVaContext *context, vlVaBuffer *buf, unsigned num_s
+ break;
+
+ case PIPE_VIDEO_FORMAT_AV1:
+- vlVaHandleSliceParameterBufferAV1(context, buf, num_slices, slice_offset);
++ vlVaHandleSliceParameterBufferAV1(context, buf, num_slices);
+ break;
+
+ default:
+@@ -968,7 +968,6 @@ vlVaRenderPicture(VADriverContextP ctx, VAContextID context_id, VABufferID *buff
+
+ unsigned i;
+ unsigned slice_idx = 0;
+- unsigned slice_offset = 0;
+ vlVaBuffer *seq_param_buf = NULL;
+
+ if (!ctx)
+@@ -1024,17 +1023,13 @@ vlVaRenderPicture(VADriverContextP ctx, VAContextID context_id, VABufferID *buff
+
+ slice_idx is the zero based number of total slices received
+ before this call to handleSliceParameterBuffer
+-
+- slice_offset is the slice offset in bitstream buffer
+ */
+- handleSliceParameterBuffer(context, buf, slice_idx, slice_offset);
++ handleSliceParameterBuffer(context, buf, slice_idx);
+ slice_idx += buf->num_elements;
+ } break;
+
+ case VASliceDataBufferType:
+ vaStatus = handleVASliceDataBufferType(context, buf);
+- if (slice_idx)
+- slice_offset += buf->size;
+ break;
+
+ case VAProcPipelineParameterBufferType:
+diff --git a/src/gallium/frontends/va/picture_av1.c b/src/gallium/frontends/va/picture_av1.c
+index c014b0b1168ce..e6f2652e36234 100644
+--- a/src/gallium/frontends/va/picture_av1.c
++++ b/src/gallium/frontends/va/picture_av1.c
+@@ -396,7 +396,7 @@ void vlVaHandlePictureParameterBufferAV1(vlVaDriver *drv, vlVaContext *context,
+ context->desc.av1.slice_parameter.slice_count = 0;
+ }
+
+-void vlVaHandleSliceParameterBufferAV1(vlVaContext *context, vlVaBuffer *buf, unsigned num_slices, unsigned slice_offset)
++void vlVaHandleSliceParameterBufferAV1(vlVaContext *context, vlVaBuffer *buf, unsigned num_slices)
+ {
+ for (uint32_t buffer_idx = 0; buffer_idx < buf->num_elements; buffer_idx++) {
+ uint32_t slice_index =
+@@ -407,7 +407,7 @@ void vlVaHandleSliceParameterBufferAV1(vlVaContext *context, vlVaBuffer *buf, un
+
+ VASliceParameterBufferAV1 *av1 = &(((VASliceParameterBufferAV1*)buf->data)[buffer_idx]);
+ context->desc.av1.slice_parameter.slice_data_size[slice_index] = av1->slice_data_size;
+- context->desc.av1.slice_parameter.slice_data_offset[slice_index] = slice_offset + av1->slice_data_offset;
++ context->desc.av1.slice_parameter.slice_data_offset[slice_index] = av1->slice_data_offset;
+ context->desc.av1.slice_parameter.slice_data_row[slice_index] = av1->tile_row;
+ context->desc.av1.slice_parameter.slice_data_col[slice_index] = av1->tile_column;
+ context->desc.av1.slice_parameter.slice_data_anchor_frame_idx[slice_index] = av1->anchor_frame_idx;
+diff --git a/src/gallium/frontends/va/va_private.h b/src/gallium/frontends/va/va_private.h
+index 007ed95ce7f7c..ad30f3bad2a91 100644
+--- a/src/gallium/frontends/va/va_private.h
++++ b/src/gallium/frontends/va/va_private.h
+@@ -540,7 +540,7 @@ void vlVaHandlePictureParameterBufferVP9(vlVaDriver *drv, vlVaContext *context,
+ void vlVaHandleSliceParameterBufferVP9(vlVaContext *context, vlVaBuffer *buf);
+ void vlVaDecoderVP9BitstreamHeader(vlVaContext *context, vlVaBuffer *buf);
+ void vlVaHandlePictureParameterBufferAV1(vlVaDriver *drv, vlVaContext *context, vlVaBuffer *buf);
+-void vlVaHandleSliceParameterBufferAV1(vlVaContext *context, vlVaBuffer *buf, unsigned num_slices, unsigned slice_offset);
++void vlVaHandleSliceParameterBufferAV1(vlVaContext *context, vlVaBuffer *buf, unsigned num_slices);
+ void getEncParamPresetH264(vlVaContext *context);
+ void getEncParamPresetH265(vlVaContext *context);
+ void getEncParamPresetAV1(vlVaContext *context);
+--
+GitLab
+
4 months, 1 week
[mesa-freeworld] add revert-6746d4df-to-fix-av1-slice_data_offset.patch
by Thorsten Leemhuis
commit 38e1308944bda0d50e104423e3fc0f87c8105e63
Author: Thorsten Leemhuis <linux(a)leemhuis.info>
Date: Fri Jul 19 10:59:14 2024 +0200
add revert-6746d4df-to-fix-av1-slice_data_offset.patch
Signed-off-by: Thorsten Leemhuis <linux(a)leemhuis.info>
mesa-freeworld.spec | 9 +-
revert-6746d4df-to-fix-av1-slice_data_offset.patch | 106 +++++++++++++++++++++
2 files changed, 114 insertions(+), 1 deletion(-)
---
diff --git a/mesa-freeworld.spec b/mesa-freeworld.spec
index 2dc2b91..2e69a22 100644
--- a/mesa-freeworld.spec
+++ b/mesa-freeworld.spec
@@ -71,7 +71,7 @@ Name: %{srcname}-freeworld
Summary: Mesa graphics libraries
%global ver 24.1.4
Version: %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(ver)}
-Release: 1%{?dist}
+Release: 2%{?dist}
License: MIT AND BSD-3-Clause AND SGI-B-2.0
URL: http://www.mesa3d.org
@@ -83,6 +83,10 @@ Source1: Mesa-MLAA-License-Clarification-Email.txt
Source2: org.mesa3d.vaapi.freeworld.metainfo.xml
Source3: org.mesa3d.vdpau.freeworld.metainfo.xml
+# https://bugzilla.rpmfusion.org/show_bug.cgi?id=7007
+# https://gitlab.freedesktop.org/mesa/mesa/-/issues/11533
+Patch99: revert-6746d4df-to-fix-av1-slice_data_offset.patch
+
BuildRequires: meson >= 1.3.0
BuildRequires: gcc
BuildRequires: gcc-c++
@@ -341,6 +345,9 @@ rm -fr %{buildroot}%{_libdir}/libVkLayer_MESA_device_select.so
%endif
%changelog
+* Fri Jul 19 2024 Thorsten Leemhuis <fedora(a)leemhuis.info> - 24.1.4-2
+- add revert-6746d4df-to-fix-av1-slice_data_offset.patch
+
* Thu Jul 18 2024 Thorsten Leemhuis <fedora(a)leemhuis.info> - 24.1.4-1
- Update to 24.1.4
- Drop upstreamed patched
diff --git a/revert-6746d4df-to-fix-av1-slice_data_offset.patch b/revert-6746d4df-to-fix-av1-slice_data_offset.patch
new file mode 100644
index 0000000..1fff173
--- /dev/null
+++ b/revert-6746d4df-to-fix-av1-slice_data_offset.patch
@@ -0,0 +1,106 @@
+From 30f3844381cb567fde051591b0e0e08874204bfc Mon Sep 17 00:00:00 2001
+From: David Rosca <david.rosca(a)amd.com>
+Date: Thu, 18 Jul 2024 19:15:13 +0200
+Subject: [PATCH] Revert "frontends/va: Fix AV1 slice_data_offset with multiple
+ slice data buffers"
+
+This commit is fixing an issue where all AV1 slice data offsets always point
+into the first slice data buffer, even when multiple slice data buffers
+are submitted. However, after b0d6e58d88f ("Reapply "radeonsi/vcn: AV1 skip the redundant bs resize"")
+only the first slice data buffer will be sent to decoder and the incorrect
+behavior is required, so this commit also needs to be reverted.
+
+This reverts commit 6746d4df6eac83d048e88c2d54aa19e7c1a0a696.
+---
+ src/gallium/frontends/va/picture.c | 11 +++--------
+ src/gallium/frontends/va/picture_av1.c | 4 ++--
+ src/gallium/frontends/va/va_private.h | 2 +-
+ 3 files changed, 6 insertions(+), 11 deletions(-)
+
+diff --git a/src/gallium/frontends/va/picture.c b/src/gallium/frontends/va/picture.c
+index 59692aeee91cc..a2bb608ec96a8 100644
+--- a/src/gallium/frontends/va/picture.c
++++ b/src/gallium/frontends/va/picture.c
+@@ -299,7 +299,7 @@ handleIQMatrixBuffer(vlVaContext *context, vlVaBuffer *buf)
+ }
+
+ static void
+-handleSliceParameterBuffer(vlVaContext *context, vlVaBuffer *buf, unsigned num_slices, unsigned slice_offset)
++handleSliceParameterBuffer(vlVaContext *context, vlVaBuffer *buf, unsigned num_slices)
+ {
+ switch (u_reduce_video_profile(context->templat.profile)) {
+ case PIPE_VIDEO_FORMAT_MPEG12:
+@@ -331,7 +331,7 @@ handleSliceParameterBuffer(vlVaContext *context, vlVaBuffer *buf, unsigned num_s
+ break;
+
+ case PIPE_VIDEO_FORMAT_AV1:
+- vlVaHandleSliceParameterBufferAV1(context, buf, num_slices, slice_offset);
++ vlVaHandleSliceParameterBufferAV1(context, buf, num_slices);
+ break;
+
+ default:
+@@ -968,7 +968,6 @@ vlVaRenderPicture(VADriverContextP ctx, VAContextID context_id, VABufferID *buff
+
+ unsigned i;
+ unsigned slice_idx = 0;
+- unsigned slice_offset = 0;
+ vlVaBuffer *seq_param_buf = NULL;
+
+ if (!ctx)
+@@ -1024,17 +1023,13 @@ vlVaRenderPicture(VADriverContextP ctx, VAContextID context_id, VABufferID *buff
+
+ slice_idx is the zero based number of total slices received
+ before this call to handleSliceParameterBuffer
+-
+- slice_offset is the slice offset in bitstream buffer
+ */
+- handleSliceParameterBuffer(context, buf, slice_idx, slice_offset);
++ handleSliceParameterBuffer(context, buf, slice_idx);
+ slice_idx += buf->num_elements;
+ } break;
+
+ case VASliceDataBufferType:
+ vaStatus = handleVASliceDataBufferType(context, buf);
+- if (slice_idx)
+- slice_offset += buf->size;
+ break;
+
+ case VAProcPipelineParameterBufferType:
+diff --git a/src/gallium/frontends/va/picture_av1.c b/src/gallium/frontends/va/picture_av1.c
+index c014b0b1168ce..e6f2652e36234 100644
+--- a/src/gallium/frontends/va/picture_av1.c
++++ b/src/gallium/frontends/va/picture_av1.c
+@@ -396,7 +396,7 @@ void vlVaHandlePictureParameterBufferAV1(vlVaDriver *drv, vlVaContext *context,
+ context->desc.av1.slice_parameter.slice_count = 0;
+ }
+
+-void vlVaHandleSliceParameterBufferAV1(vlVaContext *context, vlVaBuffer *buf, unsigned num_slices, unsigned slice_offset)
++void vlVaHandleSliceParameterBufferAV1(vlVaContext *context, vlVaBuffer *buf, unsigned num_slices)
+ {
+ for (uint32_t buffer_idx = 0; buffer_idx < buf->num_elements; buffer_idx++) {
+ uint32_t slice_index =
+@@ -407,7 +407,7 @@ void vlVaHandleSliceParameterBufferAV1(vlVaContext *context, vlVaBuffer *buf, un
+
+ VASliceParameterBufferAV1 *av1 = &(((VASliceParameterBufferAV1*)buf->data)[buffer_idx]);
+ context->desc.av1.slice_parameter.slice_data_size[slice_index] = av1->slice_data_size;
+- context->desc.av1.slice_parameter.slice_data_offset[slice_index] = slice_offset + av1->slice_data_offset;
++ context->desc.av1.slice_parameter.slice_data_offset[slice_index] = av1->slice_data_offset;
+ context->desc.av1.slice_parameter.slice_data_row[slice_index] = av1->tile_row;
+ context->desc.av1.slice_parameter.slice_data_col[slice_index] = av1->tile_column;
+ context->desc.av1.slice_parameter.slice_data_anchor_frame_idx[slice_index] = av1->anchor_frame_idx;
+diff --git a/src/gallium/frontends/va/va_private.h b/src/gallium/frontends/va/va_private.h
+index 007ed95ce7f7c..ad30f3bad2a91 100644
+--- a/src/gallium/frontends/va/va_private.h
++++ b/src/gallium/frontends/va/va_private.h
+@@ -540,7 +540,7 @@ void vlVaHandlePictureParameterBufferVP9(vlVaDriver *drv, vlVaContext *context,
+ void vlVaHandleSliceParameterBufferVP9(vlVaContext *context, vlVaBuffer *buf);
+ void vlVaDecoderVP9BitstreamHeader(vlVaContext *context, vlVaBuffer *buf);
+ void vlVaHandlePictureParameterBufferAV1(vlVaDriver *drv, vlVaContext *context, vlVaBuffer *buf);
+-void vlVaHandleSliceParameterBufferAV1(vlVaContext *context, vlVaBuffer *buf, unsigned num_slices, unsigned slice_offset);
++void vlVaHandleSliceParameterBufferAV1(vlVaContext *context, vlVaBuffer *buf, unsigned num_slices);
+ void getEncParamPresetH264(vlVaContext *context);
+ void getEncParamPresetH265(vlVaContext *context);
+ void getEncParamPresetAV1(vlVaContext *context);
+--
+GitLab
+
4 months, 1 week
[mesa-freeworld/f40] sync with master
by Thorsten Leemhuis
commit 8258accb0153cd791963dbdb0b791066a12b1e20
Author: Thorsten Leemhuis <linux(a)leemhuis.info>
Date: Thu Jul 18 15:51:52 2024 +0200
sync with master
Signed-off-by: Thorsten Leemhuis <linux(a)leemhuis.info>
.gitignore | 1 +
...adeonsi-remove-has_syncobj-has_fence_to_h.patch | 153 ---------------------
...it-eglQueryDmaBufModifiersEXT-num_modifie.patch | 41 ------
mesa-freeworld.spec | 11 +-
sources | 2 +-
5 files changed, 8 insertions(+), 200 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 98bf3df..b621d09 100644
--- a/.gitignore
+++ b/.gitignore
@@ -39,3 +39,4 @@
/mesa-24.1.0.tar.xz
/mesa-24.1.1.tar.xz
/mesa-24.1.2.tar.xz
+/mesa-24.1.4.tar.xz
diff --git a/mesa-freeworld.spec b/mesa-freeworld.spec
index 0a2195a..2dc2b91 100644
--- a/mesa-freeworld.spec
+++ b/mesa-freeworld.spec
@@ -69,9 +69,9 @@ algorithms and decoding only VC1 algorithm.
Name: %{srcname}-freeworld
Summary: Mesa graphics libraries
-%global ver 24.1.2
+%global ver 24.1.4
Version: %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(ver)}
-Release: 2%{?dist}
+Release: 1%{?dist}
License: MIT AND BSD-3-Clause AND SGI-B-2.0
URL: http://www.mesa3d.org
@@ -83,9 +83,6 @@ Source1: Mesa-MLAA-License-Clarification-Email.txt
Source2: org.mesa3d.vaapi.freeworld.metainfo.xml
Source3: org.mesa3d.vdpau.freeworld.metainfo.xml
-Patch11: 0001-llvmpipe-Init-eglQueryDmaBufModifiersEXT-num_modifie.patch
-Patch12: 0001-Revert-ac-radeonsi-remove-has_syncobj-has_fence_to_h.patch
-
BuildRequires: meson >= 1.3.0
BuildRequires: gcc
BuildRequires: gcc-c++
@@ -344,6 +341,10 @@ rm -fr %{buildroot}%{_libdir}/libVkLayer_MESA_device_select.so
%endif
%changelog
+* Thu Jul 18 2024 Thorsten Leemhuis <fedora(a)leemhuis.info> - 24.1.4-1
+- Update to 24.1.4
+- Drop upstreamed patched
+
* Mon Jul 01 2024 Leigh Scott <leigh123linux(a)gmail.com> - 24.1.2-2
- Fix mutter crash when calling eglQueryDmaBufModifiersEXT
- Fix GNOME and KDE crash with some AMD GPUs
diff --git a/sources b/sources
index b6dbded..3b7d894 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (mesa-24.1.2.tar.xz) = ea28540552f9f28200c22423afcf9d9bb961557eae0dc11416c5ef60788c3e7f6d2b841c6bdbe2827d1339ea9d854623c1a0e08d4f1fd79d304fcdd52f790637
+SHA512 (mesa-24.1.4.tar.xz) = 0293f1493685888e5d2f0e616645c937e5a9c348fcb654b050b7c42bfdade1518c508920e456cf8be0033dceab4570a916db87dbb454174e425d91e9c05d0748
4 months, 1 week