Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package libnvidia-egl-gbm for
openSUSE:Factory checked in at 2025-12-30 12:01:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libnvidia-egl-gbm (Old)
and /work/SRC/openSUSE:Factory/.libnvidia-egl-gbm.new.1928 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libnvidia-egl-gbm"
Tue Dec 30 12:01:22 2025 rev:3 rq:1324718 version:1.1.2.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/libnvidia-egl-gbm/libnvidia-egl-gbm.changes
2024-10-07 21:53:36.841706800 +0200
+++
/work/SRC/openSUSE:Factory/.libnvidia-egl-gbm.new.1928/libnvidia-egl-gbm.changes
2025-12-30 12:01:42.375867032 +0100
@@ -1,0 +2,8 @@
+Mon Dec 22 14:57:58 UTC 2025 - Stefan Dirsch <[email protected]>
+
+- Update to version 1.1.2.1
+- supersedes U_Add-ICD-json-file.patch
+- 0001-egl-gbm-add-FP16-DRM-format.patch
+ * add FP16 DRM format
+
+-------------------------------------------------------------------
Old:
----
U_Add-ICD-json-file.patch
egl-gbm-1.1.2.tar.gz
New:
----
0001-egl-gbm-add-FP16-DRM-format.patch
egl-gbm-1.1.2.1.tar.gz
----------(Old B)----------
Old:- Update to version 1.1.2.1
- supersedes U_Add-ICD-json-file.patch
- 0001-egl-gbm-add-FP16-DRM-format.patch
----------(Old E)----------
----------(New B)----------
New:- supersedes U_Add-ICD-json-file.patch
- 0001-egl-gbm-add-FP16-DRM-format.patch
* add FP16 DRM format
----------(New E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libnvidia-egl-gbm.spec ++++++
--- /var/tmp/diff_new_pack.b4P101/_old 2025-12-30 12:01:44.503954419 +0100
+++ /var/tmp/diff_new_pack.b4P101/_new 2025-12-30 12:01:44.511954748 +0100
@@ -1,7 +1,7 @@
#
# spec file for package libnvidia-egl-gbm
#
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -20,7 +20,7 @@
%define lname libnvidia-egl-gbm%{so_ver}
%define rname egl-gbm
Name: libnvidia-egl-gbm
-Version: 1.1.2
+Version: 1.1.2.1
Release: 0
Summary: The GBM EGL external platform library
License: MIT
@@ -28,7 +28,7 @@
URL: https://github.com/NVIDIA/egl-gbm
Source0:
https://github.com/NVIDIA/egl-gbm/archive/%{version}/%{rname}-%{version}.tar.gz
Source1: baselibs.conf
-Patch0: U_Add-ICD-json-file.patch
+Patch0: 0001-egl-gbm-add-FP16-DRM-format.patch
BuildRequires: gcc-c++
BuildRequires: meson
BuildRequires: ninja
++++++ 0001-egl-gbm-add-FP16-DRM-format.patch ++++++
>From 4e0d15931611de7b4d4cb95a52b8661a6d5a0540 Mon Sep 17 00:00:00 2001
From: Austin Shafer <[email protected]>
Date: Fri, 21 Nov 2025 11:04:45 -0500
Subject: [PATCH] egl-gbm: add FP16 DRM format
---
src/gbm-display.c | 47 +++++++++++++++++++++++++++++++++--------------
1 file changed, 33 insertions(+), 14 deletions(-)
diff --git a/src/gbm-display.c b/src/gbm-display.c
index 28f33e9..f3cc607 100644
--- a/src/gbm-display.c
+++ b/src/gbm-display.c
@@ -378,7 +378,7 @@ done:
static uint32_t ConfigToDrmFourCC(GbmDisplay* display, EGLConfig config)
{
EGLDisplay dpy = display->devDpy;
- EGLint r, g, b, a;
+ EGLint r, g, b, a, componentType;
EGLBoolean ret = EGL_TRUE;
ret &= display->data->egl.GetConfigAttrib(dpy,
@@ -397,6 +397,10 @@ static uint32_t ConfigToDrmFourCC(GbmDisplay* display,
EGLConfig config)
config,
EGL_ALPHA_SIZE,
&a);
+ ret &= display->data->egl.GetConfigAttrib(dpy,
+ config,
+ EGL_COLOR_COMPONENT_TYPE_EXT,
+ &componentType);
if (!ret) {
/*
@@ -414,19 +418,34 @@ static uint32_t ConfigToDrmFourCC(GbmDisplay* display,
EGLConfig config)
#define PACK_CONFIG(r_, g_, b_, a_) \
(((r_) << 24ULL) | ((g_) << 16ULL) | ((b_) << 8ULL) | (a_))
- switch (PACK_CONFIG(r, g, b, a)) {
- case PACK_CONFIG(8, 8, 8, 0):
- return DRM_FORMAT_XRGB8888;
- case PACK_CONFIG(8, 8, 8, 8):
- return DRM_FORMAT_ARGB8888;
- case PACK_CONFIG(5, 6, 5, 0):
- return DRM_FORMAT_RGB565;
- case PACK_CONFIG(10, 10, 10, 0):
- return DRM_FORMAT_XRGB2101010;
- case PACK_CONFIG(10, 10, 10, 2):
- return DRM_FORMAT_ARGB2101010;
- default:
- return 0; /* DRM_FORMAT_INVALID */
+ if (componentType == EGL_COLOR_COMPONENT_TYPE_FLOAT_EXT) {
+ switch (PACK_CONFIG(r, g, b, a)) {
+ case PACK_CONFIG(16, 16, 16, 0):
+ return DRM_FORMAT_XBGR16161616F;
+ case PACK_CONFIG(16, 16, 16, 16):
+ return DRM_FORMAT_ABGR16161616F;
+ default:
+ return 0; /* DRM_FORMAT_INVALID */
+ }
+ } else {
+ switch (PACK_CONFIG(r, g, b, a)) {
+ case PACK_CONFIG(8, 8, 8, 0):
+ return DRM_FORMAT_XRGB8888;
+ case PACK_CONFIG(8, 8, 8, 8):
+ return DRM_FORMAT_ARGB8888;
+ case PACK_CONFIG(5, 6, 5, 0):
+ return DRM_FORMAT_RGB565;
+ case PACK_CONFIG(10, 10, 10, 0):
+ return DRM_FORMAT_XRGB2101010;
+ case PACK_CONFIG(10, 10, 10, 2):
+ return DRM_FORMAT_ARGB2101010;
+ case PACK_CONFIG(16, 16, 16, 0):
+ return DRM_FORMAT_XBGR16161616;
+ case PACK_CONFIG(16, 16, 16, 16):
+ return DRM_FORMAT_ABGR16161616;
+ default:
+ return 0; /* DRM_FORMAT_INVALID */
+ }
}
}
--
2.51.0
++++++ egl-gbm-1.1.2.tar.gz -> egl-gbm-1.1.2.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/egl-gbm-1.1.2/src/15_nvidia_gbm.json
new/egl-gbm-1.1.2.1/src/15_nvidia_gbm.json
--- old/egl-gbm-1.1.2/src/15_nvidia_gbm.json 1970-01-01 01:00:00.000000000
+0100
+++ new/egl-gbm-1.1.2.1/src/15_nvidia_gbm.json 2024-09-19 21:14:31.000000000
+0200
@@ -0,0 +1,6 @@
+{
+ "file_format_version" : "1.0.0",
+ "ICD" : {
+ "library_path" : "libnvidia-egl-gbm.so.1"
+ }
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/egl-gbm-1.1.2/src/meson.build
new/egl-gbm-1.1.2.1/src/meson.build
--- old/egl-gbm-1.1.2/src/meson.build 2024-08-12 19:08:01.000000000 +0200
+++ new/egl-gbm-1.1.2.1/src/meson.build 2024-09-19 21:14:31.000000000 +0200
@@ -35,3 +35,6 @@
version : meson.project_version(),
install : true,
)
+
+install_data('15_nvidia_gbm.json',
+ install_dir: '@0@/egl/egl_external_platform.d'.format(get_option('datadir')))