rpms/gstreamer-plugins-bad/F-12 .cvsignore, 1.11, 1.12 gstreamer-plugins-bad.spec, 1.34, 1.35 sources, 1.11, 1.12
by jwrdegoede
Author: jwrdegoede
Update of /cvs/free/rpms/gstreamer-plugins-bad/F-12
In directory se02.es.rpmfusion.net:/tmp/cvs-serv12019
Modified Files:
.cvsignore gstreamer-plugins-bad.spec sources
Log Message:
* Sun Jun 13 2010 Hans de Goede <j.w.r.degoede(a)hhs.nl> 0.10.19-1
- New upstream release 0.10.19
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/gstreamer-plugins-bad/F-12/.cvsignore,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- .cvsignore 14 Mar 2010 14:42:11 -0000 1.11
+++ .cvsignore 14 Jun 2010 11:28:08 -0000 1.12
@@ -1 +1 @@
-gst-plugins-bad-0.10.18.tar.bz2
+gst-plugins-bad-0.10.19.tar.bz2
Index: gstreamer-plugins-bad.spec
===================================================================
RCS file: /cvs/free/rpms/gstreamer-plugins-bad/F-12/gstreamer-plugins-bad.spec,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- gstreamer-plugins-bad.spec 14 Mar 2010 14:42:11 -0000 1.34
+++ gstreamer-plugins-bad.spec 14 Jun 2010 11:28:08 -0000 1.35
@@ -14,7 +14,7 @@
Summary: GStreamer streaming media framework "bad" plug-ins
Name: gstreamer-plugins-bad
-Version: 0.10.18
+Version: 0.10.19
Release: 1%{?dist}
License: LGPLv2+
Group: Applications/Multimedia
@@ -112,6 +112,9 @@
%changelog
+* Sun Jun 13 2010 Hans de Goede <j.w.r.degoede(a)hhs.nl> 0.10.19-1
+- New upstream release 0.10.19
+
* Sun Mar 14 2010 Hans de Goede <j.w.r.degoede(a)hhs.nl> 0.10.18-1
- New upstream release 0.10.18
Index: sources
===================================================================
RCS file: /cvs/free/rpms/gstreamer-plugins-bad/F-12/sources,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- sources 14 Mar 2010 14:42:11 -0000 1.11
+++ sources 14 Jun 2010 11:28:08 -0000 1.12
@@ -1 +1 @@
-84838893b447e774d401a698ff812b32 gst-plugins-bad-0.10.18.tar.bz2
+368f72e2a1c7a6e8fe60394e4315259b gst-plugins-bad-0.10.19.tar.bz2
14 years, 5 months
rpms/gstreamer-plugins-bad/F-13 .cvsignore, 1.11, 1.12 gstreamer-plugins-bad.spec, 1.35, 1.36 sources, 1.11, 1.12
by jwrdegoede
Author: jwrdegoede
Update of /cvs/free/rpms/gstreamer-plugins-bad/F-13
In directory se02.es.rpmfusion.net:/tmp/cvs-serv11609
Modified Files:
.cvsignore gstreamer-plugins-bad.spec sources
Log Message:
* Sun Jun 13 2010 Hans de Goede <j.w.r.degoede(a)hhs.nl> 0.10.19-1
- New upstream release 0.10.19
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/gstreamer-plugins-bad/F-13/.cvsignore,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- .cvsignore 14 Mar 2010 14:37:09 -0000 1.11
+++ .cvsignore 14 Jun 2010 11:26:40 -0000 1.12
@@ -1 +1 @@
-gst-plugins-bad-0.10.18.tar.bz2
+gst-plugins-bad-0.10.19.tar.bz2
Index: gstreamer-plugins-bad.spec
===================================================================
RCS file: /cvs/free/rpms/gstreamer-plugins-bad/F-13/gstreamer-plugins-bad.spec,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- gstreamer-plugins-bad.spec 14 Mar 2010 14:43:16 -0000 1.35
+++ gstreamer-plugins-bad.spec 14 Jun 2010 11:26:40 -0000 1.36
@@ -14,7 +14,7 @@
Summary: GStreamer streaming media framework "bad" plug-ins
Name: gstreamer-plugins-bad
-Version: 0.10.18
+Version: 0.10.19
Release: 1%{?dist}
License: LGPLv2+
Group: Applications/Multimedia
@@ -112,6 +112,9 @@
%changelog
+* Sun Jun 13 2010 Hans de Goede <j.w.r.degoede(a)hhs.nl> 0.10.19-1
+- New upstream release 0.10.19
+
* Sun Mar 14 2010 Hans de Goede <j.w.r.degoede(a)hhs.nl> 0.10.18-1
- New upstream release 0.10.18
Index: sources
===================================================================
RCS file: /cvs/free/rpms/gstreamer-plugins-bad/F-13/sources,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- sources 14 Mar 2010 14:37:09 -0000 1.11
+++ sources 14 Jun 2010 11:26:40 -0000 1.12
@@ -1 +1 @@
-84838893b447e774d401a698ff812b32 gst-plugins-bad-0.10.18.tar.bz2
+368f72e2a1c7a6e8fe60394e4315259b gst-plugins-bad-0.10.19.tar.bz2
14 years, 5 months
rpms/gstreamer-plugins-ugly/F-12 .cvsignore, 1.9, 1.10 gstreamer-plugins-ugly.spec, 1.22, 1.23 sources, 1.9, 1.10
by jwrdegoede
Author: jwrdegoede
Update of /cvs/free/rpms/gstreamer-plugins-ugly/F-12
In directory se02.es.rpmfusion.net:/tmp/cvs-serv11485
Modified Files:
.cvsignore gstreamer-plugins-ugly.spec sources
Log Message:
* Sun Jun 13 2010 Hans de Goede <j.w.r.degoede(a)hhs.nl> 0.10.15-1
- New upstream release 0.10.15
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/gstreamer-plugins-ugly/F-12/.cvsignore,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- .cvsignore 14 Mar 2010 14:41:55 -0000 1.9
+++ .cvsignore 14 Jun 2010 11:25:01 -0000 1.10
@@ -1 +1 @@
-gst-plugins-ugly-0.10.14.tar.bz2
+gst-plugins-ugly-0.10.15.tar.bz2
Index: gstreamer-plugins-ugly.spec
===================================================================
RCS file: /cvs/free/rpms/gstreamer-plugins-ugly/F-12/gstreamer-plugins-ugly.spec,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- gstreamer-plugins-ugly.spec 14 Mar 2010 14:41:55 -0000 1.22
+++ gstreamer-plugins-ugly.spec 14 Jun 2010 11:25:01 -0000 1.23
@@ -10,7 +10,7 @@
Summary: GStreamer streaming media framework "ugly" plug-ins
Name: gstreamer-plugins-ugly
-Version: 0.10.14
+Version: 0.10.15
Release: 1%{?dist}
License: LGPLv2+
Group: Applications/Multimedia
@@ -22,6 +22,7 @@
BuildRequires: %{gstreamer}-plugins-base-devel >= %{gstpb_minver}
BuildRequires: gettext-devel
+BuildRequireS: gtk-doc
BuildRequires: libsidplay-devel >= 1.36.0
BuildRequires: a52dec-devel >= 0.7.3
@@ -55,6 +56,22 @@
- there are possible licensing issues with the code.
+%package devel-docs
+Summary: Development documentation for the GStreamer "ugly" plug-ins
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel-docs
+GStreamer is a streaming media framework, based on graphs of elements which
+operate on media data.
+
+This package contains the development documentation for the plug-ins that can't
+be shipped in gstreamer-plugins-good because:
+- the license is not LGPL
+- the license of the library is not LGPL
+- there are possible licensing issues with the code.
+
+
%prep
%setup -q -n gst-plugins-ugly-%{version}
@@ -63,7 +80,7 @@
%configure \
--with-package-name="gst-plugins-ugly rpmfusion rpm" \
--with-package-origin="http://rpmfusion.org/" \
- --enable-debug \
+ --enable-debug --enable-gtk-doc \
--disable-static
%{__make} %{?_smp_mflags}
@@ -107,8 +124,19 @@
%{_libdir}/gstreamer-%{majorminor}/libgsttwolame.so
%{_libdir}/gstreamer-%{majorminor}/libgstx264.so
+%files devel-docs
+%defattr(-,root,root,-)
+%doc %{_datadir}/gtk-doc/html/gst-plugins-ugly-plugins-0.10
+
%changelog
+* Sun Jun 13 2010 Hans de Goede <j.w.r.degoede(a)hhs.nl> 0.10.15-1
+- New upstream release 0.10.15
+
+* Sat May 29 2010 Hans de Goede <j.w.r.degoede(a)hhs.nl> 0.10.14-2
+- Rebuild for new libx264 (rfbz#1235)
+- Build and package gtk-doc (rbfz#1213)
+
* Sun Mar 14 2010 Hans de Goede <j.w.r.degoede(a)hhs.nl> 0.10.14-1
- New upstream release 0.10.14
Index: sources
===================================================================
RCS file: /cvs/free/rpms/gstreamer-plugins-ugly/F-12/sources,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- sources 14 Mar 2010 14:41:55 -0000 1.9
+++ sources 14 Jun 2010 11:25:01 -0000 1.10
@@ -1 +1 @@
-0bc0d27bcce88c73ef6c81e88624e686 gst-plugins-ugly-0.10.14.tar.bz2
+21c034a762a5da252f91640e53bfe457 gst-plugins-ugly-0.10.15.tar.bz2
14 years, 5 months
rpms/gstreamer-plugins-ugly/F-13 .cvsignore, 1.9, 1.10 gstreamer-plugins-ugly.spec, 1.23, 1.24 sources, 1.9, 1.10
by jwrdegoede
Author: jwrdegoede
Update of /cvs/free/rpms/gstreamer-plugins-ugly/F-13
In directory se02.es.rpmfusion.net:/tmp/cvs-serv11333
Modified Files:
.cvsignore gstreamer-plugins-ugly.spec sources
Log Message:
* Sun Jun 13 2010 Hans de Goede <j.w.r.degoede(a)hhs.nl> 0.10.15-1
- New upstream release 0.10.15
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/gstreamer-plugins-ugly/F-13/.cvsignore,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- .cvsignore 14 Mar 2010 14:37:25 -0000 1.9
+++ .cvsignore 14 Jun 2010 11:23:26 -0000 1.10
@@ -1 +1 @@
-gst-plugins-ugly-0.10.14.tar.bz2
+gst-plugins-ugly-0.10.15.tar.bz2
Index: gstreamer-plugins-ugly.spec
===================================================================
RCS file: /cvs/free/rpms/gstreamer-plugins-ugly/F-13/gstreamer-plugins-ugly.spec,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- gstreamer-plugins-ugly.spec 14 Mar 2010 14:37:25 -0000 1.23
+++ gstreamer-plugins-ugly.spec 14 Jun 2010 11:23:26 -0000 1.24
@@ -10,7 +10,7 @@
Summary: GStreamer streaming media framework "ugly" plug-ins
Name: gstreamer-plugins-ugly
-Version: 0.10.14
+Version: 0.10.15
Release: 1%{?dist}
License: LGPLv2+
Group: Applications/Multimedia
@@ -22,6 +22,7 @@
BuildRequires: %{gstreamer}-plugins-base-devel >= %{gstpb_minver}
BuildRequires: gettext-devel
+BuildRequireS: gtk-doc
BuildRequires: libsidplay-devel >= 1.36.0
BuildRequires: a52dec-devel >= 0.7.3
@@ -55,6 +56,22 @@
- there are possible licensing issues with the code.
+%package devel-docs
+Summary: Development documentation for the GStreamer "ugly" plug-ins
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel-docs
+GStreamer is a streaming media framework, based on graphs of elements which
+operate on media data.
+
+This package contains the development documentation for the plug-ins that can't
+be shipped in gstreamer-plugins-good because:
+- the license is not LGPL
+- the license of the library is not LGPL
+- there are possible licensing issues with the code.
+
+
%prep
%setup -q -n gst-plugins-ugly-%{version}
@@ -63,7 +80,7 @@
%configure \
--with-package-name="gst-plugins-ugly rpmfusion rpm" \
--with-package-origin="http://rpmfusion.org/" \
- --enable-debug \
+ --enable-debug --enable-gtk-doc \
--disable-static
%{__make} %{?_smp_mflags}
@@ -107,8 +124,19 @@
%{_libdir}/gstreamer-%{majorminor}/libgsttwolame.so
%{_libdir}/gstreamer-%{majorminor}/libgstx264.so
+%files devel-docs
+%defattr(-,root,root,-)
+%doc %{_datadir}/gtk-doc/html/gst-plugins-ugly-plugins-0.10
+
%changelog
+* Sun Jun 13 2010 Hans de Goede <j.w.r.degoede(a)hhs.nl> 0.10.15-1
+- New upstream release 0.10.15
+
+* Sat May 29 2010 Hans de Goede <j.w.r.degoede(a)hhs.nl> 0.10.14-2
+- Rebuild for new libx264 (rfbz#1235)
+- Build and package gtk-doc (rbfz#1213)
+
* Sun Mar 14 2010 Hans de Goede <j.w.r.degoede(a)hhs.nl> 0.10.14-1
- New upstream release 0.10.14
Index: sources
===================================================================
RCS file: /cvs/free/rpms/gstreamer-plugins-ugly/F-13/sources,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- sources 14 Mar 2010 14:37:25 -0000 1.9
+++ sources 14 Jun 2010 11:23:26 -0000 1.10
@@ -1 +1 @@
-0bc0d27bcce88c73ef6c81e88624e686 gst-plugins-ugly-0.10.14.tar.bz2
+21c034a762a5da252f91640e53bfe457 gst-plugins-ugly-0.10.15.tar.bz2
14 years, 5 months
rpms/gstreamer-plugins-bad/devel .cvsignore, 1.11, 1.12 gstreamer-plugins-bad.spec, 1.35, 1.36 sources, 1.11, 1.12
by jwrdegoede
Author: jwrdegoede
Update of /cvs/free/rpms/gstreamer-plugins-bad/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv10924
Modified Files:
.cvsignore gstreamer-plugins-bad.spec sources
Log Message:
* Sun Jun 13 2010 Hans de Goede <j.w.r.degoede(a)hhs.nl> 0.10.19-1
- New upstream release 0.10.19
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/gstreamer-plugins-bad/devel/.cvsignore,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- .cvsignore 14 Mar 2010 14:37:09 -0000 1.11
+++ .cvsignore 14 Jun 2010 11:22:12 -0000 1.12
@@ -1 +1 @@
-gst-plugins-bad-0.10.18.tar.bz2
+gst-plugins-bad-0.10.19.tar.bz2
Index: gstreamer-plugins-bad.spec
===================================================================
RCS file: /cvs/free/rpms/gstreamer-plugins-bad/devel/gstreamer-plugins-bad.spec,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- gstreamer-plugins-bad.spec 14 Mar 2010 14:43:16 -0000 1.35
+++ gstreamer-plugins-bad.spec 14 Jun 2010 11:22:12 -0000 1.36
@@ -14,7 +14,7 @@
Summary: GStreamer streaming media framework "bad" plug-ins
Name: gstreamer-plugins-bad
-Version: 0.10.18
+Version: 0.10.19
Release: 1%{?dist}
License: LGPLv2+
Group: Applications/Multimedia
@@ -112,6 +112,9 @@
%changelog
+* Sun Jun 13 2010 Hans de Goede <j.w.r.degoede(a)hhs.nl> 0.10.19-1
+- New upstream release 0.10.19
+
* Sun Mar 14 2010 Hans de Goede <j.w.r.degoede(a)hhs.nl> 0.10.18-1
- New upstream release 0.10.18
Index: sources
===================================================================
RCS file: /cvs/free/rpms/gstreamer-plugins-bad/devel/sources,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- sources 14 Mar 2010 14:37:09 -0000 1.11
+++ sources 14 Jun 2010 11:22:12 -0000 1.12
@@ -1 +1 @@
-84838893b447e774d401a698ff812b32 gst-plugins-bad-0.10.18.tar.bz2
+368f72e2a1c7a6e8fe60394e4315259b gst-plugins-bad-0.10.19.tar.bz2
14 years, 5 months
rpms/gstreamer-plugins-ugly/devel .cvsignore, 1.9, 1.10 gstreamer-plugins-ugly.spec, 1.24, 1.25 sources, 1.9, 1.10
by jwrdegoede
Author: jwrdegoede
Update of /cvs/free/rpms/gstreamer-plugins-ugly/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv10760
Modified Files:
.cvsignore gstreamer-plugins-ugly.spec sources
Log Message:
* Sun Jun 13 2010 Hans de Goede <j.w.r.degoede(a)hhs.nl> 0.10.15-1
- New upstream release 0.10.15
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/gstreamer-plugins-ugly/devel/.cvsignore,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- .cvsignore 14 Mar 2010 14:37:25 -0000 1.9
+++ .cvsignore 14 Jun 2010 11:20:44 -0000 1.10
@@ -1 +1 @@
-gst-plugins-ugly-0.10.14.tar.bz2
+gst-plugins-ugly-0.10.15.tar.bz2
Index: gstreamer-plugins-ugly.spec
===================================================================
RCS file: /cvs/free/rpms/gstreamer-plugins-ugly/devel/gstreamer-plugins-ugly.spec,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- gstreamer-plugins-ugly.spec 29 May 2010 07:38:20 -0000 1.24
+++ gstreamer-plugins-ugly.spec 14 Jun 2010 11:20:45 -0000 1.25
@@ -10,8 +10,8 @@
Summary: GStreamer streaming media framework "ugly" plug-ins
Name: gstreamer-plugins-ugly
-Version: 0.10.14
-Release: 2%{?dist}
+Version: 0.10.15
+Release: 1%{?dist}
License: LGPLv2+
Group: Applications/Multimedia
URL: http://gstreamer.freedesktop.org/
@@ -130,6 +130,9 @@
%changelog
+* Sun Jun 13 2010 Hans de Goede <j.w.r.degoede(a)hhs.nl> 0.10.15-1
+- New upstream release 0.10.15
+
* Sat May 29 2010 Hans de Goede <j.w.r.degoede(a)hhs.nl> 0.10.14-2
- Rebuild for new libx264 (rfbz#1235)
- Build and package gtk-doc (rbfz#1213)
Index: sources
===================================================================
RCS file: /cvs/free/rpms/gstreamer-plugins-ugly/devel/sources,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- sources 14 Mar 2010 14:37:25 -0000 1.9
+++ sources 14 Jun 2010 11:20:45 -0000 1.10
@@ -1 +1 @@
-0bc0d27bcce88c73ef6c81e88624e686 gst-plugins-ugly-0.10.14.tar.bz2
+21c034a762a5da252f91640e53bfe457 gst-plugins-ugly-0.10.15.tar.bz2
14 years, 5 months
rpms/nvidia-kmod/F-13 NVIDIA_kernel-195.36.24-6120611.diff.txt, NONE, 1.1 nvidia-kmod.spec, 1.68, 1.69
by Nicolas Chauvet
Author: kwizart
Update of /cvs/nonfree/rpms/nvidia-kmod/F-13
In directory se02.es.rpmfusion.net:/tmp/cvs-serv31020
Modified Files:
nvidia-kmod.spec
Added Files:
NVIDIA_kernel-195.36.24-6120611.diff.txt
Log Message:
- Backport - http://www.nvnews.net/vbulletin/showthread.php?t=151791
--- NEW FILE NVIDIA_kernel-195.36.24-6120611.diff.txt ---
diff -ru usr/src/nv/Makefile.kbuild usr/src/nv.6120611/Makefile.kbuild
--- usr/src/nv/Makefile.kbuild 2010-04-22 20:40:43.000000000 -0700
+++ usr/src/nv.6120611/Makefile.kbuild 2010-06-08 07:51:02.147829142 -0700
@@ -165,7 +165,8 @@
proc_dir_entry \
INIT_WORK \
acpi_walk_namespace \
- agp_memory
+ agp_memory \
+ scatterlist
#
# Miscellaneous NVIDIA kernel module build support targets. They are needed
diff -ru usr/src/nv/Makefile.nvidia usr/src/nv.6120611/Makefile.nvidia
--- usr/src/nv/Makefile.nvidia 2010-04-22 20:40:43.000000000 -0700
+++ usr/src/nv.6120611/Makefile.nvidia 2010-06-08 07:51:58.040355195 -0700
@@ -56,7 +56,8 @@
i2c_adapter \
smp_call_function \
acpi_evaluate_integer \
- proc_dir_entry
+ proc_dir_entry \
+ scatterlist
DEFINES+=$(EXTRA_DEFINES)
diff -ru usr/src/nv/conftest.sh usr/src/nv.6120611/conftest.sh
--- usr/src/nv/conftest.sh 2010-04-22 20:40:43.000000000 -0700
+++ usr/src/nv.6120611/conftest.sh 2010-06-08 07:50:23.346851935 -0700
@@ -1079,6 +1079,31 @@
fi
;;
+ scatterlist)
+ #
+ # Determine if the 'scatterlist' structure has
+ # a 'page_link' member.
+ #
+ echo "$CONFTEST_PREAMBLE
+ #include <linux/types.h>
+ #include <linux/scatterlist.h>
+ int conftest_scatterlist(void) {
+ return offsetof(struct scatterlist, page_link);
+ }" > conftest$$.c
+
+ $CC $CFLAGS -c conftest$$.c > /dev/null 2>&1
+ rm -f conftest$$.c
+
+ if [ -f conftest$$.o ]; then
+ echo "#undef NV_SCATTERLIST_HAS_PAGE" >> conftest.h
+ rm -f conftest$$.o
+ return
+ else
+ echo "#define NV_SCATTERLIST_HAS_PAGE" >> conftest.h
+ return
+ fi
+ ;;
+
esac
}
diff -ru usr/src/nv/nv-linux.h usr/src/nv.6120611/nv-linux.h
--- usr/src/nv/nv-linux.h 2010-04-22 20:40:40.000000000 -0700
+++ usr/src/nv.6120611/nv-linux.h 2010-06-08 07:50:23.346851935 -0700
@@ -334,14 +334,28 @@
#define NV_MAX_RECURRING_WARNING_MESSAGES 10
/* add support for iommu.
- * on x86_64 platforms, this uses the gart to remap pages that are > 32-bits
- * to < 32-bits.
+ * On the x86-64 platform, the driver may need to remap system
+ * memory pages via AMD K8/Intel VT-d IOMMUs if a given
+ * GPUs addressing capabilities are limited such that it can
+ * not access the original page directly. Examples of this
+ * are legacy PCI-E devices.
*/
-#if defined(NVCPU_X86_64) && !defined(GFP_DMA32)
+#if (defined(NVCPU_X86_64) && !defined(GFP_DMA32)) || defined(CONFIG_DMAR)
#define NV_SG_MAP_BUFFERS 1
extern int nv_swiotlb;
+
+#if defined(CONFIG_DMAR)
+#define NV_INTEL_IOMMU 1
+#else
+/*
+ * Limit use of IOMMU/SWIOTLB space to 60 MB, leaving 4 MB for the rest of
+ * the system (assuming a 64 MB IOMMU/SWIOTLB).
+ * This is not required if Intel VT-d IOMMU is used to remap pages.
+ */
+#define NV_NEED_REMAP_CHECK 1
#define NV_REMAP_LIMIT_DEFAULT (60 * 1024 * 1024)
#endif
+#endif
/* add support for software i/o tlb support.
* normally, you'd expect this to be transparent, but unfortunately this is not
diff -ru usr/src/nv/nv-vm.c usr/src/nv.6120611/nv-vm.c
--- usr/src/nv/nv-vm.c 2010-04-22 20:40:39.000000000 -0700
+++ usr/src/nv.6120611/nv-vm.c 2010-06-08 07:50:23.346851935 -0700
@@ -102,8 +102,10 @@
/* track how much memory has been remapped through the iommu/swiotlb */
+#if defined(NV_NEED_REMAP_CHECK)
extern unsigned int nv_remap_count;
extern unsigned int nv_remap_limit;
+#endif
static inline int nv_map_sg(struct pci_dev *dev, struct scatterlist *sg)
{
@@ -136,31 +138,27 @@
unsigned int num_pages
)
{
- int force_remap = FALSE;
struct scatterlist *sg_ptr = &page_list[0]->sg_list;
unsigned int i;
static int count = 0;
+#if defined(NV_SCATTERLIST_HAS_PAGE)
sg_ptr->page = virt_to_page(base);
+#else
+ sg_ptr->page_link = virt_to_page(base);
+#endif
sg_ptr->offset = (unsigned long)base & ~PAGE_MASK;
sg_ptr->length = num_pages * PAGE_SIZE;
-#if defined(DEBUG) && !defined(KERNEL_2_4)
- /*
- * XXX If the user specifically requested that the IOMMU
- * be used, then override the address range check below
- * and unconditionally call nv_map_sg() to remap the page(s).
- */
- force_remap = force_iommu;
-#endif
-
- if (!force_remap &&
- ((virt_to_phys(base) + sg_ptr->length - 1) & ~dev->dma_mask) == 0)
+#if !defined(NV_INTEL_IOMMU)
+ if (((virt_to_phys(base) + sg_ptr->length - 1) & ~dev->dma_mask) == 0)
{
sg_ptr->dma_address = virt_to_phys(base);
goto done;
}
+#endif
+#if defined(NV_NEED_REMAP_CHECK)
if ((nv_remap_count + sg_ptr->length) > nv_remap_limit)
{
if (count < NV_MAX_RECURRING_WARNING_MESSAGES)
@@ -178,6 +176,7 @@
}
return 1;
}
+#endif
i = NV_MAP_SG_MAX_RETRIES;
do {
@@ -190,7 +189,11 @@
nv_unmap_sg(dev, sg_ptr);
memset(&sg_tmp, 0, sizeof(struct scatterlist));
+#if defined(NV_SCATTERLIST_HAS_PAGE)
sg_tmp.page = sg_ptr->page;
+#else
+ sg_tmp.page_link = sg_ptr->page_link;
+#endif
sg_tmp.offset = sg_ptr->offset;
sg_tmp.length = 2048;
@@ -215,8 +218,10 @@
return -1;
}
+#if defined(NV_NEED_REMAP_CHECK)
if (sg_ptr->dma_address != virt_to_phys(base))
nv_remap_count += sg_ptr->length;
+#endif
// this is a bit of a hack to make contiguous allocations easier to handle
// nv_sg_load below relies on the page_ptr addresses being filed in, as
@@ -283,7 +288,9 @@
{
nv_unmap_sg(dev, sg_ptr);
page_ptr->dma_addr = 0;
+#if defined(NV_NEED_REMAP_CHECK)
nv_remap_count -= sg_ptr->length;
+#endif
}
}
#endif /* NV_SG_MAP_BUFFERS */
diff -ru usr/src/nv/nv.c usr/src/nv.6120611/nv.c
--- usr/src/nv/nv.c 2010-04-22 20:40:38.000000000 -0700
+++ usr/src/nv.6120611/nv.c 2010-06-08 07:50:23.350892195 -0700
@@ -129,9 +129,11 @@
#if defined(NV_SG_MAP_BUFFERS)
int nv_swiotlb = 0;
+#if defined(NV_NEED_REMAP_CHECK)
unsigned int nv_remap_count;
unsigned int nv_remap_limit;
#endif
+#endif
int nv_update_memory_types = 1;
static int nv_mmconfig_failure_detected = 0;
@@ -1534,7 +1536,7 @@
goto failed;
}
-#if defined(NV_SG_MAP_BUFFERS)
+#if defined(NV_SG_MAP_BUFFERS) && defined(NV_NEED_REMAP_CHECK)
rm_read_registry_dword(sp, nv, "NVreg", "RemapLimit", &nv_remap_limit);
// allow an override, but use default if no override
@@ -1854,7 +1856,7 @@
"NVRM: final KM memory usage: 0x%x bytes\n", km_usage);
}
#endif
-#if defined(NV_SG_MAP_BUFFERS)
+#if defined(NV_SG_MAP_BUFFERS) && defined(NV_NEED_REMAP_CHECK)
if (nv_remap_count != 0)
{
nv_printf(NV_DBG_ERRORS,
Index: nvidia-kmod.spec
===================================================================
RCS file: /cvs/nonfree/rpms/nvidia-kmod/F-13/nvidia-kmod.spec,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -r1.68 -r1.69
--- nvidia-kmod.spec 28 May 2010 14:29:49 -0000 1.68
+++ nvidia-kmod.spec 13 Jun 2010 21:58:47 -0000 1.69
@@ -3,13 +3,13 @@
# "buildforkernels newest" macro for just that build; immediately after
# queuing that build enable the macro again for subsequent builds; that way
# a new akmod package will only get build when a new one is actually needed
-%define buildforkernels newest
+#define buildforkernels newest
Name: nvidia-kmod
Epoch: 1
Version: 195.36.24
# Taken over by kmodtool
-Release: 1%{?dist}.7
+Release: 2%{?dist}
Summary: NVIDIA display driver kernel module
Group: System Environment/Kernel
License: Redistributable, no modification permitted
@@ -25,6 +25,7 @@
Source11: nvidia-kmodtool-excludekernel-filterfile
+Patch0: NVIDIA_kernel-195.36.24-6120611.diff.txt
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# needed for plague to make sure it builds for i586 and i686
@@ -50,7 +51,9 @@
for arch in x86 x64
do
pushd nvidiapkg-${arch}
-#disabled
+ pushd usr/src/nv
+%patch0 -p3
+ popd
popd
done
@@ -94,6 +97,9 @@
%changelog
+* Sun Jun 13 2010 Nicolas Chauvet <kwizart(a)gmail.com> - 1:195.36.24-2.7
+- Backport - http://www.nvnews.net/vbulletin/showthread.php?t=151791
+
* Fri May 28 2010 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 1:195.36.24-1.7
- rebuild for new kernel
14 years, 5 months
rpms/nvidia-kmod/devel NVIDIA_kernel-195.36.24-6120611.diff.txt, NONE, 1.1 nvidia-kmod.spec, 1.61, 1.62
by Nicolas Chauvet
Author: kwizart
Update of /cvs/nonfree/rpms/nvidia-kmod/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv30167
Modified Files:
nvidia-kmod.spec
Added Files:
NVIDIA_kernel-195.36.24-6120611.diff.txt
Log Message:
Fix http://www.nvnews.net/vbulletin/showthread.php?t=151791
--- NEW FILE NVIDIA_kernel-195.36.24-6120611.diff.txt ---
diff -ru usr/src/nv/Makefile.kbuild usr/src/nv.6120611/Makefile.kbuild
--- usr/src/nv/Makefile.kbuild 2010-04-22 20:40:43.000000000 -0700
+++ usr/src/nv.6120611/Makefile.kbuild 2010-06-08 07:51:02.147829142 -0700
@@ -165,7 +165,8 @@
proc_dir_entry \
INIT_WORK \
acpi_walk_namespace \
- agp_memory
+ agp_memory \
+ scatterlist
#
# Miscellaneous NVIDIA kernel module build support targets. They are needed
diff -ru usr/src/nv/Makefile.nvidia usr/src/nv.6120611/Makefile.nvidia
--- usr/src/nv/Makefile.nvidia 2010-04-22 20:40:43.000000000 -0700
+++ usr/src/nv.6120611/Makefile.nvidia 2010-06-08 07:51:58.040355195 -0700
@@ -56,7 +56,8 @@
i2c_adapter \
smp_call_function \
acpi_evaluate_integer \
- proc_dir_entry
+ proc_dir_entry \
+ scatterlist
DEFINES+=$(EXTRA_DEFINES)
diff -ru usr/src/nv/conftest.sh usr/src/nv.6120611/conftest.sh
--- usr/src/nv/conftest.sh 2010-04-22 20:40:43.000000000 -0700
+++ usr/src/nv.6120611/conftest.sh 2010-06-08 07:50:23.346851935 -0700
@@ -1079,6 +1079,31 @@
fi
;;
+ scatterlist)
+ #
+ # Determine if the 'scatterlist' structure has
+ # a 'page_link' member.
+ #
+ echo "$CONFTEST_PREAMBLE
+ #include <linux/types.h>
+ #include <linux/scatterlist.h>
+ int conftest_scatterlist(void) {
+ return offsetof(struct scatterlist, page_link);
+ }" > conftest$$.c
+
+ $CC $CFLAGS -c conftest$$.c > /dev/null 2>&1
+ rm -f conftest$$.c
+
+ if [ -f conftest$$.o ]; then
+ echo "#undef NV_SCATTERLIST_HAS_PAGE" >> conftest.h
+ rm -f conftest$$.o
+ return
+ else
+ echo "#define NV_SCATTERLIST_HAS_PAGE" >> conftest.h
+ return
+ fi
+ ;;
+
esac
}
diff -ru usr/src/nv/nv-linux.h usr/src/nv.6120611/nv-linux.h
--- usr/src/nv/nv-linux.h 2010-04-22 20:40:40.000000000 -0700
+++ usr/src/nv.6120611/nv-linux.h 2010-06-08 07:50:23.346851935 -0700
@@ -334,14 +334,28 @@
#define NV_MAX_RECURRING_WARNING_MESSAGES 10
/* add support for iommu.
- * on x86_64 platforms, this uses the gart to remap pages that are > 32-bits
- * to < 32-bits.
+ * On the x86-64 platform, the driver may need to remap system
+ * memory pages via AMD K8/Intel VT-d IOMMUs if a given
+ * GPUs addressing capabilities are limited such that it can
+ * not access the original page directly. Examples of this
+ * are legacy PCI-E devices.
*/
-#if defined(NVCPU_X86_64) && !defined(GFP_DMA32)
+#if (defined(NVCPU_X86_64) && !defined(GFP_DMA32)) || defined(CONFIG_DMAR)
#define NV_SG_MAP_BUFFERS 1
extern int nv_swiotlb;
+
+#if defined(CONFIG_DMAR)
+#define NV_INTEL_IOMMU 1
+#else
+/*
+ * Limit use of IOMMU/SWIOTLB space to 60 MB, leaving 4 MB for the rest of
+ * the system (assuming a 64 MB IOMMU/SWIOTLB).
+ * This is not required if Intel VT-d IOMMU is used to remap pages.
+ */
+#define NV_NEED_REMAP_CHECK 1
#define NV_REMAP_LIMIT_DEFAULT (60 * 1024 * 1024)
#endif
+#endif
/* add support for software i/o tlb support.
* normally, you'd expect this to be transparent, but unfortunately this is not
diff -ru usr/src/nv/nv-vm.c usr/src/nv.6120611/nv-vm.c
--- usr/src/nv/nv-vm.c 2010-04-22 20:40:39.000000000 -0700
+++ usr/src/nv.6120611/nv-vm.c 2010-06-08 07:50:23.346851935 -0700
@@ -102,8 +102,10 @@
/* track how much memory has been remapped through the iommu/swiotlb */
+#if defined(NV_NEED_REMAP_CHECK)
extern unsigned int nv_remap_count;
extern unsigned int nv_remap_limit;
+#endif
static inline int nv_map_sg(struct pci_dev *dev, struct scatterlist *sg)
{
@@ -136,31 +138,27 @@
unsigned int num_pages
)
{
- int force_remap = FALSE;
struct scatterlist *sg_ptr = &page_list[0]->sg_list;
unsigned int i;
static int count = 0;
+#if defined(NV_SCATTERLIST_HAS_PAGE)
sg_ptr->page = virt_to_page(base);
+#else
+ sg_ptr->page_link = virt_to_page(base);
+#endif
sg_ptr->offset = (unsigned long)base & ~PAGE_MASK;
sg_ptr->length = num_pages * PAGE_SIZE;
-#if defined(DEBUG) && !defined(KERNEL_2_4)
- /*
- * XXX If the user specifically requested that the IOMMU
- * be used, then override the address range check below
- * and unconditionally call nv_map_sg() to remap the page(s).
- */
- force_remap = force_iommu;
-#endif
-
- if (!force_remap &&
- ((virt_to_phys(base) + sg_ptr->length - 1) & ~dev->dma_mask) == 0)
+#if !defined(NV_INTEL_IOMMU)
+ if (((virt_to_phys(base) + sg_ptr->length - 1) & ~dev->dma_mask) == 0)
{
sg_ptr->dma_address = virt_to_phys(base);
goto done;
}
+#endif
+#if defined(NV_NEED_REMAP_CHECK)
if ((nv_remap_count + sg_ptr->length) > nv_remap_limit)
{
if (count < NV_MAX_RECURRING_WARNING_MESSAGES)
@@ -178,6 +176,7 @@
}
return 1;
}
+#endif
i = NV_MAP_SG_MAX_RETRIES;
do {
@@ -190,7 +189,11 @@
nv_unmap_sg(dev, sg_ptr);
memset(&sg_tmp, 0, sizeof(struct scatterlist));
+#if defined(NV_SCATTERLIST_HAS_PAGE)
sg_tmp.page = sg_ptr->page;
+#else
+ sg_tmp.page_link = sg_ptr->page_link;
+#endif
sg_tmp.offset = sg_ptr->offset;
sg_tmp.length = 2048;
@@ -215,8 +218,10 @@
return -1;
}
+#if defined(NV_NEED_REMAP_CHECK)
if (sg_ptr->dma_address != virt_to_phys(base))
nv_remap_count += sg_ptr->length;
+#endif
// this is a bit of a hack to make contiguous allocations easier to handle
// nv_sg_load below relies on the page_ptr addresses being filed in, as
@@ -283,7 +288,9 @@
{
nv_unmap_sg(dev, sg_ptr);
page_ptr->dma_addr = 0;
+#if defined(NV_NEED_REMAP_CHECK)
nv_remap_count -= sg_ptr->length;
+#endif
}
}
#endif /* NV_SG_MAP_BUFFERS */
diff -ru usr/src/nv/nv.c usr/src/nv.6120611/nv.c
--- usr/src/nv/nv.c 2010-04-22 20:40:38.000000000 -0700
+++ usr/src/nv.6120611/nv.c 2010-06-08 07:50:23.350892195 -0700
@@ -129,9 +129,11 @@
#if defined(NV_SG_MAP_BUFFERS)
int nv_swiotlb = 0;
+#if defined(NV_NEED_REMAP_CHECK)
unsigned int nv_remap_count;
unsigned int nv_remap_limit;
#endif
+#endif
int nv_update_memory_types = 1;
static int nv_mmconfig_failure_detected = 0;
@@ -1534,7 +1536,7 @@
goto failed;
}
-#if defined(NV_SG_MAP_BUFFERS)
+#if defined(NV_SG_MAP_BUFFERS) && defined(NV_NEED_REMAP_CHECK)
rm_read_registry_dword(sp, nv, "NVreg", "RemapLimit", &nv_remap_limit);
// allow an override, but use default if no override
@@ -1854,7 +1856,7 @@
"NVRM: final KM memory usage: 0x%x bytes\n", km_usage);
}
#endif
-#if defined(NV_SG_MAP_BUFFERS)
+#if defined(NV_SG_MAP_BUFFERS) && defined(NV_NEED_REMAP_CHECK)
if (nv_remap_count != 0)
{
nv_printf(NV_DBG_ERRORS,
Index: nvidia-kmod.spec
===================================================================
RCS file: /cvs/nonfree/rpms/nvidia-kmod/devel/nvidia-kmod.spec,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -r1.61 -r1.62
--- nvidia-kmod.spec 24 Apr 2010 09:31:20 -0000 1.61
+++ nvidia-kmod.spec 13 Jun 2010 21:51:21 -0000 1.62
@@ -9,7 +9,7 @@
Epoch: 1
Version: 195.36.24
# Taken over by kmodtool
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: NVIDIA display driver kernel module
Group: System Environment/Kernel
License: Redistributable, no modification permitted
@@ -25,6 +25,7 @@
Source11: nvidia-kmodtool-excludekernel-filterfile
+Patch0: NVIDIA_kernel-195.36.24-6120611.diff.txt
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# needed for plague to make sure it builds for i586 and i686
@@ -50,7 +51,9 @@
for arch in x86 x64
do
pushd nvidiapkg-${arch}
-#disabled
+ pushd usr/src/nv
+%patch0 -p3
+ popd
popd
done
@@ -94,6 +97,9 @@
%changelog
+* Sun Jun 13 2010 Nicolas Chauvet <kwizart(a)gmail.com> - 1:195.36.24-2
+- Backport IOMMU - http://www.nvnews.net/vbulletin/showthread.php?t=151791
+
* Sat Apr 24 2010 Nicolas Chauvet <kwizart(a)fedoraproject.org> - 1:195.36.24-1
- Update to 195.36.24
14 years, 5 months