Update to 22.3.0 final + mit-shm fix
Resolves: rhbz#2117184
This commit is contained in:
parent
6ee28d34b5
commit
54307e6442
27
0001-glx-fix-xshm-check-to-init-xshm_opcode.patch
Normal file
27
0001-glx-fix-xshm-check-to-init-xshm_opcode.patch
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
From 808c054a42fd24a1aaefaeb1d95195fea9fb6e84 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Dave Airlie <airlied@redhat.com>
|
||||||
|
Date: Wed, 7 Dec 2022 05:11:47 +1000
|
||||||
|
Subject: [PATCH] glx: fix xshm check to init xshm_opcode.
|
||||||
|
|
||||||
|
Found and proposed by Ray Strode (halfline)
|
||||||
|
|
||||||
|
Fixes: 68e89401140d ("glx/drisw: use xcb instead of X to query connection")
|
||||||
|
---
|
||||||
|
src/glx/drisw_glx.c | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/src/glx/drisw_glx.c b/src/glx/drisw_glx.c
|
||||||
|
index c0d1e85fdc4..d7658eaf7c1 100644
|
||||||
|
--- a/src/glx/drisw_glx.c
|
||||||
|
+++ b/src/glx/drisw_glx.c
|
||||||
|
@@ -874,6 +874,7 @@ check_xshm(Display *dpy)
|
||||||
|
|
||||||
|
shm_cookie = xcb_query_extension(c, 7, "MIT-SHM");
|
||||||
|
shm_reply = xcb_query_extension_reply(c, shm_cookie, NULL);
|
||||||
|
+ xshm_opcode = shm_reply->major_opcode;
|
||||||
|
|
||||||
|
has_mit_shm = shm_reply->present;
|
||||||
|
free(shm_reply);
|
||||||
|
--
|
||||||
|
2.38.1
|
||||||
|
|
@ -52,7 +52,7 @@
|
|||||||
|
|
||||||
Name: mesa
|
Name: mesa
|
||||||
Summary: Mesa graphics libraries
|
Summary: Mesa graphics libraries
|
||||||
%global ver 22.3.0-rc4
|
%global ver 22.3.0
|
||||||
Version: %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(ver)}
|
Version: %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(ver)}
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -65,6 +65,7 @@ Source0: https://mesa.freedesktop.org/archive/%{name}-%{ver}.tar.xz
|
|||||||
Source1: Mesa-MLAA-License-Clarification-Email.txt
|
Source1: Mesa-MLAA-License-Clarification-Email.txt
|
||||||
|
|
||||||
Patch10: gnome-shell-glthread-disable.patch
|
Patch10: gnome-shell-glthread-disable.patch
|
||||||
|
Patch11: 0001-glx-fix-xshm-check-to-init-xshm_opcode.patch
|
||||||
|
|
||||||
BuildRequires: meson >= 0.45
|
BuildRequires: meson >= 0.45
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
@ -601,6 +602,9 @@ popd
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Dec 07 2022 Dave Airlie <airlied@redhat.com> - 22.3.0-1
|
||||||
|
- Update to mesa 22.3.0 + fix mit-shm regression
|
||||||
|
|
||||||
* Fri Nov 25 2022 Dave Airlie <airlied@redhat.com> - 22.3.0~rc4.1
|
* Fri Nov 25 2022 Dave Airlie <airlied@redhat.com> - 22.3.0~rc4.1
|
||||||
- Update to mesa 22.3.0-rc4 + disable glthread for gnome-shell
|
- Update to mesa 22.3.0-rc4 + disable glthread for gnome-shell
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (mesa-22.3.0-rc4.tar.xz) = b07c8c3adbd3e8878e4849954ed8b2344d2827da85ccc2dbaa2a26e154193fb736cd1773838957ee597158c8678603ac76b3bf94ec15f8280a1fd65c5f7a67e3
|
SHA512 (mesa-22.3.0.tar.xz) = bf4d344459f97d266a5943b33aecf062b0825e13c1617afdab71c4ba6a87a201440761c9a32a6e0060910a0917122e3f4d29f666d6b94a38a71c94b9ff3ab9da
|
||||||
|
Loading…
Reference in New Issue
Block a user