|
1 | 1 | diff -Nru mesa-25.2.0/debian/changelog mesa-25.2.0/debian/changelog |
2 | 2 | --- mesa-25.2.0/debian/changelog 2025-08-07 14:08:04.000000000 +0300 |
3 | 3 | +++ mesa-25.2.0/debian/changelog 2025-05-29 20:16:02.000000000 +0300 |
4 | | -@@ -1,3 +1,11 @@ |
| 4 | +@@ -1,3 +1,13 @@ |
5 | 5 | +mesa (25.2.0-1qcom1) trixie; urgency=medium |
6 | 6 | + |
7 | 7 | + * Rebuild for trixie. |
8 | 8 | + * Switch to LLVM 19 (LLVM 20 is not a part of trixie) and also lower libdrm |
9 | 9 | + dependency to the version present in trixie. |
| 10 | ++ * Import patch from MR 36656 ("freedreno/layout: Don't align explicit |
| 11 | ++ layouts to page size") |
10 | 12 | + |
11 | 13 | + -- Loïc Minier < [email protected]> Thu, 29 May 2025 17:16:02 +0000 |
12 | 14 | + |
@@ -74,6 +76,73 @@ diff -Nru mesa-25.2.0/debian/control.in mesa-25.2.0/debian/control.in |
74 | 76 | libx11-dev, |
75 | 77 | libxxf86vm-dev, |
76 | 78 | libexpat1-dev, |
| 79 | +diff -Nru mesa-25.2.0/debian/patches/36656.patch mesa-25.2.0/debian/patches/36656.patch |
| 80 | +--- mesa-25.2.0/debian/patches/36656.patch 1970-01-01 02:00:00.000000000 +0200 |
| 81 | ++++ mesa-25.2.0/debian/patches/36656.patch 2025-05-29 20:16:02.000000000 +0300 |
| 82 | +@@ -0,0 +1,55 @@ |
| 83 | ++From 8c59aacc10c1bdcb0b4febfe2b8068309516194d Mon Sep 17 00:00:00 2001 |
| 84 | ++From: Rob Clark < [email protected]> |
| 85 | ++Date: Thu, 7 Aug 2025 15:09:45 -0700 |
| 86 | ++Subject: [PATCH] freedreno/layout: Don't align explicit layouts to page size |
| 87 | ++ |
| 88 | ++This could cause importing buffers, in particular multiplanar YUV, since |
| 89 | ++when the offset of the plane is added, the aligned size could be beyond |
| 90 | ++the end of the buffer. |
| 91 | ++ |
| 92 | ++Fixes: 27b0f64b3ed0 ("freedreno/a6xx: Use handle for explicit layout") |
| 93 | ++Signed-off-by: Rob Clark < [email protected]> |
| 94 | ++Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36656> |
| 95 | ++--- |
| 96 | ++ src/freedreno/ci/freedreno-a618-fails.txt | 11 ----------- |
| 97 | ++ src/freedreno/fdl/fd6_layout.c | 2 +- |
| 98 | ++ 2 files changed, 1 insertion(+), 12 deletions(-) |
| 99 | ++ |
| 100 | ++diff --git a/src/freedreno/ci/freedreno-a618-fails.txt b/src/freedreno/ci/freedreno-a618-fails.txt |
| 101 | ++index c437bbfa9ba01..2f687d2aaf0a2 100644 |
| 102 | ++--- a/src/freedreno/ci/freedreno-a618-fails.txt |
| 103 | +++++ b/src/freedreno/ci/freedreno-a618-fails.txt |
| 104 | ++@@ -226,17 +226,6 @@ spec@arb_base_instance@arb_base_instance-drawarrays,Fail |
| 105 | ++ spec@ext_base_instance@arb_base_instance-baseinstance-doesnt-affect-gl-instance-id_gles3,Fail |
| 106 | ++ spec@ext_base_instance@arb_base_instance-drawarrays_gles3,Fail |
| 107 | ++ |
| 108 | ++-# Bad assumptions in piglit about layout of multiplanar formats, |
| 109 | ++-# it should use separate buffers per plane: |
| 110 | ++-spec@ext_image_dma_buf_import@ext_image_dma_buf_import-export,Fail |
| 111 | ++-spec@ext_image_dma_buf_import@ext_image_dma_buf_import-sample_nv12,Fail |
| 112 | ++-spec@ext_image_dma_buf_import@ext_image_dma_buf_import-sample_nv21,Fail |
| 113 | ++-spec@ext_image_dma_buf_import@ext_image_dma_buf_import-sample_p010,Fail |
| 114 | ++-spec@ext_image_dma_buf_import@ext_image_dma_buf_import-sample_p012,Fail |
| 115 | ++-spec@ext_image_dma_buf_import@ext_image_dma_buf_import-sample_p016,Fail |
| 116 | ++-spec@ext_image_dma_buf_import@ext_image_dma_buf_import-sample_yuv420,Fail |
| 117 | ++-spec@ext_image_dma_buf_import@ext_image_dma_buf_import-sample_yvu420,Fail |
| 118 | ++- |
| 119 | ++ # Regression from https://gitlab.freedesktop.org/mesa/mesa/-/compare/ace49d9e52a6156f114ee00eec759d734bd84fc0...88c79a13b9056099048080e7d41576e0cb69c347 |
| 120 | ++ [email protected]@execution@variable-indexing@vs-output-array-vec2-index-wr-before-gs,Fail |
| 121 | ++ [email protected]@execution@variable-indexing@vs-output-array-vec3-index-wr-before-gs,Fail |
| 122 | ++diff --git a/src/freedreno/fdl/fd6_layout.c b/src/freedreno/fdl/fd6_layout.c |
| 123 | ++index d85f86b97cd61..dd32d470e4289 100644 |
| 124 | ++--- a/src/freedreno/fdl/fd6_layout.c |
| 125 | +++++ b/src/freedreno/fdl/fd6_layout.c |
| 126 | ++@@ -317,7 +317,7 @@ fdl6_layout_image(struct fdl_layout *layout, const struct fd_dev_info *info, |
| 127 | ++ } |
| 128 | ++ } |
| 129 | ++ |
| 130 | ++- if (layout->layer_first) { |
| 131 | +++ if (layout->layer_first && !explicit_layout) { |
| 132 | ++ layout->layer_size = align64(layout->size, 4096); |
| 133 | ++ layout->size = layout->layer_size * params->array_size; |
| 134 | ++ } |
| 135 | ++-- |
| 136 | ++GitLab |
| 137 | ++ |
| 138 | +diff -Nru mesa-25.2.0/debian/patches/series mesa-25.2.0/debian/patches/series |
| 139 | +--- mesa-25.2.0/debian/patches/series 2025-08-07 12:15:38.000000000 +0300 |
| 140 | ++++ mesa-25.2.0/debian/patches/series 2025-05-29 20:16:02.000000000 +0300 |
| 141 | +@@ -1,3 +1,4 @@ |
| 142 | + path_max.diff |
| 143 | + src_glx_dri_common.h.diff |
| 144 | + disable_ppc64el_assembly.diff |
| 145 | ++36656.patch |
77 | 146 | diff -Nru mesa-25.2.0/debian/rules mesa-25.2.0/debian/rules |
78 | 147 | --- mesa-25.2.0/debian/rules 2025-08-07 14:06:33.000000000 +0300 |
79 | 148 | +++ mesa-25.2.0/debian/rules 2025-05-29 20:16:02.000000000 +0300 |
|
0 commit comments