[x265/f29] Update to 2.8
by Sérgio M. Basto
Summary of changes:
cd2972a... Update to 2.8 (*)
(*) This commit already existed in another branch; no separate mail sent
6 years, 1 month
[x264/f29] (2 commits) ...Add BuildRequires: gcc
by Sérgio M. Basto
Summary of changes:
31da68a... Update x264 to 0.155 Rebase x264-10b.patch Add a patch to f (*)
0e12a42... Add BuildRequires: gcc (*)
(*) This commit already existed in another branch; no separate mail sent
6 years, 1 month
[nvidia-390xx-kmod] Patch for 4.19 kernel
by Leigh Scott
commit edd256f4f4413464eab3121e2af427a361c661b2
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Wed Oct 10 17:38:10 2018 +0100
Patch for 4.19 kernel
4.19_kernel.patch | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
nvidia-390xx-kmod.spec | 7 ++++++-
2 files changed, 55 insertions(+), 1 deletion(-)
---
diff --git a/4.19_kernel.patch b/4.19_kernel.patch
new file mode 100644
index 0000000..beeeb78
--- /dev/null
+++ b/4.19_kernel.patch
@@ -0,0 +1,49 @@
+--- a/kernel/nvidia-drm/nvidia-drm-encoder.c
++++ b/kernel/nvidia-drm/nvidia-drm-encoder.c
+@@ -35,6 +35,8 @@
+ #include <drm/drm_atomic.h>
+ #include <drm/drm_atomic_helper.h>
+
++#include <linux/version.h>
++
+ static void nv_drm_encoder_destroy(struct drm_encoder *encoder)
+ {
+ struct nv_drm_encoder *nv_encoder = to_nv_encoder(encoder);
+@@ -215,8 +217,11 @@
+ }
+
+ /* Attach encoder and connector */
+-
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 19, 0)
++ ret = drm_connector_attach_encoder(connector, encoder);
++#else
+ ret = drm_mode_connector_attach_encoder(connector, encoder);
++#endif
+
+ if (ret != 0) {
+ NV_DRM_DEV_LOG_ERR(
+
+--- a/kernel/nvidia-drm/nvidia-drm-connector.c
++++ b/kernel/nvidia-drm/nvidia-drm-connector.c
+@@ -35,6 +35,8 @@
+ #include <drm/drm_atomic.h>
+ #include <drm/drm_atomic_helper.h>
+
++#include <linux/version.h>
++
+ static void nv_drm_connector_destroy(struct drm_connector *connector)
+ {
+ struct nv_drm_connector *nv_connector = to_nv_connector(connector);
+@@ -226,7 +228,11 @@
+
+
+ if (nv_connector->edid != NULL) {
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 19, 0)
++ drm_connector_update_edid_property(
++#else
+ drm_mode_connector_update_edid_property(
++#endif
+ connector, nv_connector->edid);
+ }
+
+
diff --git a/nvidia-390xx-kmod.spec b/nvidia-390xx-kmod.spec
index d25e29e..fdcfd2a 100644
--- a/nvidia-390xx-kmod.spec
+++ b/nvidia-390xx-kmod.spec
@@ -10,7 +10,7 @@ Name: nvidia-390xx-kmod
Epoch: 3
Version: 390.87
# Taken over by kmodtool
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: NVIDIA 390xx display driver kernel module
Group: System Environment/Kernel
License: Redistributable, no modification permitted
@@ -19,6 +19,7 @@ URL: http://www.nvidia.com/
Source11: nvidia-390xx-kmodtool-excludekernel-filterfile
Patch0: nv-linux-arm.patch
Patch1: nv-linux-arm2.patch
+Patch2: 4.19_kernel.patch
# needed for plague to make sure it builds for i586 and i686
ExclusiveArch: i686 x86_64 armv7hl
@@ -44,6 +45,7 @@ tar --use-compress-program xz -xf %{_datadir}/%{name}-%{version}/%{name}-%{versi
# patch loop
%patch0 -p1
%patch1 -p1
+%patch2 -p1
for kernel_version in %{?kernel_versions} ; do
cp -a kernel _kmod_build_${kernel_version%%___*}
@@ -71,6 +73,9 @@ done
%changelog
+* Wed Oct 10 2018 Leigh Scott <leigh123linux(a)googlemail.com> - 3:390.87-2
+- Patch for 4.19 kernel
+
* Sun Sep 23 2018 Richard Shaw <hobbes1069(a)gmail.com> - 3:390.87-1
- Update to 390.87.
6 years, 1 month
[intel-media-driver] Add metainfo.xml
by Nicolas Chauvet
commit 177a094a840ddc72a45f0242cae678dc2cfef938
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Wed Oct 10 18:14:37 2018 +0200
Add metainfo.xml
intel-media-driver.metainfo.xml | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
---
diff --git a/intel-media-driver.metainfo.xml b/intel-media-driver.metainfo.xml
new file mode 100644
index 0000000..f86e364
--- /dev/null
+++ b/intel-media-driver.metainfo.xml
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2018 Nicolas Chauvet <kwizart(a)gmail.com> -->
+<component type="driver">
+ <id>intel-media-driver</id>
+ <name>The Intel Media Driver for VAAPI</name>
+ <summary>Accelerated Linux Graphics Driver</summary>
+ <description>
+ <p>
+ The Intel Media Driver for VAAPI is a new VA-API (Video Acceleration API)
+user mode driver supporting hardware accelerated decoding, encoding,
+and video post processing for GEN based graphics hardware.
+ </p>
+ </description>
+ <translation/>
+ <url type="homepage">https://github.com/intel/intel-media-driver</url>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>LicenseRef:MIT</project_license>
+ <developer_name>Intel Corporation</developer_name>
+ <keywords>
+ <keyword>Intel</keyword>
+ <keyword>driver</keyword>
+ <keyword>VA-API</keyword>
+ <keyword>vaapi</keyword>
+ <keyword>HW</keyword>
+ <keyword>Media</keyword>
+ <keyword>Video</keyword>
+ <keyword>Decode</keyword>
+ <keyword>Encode</keyword>
+ <keyword>hevc</keyword>
+ <keyword>h264</keyword>
+ <keyword>vp8</keyword>
+ <keyword>vp9</keyword>
+ </keywords>
+ <url type="bugtracker">https://bugzilla.rpmfusion.org</url>
+ <update_contact>intel-media-driver-owner(a)rpmfusion.org</update_contact>
+</component>
6 years, 1 month
[intel-media-driver] Initial import
by Nicolas Chauvet
commit 247a86eef9196ee9ab09ce8e924c9f038b3de541
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Wed Oct 10 18:00:57 2018 +0200
Initial import
.gitignore | 1 +
intel-media-driver.spec | 100 ++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 102 insertions(+)
---
diff --git a/.gitignore b/.gitignore
index e69de29..92a2f27 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+intel-media-*.tar.gz
diff --git a/intel-media-driver.spec b/intel-media-driver.spec
new file mode 100644
index 0000000..889bcfb
--- /dev/null
+++ b/intel-media-driver.spec
@@ -0,0 +1,100 @@
+Name: intel-media-driver
+Version: 18.3.0
+Release: 2%{?dist}
+Summary: The Intel Media Driver for VAAPI
+License: MIT and BSD
+URL: https://github.com/intel/media-driver
+Source0: %{url}/archive/intel-media-%{version}.tar.gz
+Source1: intel-media-driver.metainfo.xml
+#Source9: parse-intel-media-driver.py
+
+# This is an Intel only vaapi backend
+ExclusiveArch: i686 x86_64
+
+BuildRequires: cmake >= 3.5
+BuildRequires: gcc
+BuildRequires: gcc-c++
+
+# AppStream metadata generation
+BuildRequires: libappstream-glib >= 0.6.3
+
+BuildRequires: pkgconfig(igdgmm)
+BuildRequires: pkgconfig(libva) >= 1.3.0
+BuildRequires: pkgconfig(pciaccess)
+BuildRequires: pkgconfig(x11)
+
+# There is a modified version of libdrm
+Provides: bundled(libdrm)
+
+
+%description
+The Intel Media Driver for VAAPI is a new VA-API (Video Acceleration API)
+user mode driver supporting hardware accelerated decoding, encoding,
+and video post processing for GEN based graphics hardware.
+
+
+%prep
+%autosetup -p1 -n media-driver-intel-media-%{version}
+# Fix license perm
+chmod -x LICENSE.md README.md CMakeLists.txt
+
+# Remove pre-built (but unused) files
+rm -f Tools/MediaDriverTools/UMDPerfProfiler/MediaPerfParser
+
+
+%build
+mkdir build
+pushd build
+%cmake \
+ -DMEDIA_RUN_TEST_SUITE:BOOL=False \
+ -DRUN_TEST_SUITE:BOOL=False \
+ ..
+
+%make_build V=1
+
+popd
+
+
+%install
+pushd build
+%make_install
+
+popd
+
+# Fix perm on library to be stripped
+chmod +x %{buildroot}%{_libdir}/dri/iHD_drv_video.so
+chmod +x %{buildroot}%{_libdir}/igfxcmrt64.so
+
+# install AppData and add modalias provides
+mkdir -p %{buildroot}%{_metainfodir}
+install -pm 0644 %{SOURCE1} %{buildroot}%{_metainfodir}
+
+# TODO - have pci based hw detection
+%if 0
+fn=%{buildroot}%{_metainfodir}/intel-media-driver.metainfo.xml
+%{SOURCE9} src/i965_pciids.h | xargs appstream-util add-provide ${fn} modalias
+%endif
+
+# Don't hardcode LIBVA_LIBRARY_PATH
+sed -i -e '/LIBVA_DRIVERS_PATH/ d' %{buildroot}%{_sysconfdir}/profile.d/intel-media.sh
+touch -r LICENSE.md %{buildroot}%{_sysconfdir}/profile.d/intel-media.sh
+
+
+%files
+%doc README.md
+%license LICENSE.md
+%config(noreplace) %{_sysconfdir}/profile.d/intel-media.sh
+%{_libdir}/dri/iHD_drv_video.so
+%{_libdir}/igfxcmrt64.so
+%{_metainfodir}/intel-media-driver.metainfo.xml
+
+
+%changelog
+* Wed Oct 10 2018 Nicolas Chauvet <kwizart(a)gmail.com> - 18.3.0-2
+- Use metainfodir
+- Enable AppStream support (no hardware detection yet)
+- Add missing BR
+- Remove pre-built tools
+
+* Mon Oct 08 2018 Nicolas Chauvet <kwizart(a)gmail.com> - 18.3.0-1
+- Initial spec file
diff --git a/sources b/sources
index e69de29..b192fae 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+173755d3b05e3d828345b680f1c1f304 intel-media-18.3.0.tar.gz
6 years, 1 month
[dynamips/el7] Initial import
by Nicolas Chauvet
Summary of changes:
fcce276... Initial import (*)
(*) This commit already existed in another branch; no separate mail sent
6 years, 1 month