public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/mesa] f44: Update to 26.1.0~rc1 upstream release
@ 2026-06-18 10:16 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-06-18 10:16 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/mesa
Branch : f44
Commit : 588d86067e640ca173dcde748ffc4f6caf7a885f
Author : José Expósito <jexposit@redhat.com>
Date   : 2026-04-22T10:56:14+02:00
Stats  : +9/-170 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/mesa/c/588d86067e640ca173dcde748ffc4f6caf7a885f?branch=f44

Log:
Update to 26.1.0~rc1 upstream release

---
diff --git a/.packit.yaml b/.packit.yaml
index cf1d6ca..2d01fea 100644
--- a/.packit.yaml
+++ b/.packit.yaml
@@ -3,10 +3,15 @@ upstream_tag_template: mesa-{version}
 
 jobs:
   - job: pull_from_upstream
-    upstream_tag_include: "^mesa-26\\.0\\..*$"
+    upstream_tag_include: "^mesa-26\\.1\\..*$"
     trigger: release
     dist_git_branches:
       - rawhide
+
+  - job: pull_from_upstream
+    upstream_tag_include: "^mesa-26\\.0\\..*$"
+    trigger: release
+    dist_git_branches:
       - f44
 
   - job: pull_from_upstream

diff --git a/0001-nvk-don-t-set-promotion-on-texture-headers.patch b/0001-nvk-don-t-set-promotion-on-texture-headers.patch
deleted file mode 100644
index 03b000d..0000000
--- a/0001-nvk-don-t-set-promotion-on-texture-headers.patch
+++ /dev/null
@@ -1,59 +0,0 @@
-From da908849393c83ac1abd7968efeb23df8bd52075 Mon Sep 17 00:00:00 2001
-From: Dave Airlie <airlied@redhat.com>
-Date: Tue, 14 Apr 2026 16:30:45 +1000
-Subject: [PATCH] nvk: don't set promotion on texture headers
-
-This appears to cause some sort of prefetching which is causing
-page faults for linear textures on the following page after the
-texture allocation.
-
-This might be okay for tiled, but for now just disable it.
-
-Cc: mesa-stable
----
- src/nouveau/nil/descriptor.rs | 8 ++++----
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/src/nouveau/nil/descriptor.rs b/src/nouveau/nil/descriptor.rs
-index 0bcb54c7df4..4b6aa660ef1 100644
---- a/src/nouveau/nil/descriptor.rs
-+++ b/src/nouveau/nil/descriptor.rs
-@@ -521,7 +521,7 @@ fn nvb097_fill_image_view_desc(
- 
-     th.set_field(clb097::TEXHEAD_BL_S_R_G_B_CONVERSION, view.format.is_srgb());
- 
--    set_enum!(th, clb097, TEXHEAD_BL_SECTOR_PROMOTION, PROMOTE_TO_2_V);
-+    set_enum!(th, clb097, TEXHEAD_BL_SECTOR_PROMOTION, NO_PROMOTION);
-     set_enum!(th, clb097, TEXHEAD_BL_BORDER_SIZE, BORDER_SAMPLER_COLOR);
- 
-     // In the sampler, the two options for FLOAT_COORD_NORMALIZATION are:
-@@ -703,7 +703,7 @@ fn nvcb97_fill_image_view_desc(
-         view.format.is_srgb(),
-     );
- 
--    set_enum!(th, clcb97, TEXHEAD_V2_BL_SECTOR_PROMOTION, PROMOTE_TO_2_V);
-+    set_enum!(th, clcb97, TEXHEAD_V2_BL_SECTOR_PROMOTION, NO_PROMOTION);
-     set_enum!(th, clcb97, TEXHEAD_V2_BL_BORDER_SOURCE, BORDER_COLOR);
- 
-     // In the sampler, the two options for FLOAT_COORD_NORMALIZATION are:
-@@ -802,7 +802,7 @@ fn nvb097_nil_fill_buffer_desc(
-     set_enum!(th, clb097, TEXHEAD_1D_TEXTURE_TYPE, ONE_D_BUFFER);
- 
-     // TODO: Do we need this?
--    set_enum!(th, clb097, TEXHEAD_1D_SECTOR_PROMOTION, PROMOTE_TO_2_V);
-+    set_enum!(th, clb097, TEXHEAD_1D_SECTOR_PROMOTION, NO_PROMOTION);
- }
- 
- fn nvcb97_nil_fill_buffer_desc(
-@@ -833,7 +833,7 @@ fn nvcb97_nil_fill_buffer_desc(
-     th.set_field(clcb97::TEXHEAD_V2_1DRT_WIDTH_MINUS_ONE, num_elements - 1);
- 
-     // TODO: Do we need this?
--    set_enum!(th, clcb97, TEXHEAD_1D_SECTOR_PROMOTION, PROMOTE_TO_2_V);
-+    set_enum!(th, clcb97, TEXHEAD_1D_SECTOR_PROMOTION, NO_PROMOTION);
- }
- 
- pub const ZERO_SWIZZLE: [nil_rs_bindings::pipe_swizzle; 4] = [
--- 
-2.53.0
-

diff --git a/39951.patch b/39951.patch
deleted file mode 100644
index 7fdc336..0000000
--- a/39951.patch
+++ /dev/null
@@ -1,99 +0,0 @@
-From 3b3485efa6c5ad38a21819f111bee052be05acb0 Mon Sep 17 00:00:00 2001
-From: Ryan Houdek <Sonicadvance1@gmail.com>
-Date: Tue, 17 Feb 2026 14:52:50 -0800
-Subject: [PATCH] freedreno/fdl: Fix compiling with GCC and AVX2
-
-Clang is more lenient around casting same size vectors between the
-different AVX types, GCC on the other hand is not. Add appropriate
-casting between the different register typings to make GCC happy.
-
-No functional change.
-
-Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/14876
-Fixes: b554e4c727c90b88a542b86989f6664537658f85
-Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39951>
----
- src/freedreno/fdl/fd6_tiled_memcpy.cc | 40 +++++++++++++--------------
- 1 file changed, 20 insertions(+), 20 deletions(-)
-
-diff --git a/src/freedreno/fdl/fd6_tiled_memcpy.cc b/src/freedreno/fdl/fd6_tiled_memcpy.cc
-index 7bde850b4049..470db29aa938 100644
---- a/src/freedreno/fdl/fd6_tiled_memcpy.cc
-+++ b/src/freedreno/fdl/fd6_tiled_memcpy.cc
-@@ -459,10 +459,10 @@ linear_to_tiled_1cpp(char *_tiled, char *_linear, uint32_t linear_pitch)
-       auto linear2 = _mm256_loadu_ps((float const*)(_linear + 2 * linear_pitch));
-       auto linear3 = _mm256_loadu_ps((float const*)(_linear + 3 * linear_pitch));
- 
--      auto linear_0_1_low = _mm256_unpacklo_epi16(linear0, linear1);
--      auto linear_2_3_low = _mm256_unpacklo_epi16(linear2, linear3);
--      auto linear_0_1_high = _mm256_unpackhi_epi16(linear0, linear1);
--      auto linear_2_3_high = _mm256_unpackhi_epi16(linear2, linear3);
-+      auto linear_0_1_low = _mm256_unpacklo_epi16(_mm256_castps_si256(linear0), _mm256_castps_si256(linear1));
-+      auto linear_2_3_low = _mm256_unpacklo_epi16(_mm256_castps_si256(linear2), _mm256_castps_si256(linear3));
-+      auto linear_0_1_high = _mm256_unpackhi_epi16(_mm256_castps_si256(linear0), _mm256_castps_si256(linear1));
-+      auto linear_2_3_high = _mm256_unpackhi_epi16(_mm256_castps_si256(linear2), _mm256_castps_si256(linear3));
- 
-       // Effectively 256-bit zip1 ARM equivalent
-       auto r1_zip1 = _mm256_permute4x64_epi64(linear_2_3_low, 0x60);
-@@ -482,10 +482,10 @@ linear_to_tiled_1cpp(char *_tiled, char *_linear, uint32_t linear_pitch)
-       auto r4_zip2 = _mm256_permute4x64_epi64(linear_0_1_high, 0xf6);
-       auto r4 = _mm256_blend_epi32(r4_zip2, r4_zip1, 0xcc);
- 
--      _mm256_storeu_ps((float*)tiled, r1); tiled++;
--      _mm256_storeu_ps((float*)tiled, r2); tiled++;
--      _mm256_storeu_ps((float*)tiled, r3); tiled++;
--      _mm256_storeu_ps((float*)tiled, r4); tiled++;
-+      _mm256_storeu_ps((float*)tiled, _mm256_castsi256_ps(r1)); tiled++;
-+      _mm256_storeu_ps((float*)tiled, _mm256_castsi256_ps(r2)); tiled++;
-+      _mm256_storeu_ps((float*)tiled, _mm256_castsi256_ps(r3)); tiled++;
-+      _mm256_storeu_ps((float*)tiled, _mm256_castsi256_ps(r4)); tiled++;
-    }
- #else
-    memcpy_small<1, LINEAR_TO_TILED, FDL_MACROTILE_4_CHANNEL>(
-@@ -571,20 +571,20 @@ linear_to_tiled_2cpp(char *_tiled, char *_linear, uint32_t linear_pitch)
-       auto linear2 = _mm256_loadu_ps((float const*)(_linear + 2 * linear_pitch));
-       auto linear3 = _mm256_loadu_ps((float const*)(_linear + 3 * linear_pitch));
- 
--      auto linear_0_1_low = _mm256_unpacklo_epi32(linear0, linear1);
--      auto linear_2_3_low = _mm256_unpacklo_epi32(linear2, linear3);
--      auto linear_0_1_high = _mm256_unpackhi_epi32(linear0, linear1);
--      auto linear_2_3_high = _mm256_unpackhi_epi32(linear2, linear3);
-+      auto linear_0_1_low = _mm256_unpacklo_epi32(_mm256_castps_si256(linear0), _mm256_castps_si256(linear1));
-+      auto linear_2_3_low = _mm256_unpacklo_epi32(_mm256_castps_si256(linear2), _mm256_castps_si256(linear3));
-+      auto linear_0_1_high = _mm256_unpackhi_epi32(_mm256_castps_si256(linear0), _mm256_castps_si256(linear1));
-+      auto linear_2_3_high = _mm256_unpackhi_epi32(_mm256_castps_si256(linear2), _mm256_castps_si256(linear3));
- 
-       auto r1 = _mm256_inserti128_si256(linear_0_1_low, _mm256_castsi256_si128(linear_2_3_low), 1);
-       auto r2 = _mm256_inserti128_si256(linear_0_1_high, _mm256_castsi256_si128(linear_2_3_high), 1);
-       auto r3 = _mm256_permute2f128_si256(linear_0_1_low, linear_2_3_low, 0x31);
-       auto r4 = _mm256_permute2f128_si256(linear_0_1_high, linear_2_3_high, 0x31);
- 
--      _mm256_storeu_ps((float*)tiled, r1); tiled++;
--      _mm256_storeu_ps((float*)tiled, r2); tiled++;
--      _mm256_storeu_ps((float*)tiled, r3); tiled++;
--      _mm256_storeu_ps((float*)tiled, r4); tiled++;
-+      _mm256_storeu_ps((float*)tiled, _mm256_castsi256_ps(r1)); tiled++;
-+      _mm256_storeu_ps((float*)tiled, _mm256_castsi256_ps(r2)); tiled++;
-+      _mm256_storeu_ps((float*)tiled, _mm256_castsi256_ps(r3)); tiled++;
-+      _mm256_storeu_ps((float*)tiled, _mm256_castsi256_ps(r4)); tiled++;
-    }
- #else
-    memcpy_small<2, LINEAR_TO_TILED, FDL_MACROTILE_4_CHANNEL>(
-@@ -670,10 +670,10 @@ linear_to_tiled_4cpp(char *_tiled, char *_linear, uint32_t linear_pitch)
-       auto linear2 = _mm256_loadu_ps((float const*)(_linear + 2 * linear_pitch));
-       auto linear3 = _mm256_loadu_ps((float const*)(_linear + 3 * linear_pitch));
- 
--      auto r1 = _mm256_blend_ps(_mm256_permute4x64_pd(linear0, 0xd4), _mm256_permute4x64_pd(linear1, 0x60), 0xcc);
--      auto r2 = _mm256_blend_ps(_mm256_permute4x64_pd(linear2, 0xd4), _mm256_permute4x64_pd(linear3, 0x60), 0xcc);
--      auto r3 = _mm256_blend_ps(_mm256_permute4x64_pd(linear0, 0xf6), _mm256_permute4x64_pd(linear1, 0xe8), 0xcc);
--      auto r4 = _mm256_blend_ps(_mm256_permute4x64_pd(linear2, 0xf6), _mm256_permute4x64_pd(linear3, 0xe8), 0xcc);
-+      auto r1 = _mm256_blend_ps(_mm256_castpd_ps(_mm256_permute4x64_pd(_mm256_castps_pd(linear0), 0xd4)), _mm256_castpd_ps(_mm256_permute4x64_pd(_mm256_castps_pd(linear1), 0x60)), 0xcc);
-+      auto r2 = _mm256_blend_ps(_mm256_castpd_ps(_mm256_permute4x64_pd(_mm256_castps_pd(linear2), 0xd4)), _mm256_castpd_ps(_mm256_permute4x64_pd(_mm256_castps_pd(linear3), 0x60)), 0xcc);
-+      auto r3 = _mm256_blend_ps(_mm256_castpd_ps(_mm256_permute4x64_pd(_mm256_castps_pd(linear0), 0xf6)), _mm256_castpd_ps(_mm256_permute4x64_pd(_mm256_castps_pd(linear1), 0xe8)), 0xcc);
-+      auto r4 = _mm256_blend_ps(_mm256_castpd_ps(_mm256_permute4x64_pd(_mm256_castps_pd(linear2), 0xf6)), _mm256_castpd_ps(_mm256_permute4x64_pd(_mm256_castps_pd(linear3), 0xe8)), 0xcc);
- 
-       _mm256_storeu_ps((float*)tiled, r1); tiled++;
-       _mm256_storeu_ps((float*)tiled, r2); tiled++;
--- 
-GitLab
-

diff --git a/mesa.spec b/mesa.spec
index 8d62800..c309185 100644
--- a/mesa.spec
+++ b/mesa.spec
@@ -80,7 +80,7 @@
 
 Name:           mesa
 Summary:        Mesa graphics libraries
-Version:        26.0.5
+Version:        26.1.0~rc1
 Release:        %autorelease
 License:        MIT AND BSD-3-Clause AND SGI-B-2.0
 URL:            https://mesa3d.org
@@ -113,14 +113,6 @@ Source13:       https://crates.io/api/v1/crates/syn/%{rust_syn_ver}/download#/sy
 Source14:       https://crates.io/api/v1/crates/unicode-ident/%{rust_unicode_ident_ver}/download#/unicode-ident-%{rust_unicode_ident_ver}.tar.gz
 Source15:       https://crates.io/api/v1/crates/rustc-hash/%{rustc_hash_ver}/download#/rustc-hash-%{rustc_hash_ver}.tar.gz
 
-# Backport of https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39951
-# which fixes compile-time conditional on AVX2 which is not built on Fedora
-Patch21:        39951.patch
-
-# test patch to disable nvk texture promotion and fix gnome-initial-config
-# https://bugzilla.redhat.com/show_bug.cgi?id=2359799
-Patch30: 0001-nvk-don-t-set-promotion-on-texture-headers.patch
-
 BuildRequires:  meson >= 1.3.0
 BuildRequires:  gcc
 BuildRequires:  gcc-c++

diff --git a/sources b/sources
index 07b7dd0..1288524 100644
--- a/sources
+++ b/sources
@@ -1,7 +1,7 @@
-SHA512 (mesa-26.0.5.tar.xz) = 8aa03a46269b2443be15cbd516d523af78fdd35e5273f5346b9142d2d21e245f6d5fd47e7e90176b0444ea967540eaa7c62d217f599ca5a216ef83244ee97d5c
+SHA512 (mesa-26.1.0-rc1.tar.xz) = 9601704a5a239e775c50798f4062ac428fba441eed7b6bae80ee3b0444c9315f72006a7b21946220ae4f5c360fb44e7c0c945315552cdb06a9af71bdd9bf2669
 SHA512 (paste-1.0.15.tar.gz) = 5026d3ec7141ec4e2517a0b1283912d0801e9356f77b703d954b379439b8d85e3886d42fb28f7835edaeeac465582da14233564fb010c71425a59c9e1cbd46b4
 SHA512 (proc-macro2-1.0.106.tar.gz) = b726e2c92af434bfa88cd4f53c3fe6db647503567675fb439890dee3d15f5111137e3242b28d164114ce081c10acf3fd11950753ddb349190c87ee04e7d97744
 SHA512 (quote-1.0.44.tar.gz) = 6c1e9b31e0c8bd13cd865e6846dc243d88f2c057adeb8e674117bdcb46947219a6a352a6a50be1132c483f55331e6556275ac514513dbf017825c64e5d96010d
+SHA512 (rustc-hash-2.1.1.tar.gz) = 87097d98d47f327d000041ab13acddc366f1500d9c3e5c82169c3358112c7a7c03701c9b3c2c81d9f9da65b7ebac1c479b179dfaf7c059cd0b929b4673e51084
 SHA512 (syn-2.0.115.tar.gz) = 47afe5cd05da90d116e35259b4e3c03236e719ef8f62fbf1d32e4e7e78b454571f9e88e77e86665e815d5dcfe065c75fff987f57ba66942277f8f16fb680ead3
 SHA512 (unicode-ident-1.0.23.tar.gz) = f2e57950b87ab93456a74788c22b8f865fe8864147104507ed40cc87979c0a06007eec17c2c2241cb586b5e9600e5b518059611fde6325c7a3a79265751f8fe0
-SHA512 (rustc-hash-2.1.1.tar.gz) = 87097d98d47f327d000041ab13acddc366f1500d9c3e5c82169c3358112c7a7c03701c9b3c2c81d9f9da65b7ebac1c479b179dfaf7c059cd0b929b4673e51084

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-18 10:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-18 10:16 [rpms/mesa] f44: Update to 26.1.0~rc1 upstream release 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox