-
-
Notifications
You must be signed in to change notification settings - Fork 243
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
186 additions
and
140 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Update Contributors | ||
|
||
on: | ||
schedule: | ||
- cron: '0 0 * * *' # Every day at midnight | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
update: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- uses: akhilmhdh/contributors-readme-action@v2.3.6 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 0 additions & 28 deletions
28
spec_files/mesa/0001-intel-compiler-fix-release-build-unused-variable.patch
This file was deleted.
Oops, something went wrong.
42 changes: 0 additions & 42 deletions
42
spec_files/mesa/0001-intel-compiler-reemit-boolean-resolve-for-inverted-i.patch
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
meson: C type error in strtod_l/strtof_l probe | ||
|
||
Future compilers will fail compilation due to the C type error: | ||
|
||
…/testfile.c: In function 'main': | ||
…/testfile.c:12:30: error: passing argument 2 of 'strtod_l' from incompatible pointer type | ||
12 | double d = strtod_l(s, end, loc); | ||
| ^~~ | ||
| | | ||
| char * | ||
/usr/include/stdlib.h:416:43: note: expected 'char ** restrict' but argument is of type 'char *' | ||
416 | char **__restrict __endptr, locale_t __loc) | ||
| ~~~~~~~~~~~~~~~~~~^~~~~~~~ | ||
…/testfile.c:13:29: error: passing argument 2 of 'strtof_l' from incompatible pointer type | ||
13 | float f = strtof_l(s, end, loc); | ||
| ^~~ | ||
| | | ||
| char * | ||
/usr/include/stdlib.h:420:42: note: expected 'char ** restrict' but argument is of type 'char *' | ||
420 | char **__restrict __endptr, locale_t __loc) | ||
| ~~~~~~~~~~~~~~~~~~^~~~~~~~ | ||
|
||
This means that the probe no longer tests is objective and always | ||
fails. | ||
|
||
Submitted upstream: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26927> | ||
|
||
diff --git a/meson.build b/meson.build | ||
index 35cc5f1cd5fd9079..1a5d2ba492be0b31 100644 | ||
--- a/meson.build | ||
+++ b/meson.build | ||
@@ -1425,8 +1425,8 @@ if cc.links(''' | ||
locale_t loc = newlocale(LC_CTYPE_MASK, "C", NULL); | ||
const char *s = "1.0"; | ||
char *end; | ||
- double d = strtod_l(s, end, loc); | ||
- float f = strtof_l(s, end, loc); | ||
+ double d = strtod_l(s, &end, loc); | ||
+ float f = strtof_l(s, &end, loc); | ||
freelocale(loc); | ||
return 0; | ||
}''', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
spec_files/mesa/zink-fix-resizable-bar-detection-logic.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
From a077c14f150f1c4f670dce381ac2eb548f1a4ac2 Mon Sep 17 00:00:00 2001 | ||
From: Alessandro Astone <ales.astone@gmail.com> | ||
Date: Wed, 10 Jan 2024 17:24:30 +0100 | ||
Subject: [PATCH] zink: Fix resizable BAR detection logic | ||
|
||
This was broken in two ways: | ||
* When looking for the MAX biggest_ram it was actually comparing | ||
a candidate against biggest_vis_ram | ||
|
||
* mem_props.memoryTypes[] should be accessed with the memory type | ||
index as found in heap_map | ||
|
||
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10341 | ||
Cc: 23.3 <mesa-stable> | ||
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26979> | ||
--- | ||
src/gallium/drivers/zink/zink_screen.c | 4 ++-- | ||
1 file changed, 2 insertions(+), 2 deletions(-) | ||
|
||
diff --git a/src/gallium/drivers/zink/zink_screen.c b/src/gallium/drivers/zink/zink_screen.c | ||
index 5a6d17cb4fa3..6697d7ab938c 100644 | ||
--- a/src/gallium/drivers/zink/zink_screen.c | ||
+++ b/src/gallium/drivers/zink/zink_screen.c | ||
@@ -3258,10 +3258,10 @@ zink_internal_create_screen(const struct pipe_screen_config *config, int64_t dev | ||
{ | ||
uint64_t biggest_vis_vram = 0; | ||
for (unsigned i = 0; i < screen->heap_count[ZINK_HEAP_DEVICE_LOCAL_VISIBLE]; i++) | ||
- biggest_vis_vram = MAX2(biggest_vis_vram, screen->info.mem_props.memoryHeaps[screen->info.mem_props.memoryTypes[i].heapIndex].size); | ||
+ biggest_vis_vram = MAX2(biggest_vis_vram, screen->info.mem_props.memoryHeaps[screen->info.mem_props.memoryTypes[screen->heap_map[ZINK_HEAP_DEVICE_LOCAL_VISIBLE][i]].heapIndex].size); | ||
uint64_t biggest_vram = 0; | ||
for (unsigned i = 0; i < screen->heap_count[ZINK_HEAP_DEVICE_LOCAL]; i++) | ||
- biggest_vram = MAX2(biggest_vis_vram, screen->info.mem_props.memoryHeaps[screen->info.mem_props.memoryTypes[i].heapIndex].size); | ||
+ biggest_vram = MAX2(biggest_vram, screen->info.mem_props.memoryHeaps[screen->info.mem_props.memoryTypes[screen->heap_map[ZINK_HEAP_DEVICE_LOCAL][i]].heapIndex].size); | ||
/* determine if vis vram is roughly equal to total vram */ | ||
if (biggest_vis_vram > biggest_vram * 0.9) | ||
screen->resizable_bar = true; | ||
-- | ||
GitLab | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
diff -Naur a/usr/share/plasma/look-and-feel/com.valve.vapor.desktop/contents/splash/Splash.qml b/usr/share/plasma/look-and-feel/com.valve.vapor.desktop/contents/splash/Splash.qml | ||
--- a/usr/share/plasma/look-and-feel/com.valve.vapor.desktop/contents/splash/Splash.qml | ||
+++ b/usr/share/plasma/look-and-feel/com.valve.vapor.desktop/contents/splash/Splash.qml | ||
@@ -42,7 +42,7 @@ | ||
|
||
anchors.centerIn: parent | ||
|
||
- source: "images/deck_logo.svgz" | ||
+ source: "images/bazzite_logo.svgz" | ||
|
||
sourceSize.width: 128 | ||
sourceSize.height: 128 | ||
diff -Naur a/usr/share/plasma/look-and-feel/com.valve.vgui.desktop/contents/splash/Splash.qml b/usr/share/plasma/look-and-feel/com.valve.vgui.desktop/contents/splash/Splash.qml | ||
--- a/usr/share/plasma/look-and-feel/com.valve.vgui.desktop/contents/splash/Splash.qml | ||
+++ b/usr/share/plasma/look-and-feel/com.valve.vgui.desktop/contents/splash/Splash.qml | ||
@@ -42,7 +42,7 @@ | ||
|
||
anchors.centerIn: parent | ||
|
||
- source: "images/deck_logo.svgz" | ||
+ source: "images/bazzite_logo.svgz" | ||
|
||
sourceSize.width: 128 | ||
sourceSize.height: 128 |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters