git: ixgbe: Remove the link handler tasklet
commit 104f32153b656518c0d5be571f6c87a2c2623dd2 Author: François Tigeot ftig...@wolfpond.org Date: Tue Sep 11 22:25:27 2012 +0200 ixgbe: Remove the link handler tasklet There's no need for it, the job can be done just as well in regular interrupt threads. Summary of changes: sys/dev/netif/ixgbe/ixgbe.c | 32 ++-- sys/dev/netif/ixgbe/ixgbe.h |1 - 2 files changed, 10 insertions(+), 23 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/104f32153b656518c0d5be571f6c87a2c2623dd2 -- DragonFly BSD source repository
git: ixgbe: Remove link handler tasklet remnants
commit 2d86dede7b0fd09ea839c47aeb47f2c41597b171 Author: François Tigeot ftig...@wolfpond.org Date: Sat Sep 29 14:12:23 2012 +0200 ixgbe: Remove link handler tasklet remnants Summary of changes: sys/dev/netif/ixgbe/ixgbe.c |8 1 files changed, 0 insertions(+), 8 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2d86dede7b0fd09ea839c47aeb47f2c41597b171 -- DragonFly BSD source repository
git: libstdc++47: Rework to prevent regeneration during install
commit 7992527c2f628411e22267e3c70477cc9f7853f5 Author: John Marino net...@marino.st Date: Fri Oct 19 09:15:22 2012 +0200 libstdc++47: Rework to prevent regeneration during install The installincludes target regenerated files such as c++config.h during the install phase. It may be a minor bug as bits/c++config.h: would trigger it but c++config.h: without the subdirectory wouldn't. In any case, generating it and two other headers to the local working bits directory wasn't necessary as installincludes target installs them in an accessible location. Reworking the makefiles prevents a write operation during installworld. Reported-by: dillon Summary of changes: gnu/lib/gcc47/libstdc++/Makefile | 10 +++--- gnu/lib/gcc47/libstdc++/Makefile.headers |6 +++--- gnu/lib/gcc47/libsupc++/Makefile.src |6 +++--- 3 files changed, 9 insertions(+), 13 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7992527c2f628411e22267e3c70477cc9f7853f5 -- DragonFly BSD source repository
git: DragonFly_RELEASE_3_2 libstdc++47: Rework to prevent regeneration during install
commit 7b365e9817ed51a47cc93f7cb9ead0142db40ce2 Author: John Marino net...@marino.st Date: Fri Oct 19 09:15:22 2012 +0200 libstdc++47: Rework to prevent regeneration during install The installincludes target regenerated files such as c++config.h during the install phase. It may be a minor bug as bits/c++config.h: would trigger it but c++config.h: without the subdirectory wouldn't. In any case, generating it and two other headers to the local working bits directory wasn't necessary as installincludes target installs them in an accessible location. Reworking the makefiles prevents a write operation during installworld. Reported-by: dillon Summary of changes: gnu/lib/gcc47/libstdc++/Makefile | 10 +++--- gnu/lib/gcc47/libstdc++/Makefile.headers |6 +++--- gnu/lib/gcc47/libsupc++/Makefile.src |6 +++--- 3 files changed, 9 insertions(+), 13 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7b365e9817ed51a47cc93f7cb9ead0142db40ce2 -- DragonFly BSD source repository
git: idr: Integer ID management library
commit 181ede861b10c041d4a58ace13b8c84f2d9b5c8a Author: Vishesh Yadav vishes...@gmail.com Date: Fri Aug 24 00:58:27 2012 +0530 idr: Integer ID management library Derived from fd code. Almost compatible with Linux. Differences mentioned in man page. Summary of changes: share/man/man9/Makefile| 12 + share/man/man9/idr.9 | 138 +++ sys/conf/files |1 + sys/libkern/idr.c | 422 .../vkernel64/include/cpufunc.h = sys/idr.h} | 72 ++-- 5 files changed, 612 insertions(+), 33 deletions(-) create mode 100644 share/man/man9/idr.9 create mode 100644 sys/libkern/idr.c copy sys/{platform/vkernel64/include/cpufunc.h = sys/idr.h} (58%) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/181ede861b10c041d4a58ace13b8c84f2d9b5c8a -- DragonFly BSD source repository
git: bsd.init.mk: Establish compatibility with FreeBSD makefiles
commit 8edad6a26ff69b719a9a896754cedcbbde2974eb Author: John Marino net...@marino.st Date: Thu Nov 8 11:46:55 2012 +0100 bsd.init.mk: Establish compatibility with FreeBSD makefiles FreeBSD changed NOMAN to NO_MAN and NOSHARED to NO_SHARED. Rather than follow suit, establish NO_MAN and NO_SHARED as aliases for the DragonFly versions. If both are defined, the DragonFly version takes precedence. These were put in bsd.init.mk because they have to be loaded after the makefile being processed but before bsd.prog.mk, bsd.lib.mk, etc. Summary of changes: share/mk/bsd.init.mk | 10 +- 1 files changed, 9 insertions(+), 1 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8edad6a26ff69b719a9a896754cedcbbde2974eb -- DragonFly BSD source repository
git: vquota(8): size information is expressed in bytes
commit be686a2d17192a01e661a6772179253da7328d28 Author: François Tigeot ftig...@wolfpond.org Date: Sat Nov 10 00:07:51 2012 +0100 vquota(8): size information is expressed in bytes Summary of changes: sbin/vquota/vquota.8 |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/be686a2d17192a01e661a6772179253da7328d28 -- DragonFly BSD source repository
git: Documentation: unrhdr to idr conversion
commit de612e47f658fa6bb5bcff8a8badbc32c7366ca6 Author: François Tigeot ftig...@wolfpond.org Date: Mon Nov 19 10:30:34 2012 +0100 Documentation: unrhdr to idr conversion Summary of changes: doc/porting_drivers.txt | 26 ++ 1 files changed, 26 insertions(+), 0 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/de612e47f658fa6bb5bcff8a8badbc32c7366ca6 -- DragonFly BSD source repository
git: VFS quota: hpfs is now read-only, remove support
commit 238036a86c619a2c59e852452d93f7ba48344c08 Author: François Tigeot ftig...@wolfpond.org Date: Fri Nov 23 07:57:26 2012 +0100 VFS quota: hpfs is now read-only, remove support Summary of changes: sys/kern/vfs_default.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/238036a86c619a2c59e852452d93f7ba48344c08 -- DragonFly BSD source repository
git: agp: Sync with FreeBSD
commit 7f9ec87c124acafd09429b153911f13f35d7760b Author: François Tigeot ftig...@wolfpond.org Date: Tue Dec 4 08:16:33 2012 +0100 agp: Sync with FreeBSD * Add support for AMD64 Family 10h processors. FreeBSD PR: kern/128331 * Add a few VIA bridges for Intel Core/Core 2 and VIA Nano processors * Fix AGP debugging code * Rename agp_x86_64.c to agp_amd64.c again, keeping the same file name on both DragonFly and FreeBSD * Fix prototypes to be consistent * offset parameter has vm_offset_t type * vm_offset_t is unsigned and therefore can not be negative * Use si_drv1 instead of dev2unit() inside agp(4). * i810: Aperture size and stolen memory are now printed on one line * Add pci ids for Intel Ironlake chipsets Summary of changes: sys/conf/files|2 +- sys/config/LINT |4 ++ sys/config/LINT64 |4 ++ sys/dev/agp/Makefile |2 +- sys/dev/agp/agp.c | 23 -- sys/dev/agp/agp_ali.c |8 ++-- sys/dev/agp/agp_amd.c |8 ++-- sys/dev/agp/{agp_x86_64.c = agp_amd64.c} | 22 ++--- sys/dev/agp/agp_ati.c |8 ++-- sys/dev/agp/agp_i810.c| 46 +++-- sys/dev/agp/agp_intel.c |8 ++-- sys/dev/agp/agp_nvidia.c | 18 +-- sys/dev/agp/agp_sis.c |8 ++-- sys/dev/agp/agp_via.c | 22 ++--- sys/dev/agp/agppriv.h |2 +- sys/platform/pc32/conf/options|3 ++ sys/platform/pc64/conf/options|4 ++ 17 files changed, 110 insertions(+), 82 deletions(-) rename sys/dev/agp/{agp_x86_64.c = agp_amd64.c} (96%) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7f9ec87c124acafd09429b153911f13f35d7760b -- DragonFly BSD source repository
git: agp: Fix a kernel panic on boot issue
commit 34dfeb57ebc9d43f754e448f45e3ded426b325fc Author: François Tigeot ftig...@wolfpond.org Date: Wed Dec 5 08:19:40 2012 +0100 agp: Fix a kernel panic on boot issue * A pointer wasn't correctly initialized, leading to a Fatal trap 12: page fault while in kernel mode panic * This commit fixes bug report #2467 Tested-by: Eric Christeson, David Shao Summary of changes: sys/dev/agp/agp.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/34dfeb57ebc9d43f754e448f45e3ded426b325fc -- DragonFly BSD source repository
git: kernel: Import sglist subsystem from FreeBSD
commit a5f7a14b3218ffbf48ea84064df3e4b78c0b45de Author: François Tigeot ftig...@wolfpond.org Date: Mon Aug 6 10:37:47 2012 +0200 kernel: Import sglist subsystem from FreeBSD Fixes-from: swildner Blessed-by: vsrinivas Summary of changes: share/man/man9/Makefile | 19 ++ share/man/man9/sglist.9 | 507 ++ sys/conf/files |1 + sys/kern/subr_sglist.c | 706 +++ sys/sys/sglist.h| 104 +++ 5 files changed, 1337 insertions(+), 0 deletions(-) create mode 100644 share/man/man9/sglist.9 create mode 100644 sys/kern/subr_sglist.c create mode 100644 sys/sys/sglist.h http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a5f7a14b3218ffbf48ea84064df3e4b78c0b45de -- DragonFly BSD source repository
git: kernel: add VM_OBJECT_LOCK/UNLOCK macros
commit 9a0c03af202716df99905920fe98073e88bbb511 Author: François Tigeot ftig...@wolfpond.org Date: Mon Aug 6 07:41:50 2012 +0200 kernel: add VM_OBJECT_LOCK/UNLOCK macros Summary of changes: sys/vm/vm_object.h |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9a0c03af202716df99905920fe98073e88bbb511 -- DragonFly BSD source repository
git: agp: Do not limit attachment to primary devices
commit 1e058a4369b9e46deb9a78083d554f9a37d4600e Author: François Tigeot ftig...@wolfpond.org Date: Sat Dec 8 09:55:02 2012 +0100 agp: Do not limit attachment to primary devices * PCIS_DISPLAY_VGA really corresponds to the first graphic device initialized by the BIOS at boot time. * Recent Intel chips contain both AGP and graphic hardware, identified by the same PCI ids * The agp device thus has no associated PCIS_DISPLAY_VGA flag when the Intel graphic device is not set as primary display in BIOS * Tested with: - ATI Radeon X550 (primary graphic card) - Intel Xeon E3-1245v2 (agp device) Summary of changes: sys/dev/agp/agp.c |3 +-- sys/dev/agp/agp_i810.c |3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1e058a4369b9e46deb9a78083d554f9a37d4600e -- DragonFly BSD source repository
git: kernel: Add CLOCK_THREAD_CPUTIME_ID
commit ceb4e444af5ccf36ff488d33b5d73c07275984cc Author: François Tigeot ftig...@wolfpond.org Date: Sat Dec 22 19:35:30 2012 +0100 kernel: Add CLOCK_THREAD_CPUTIME_ID And make it usable with clock_gettime() and clock_getres() With-advice-from: Sascha Wildner Summary of changes: include/time.h |1 + sys/kern/kern_time.c | 24 +++- sys/sys/time.h |1 + 3 files changed, 25 insertions(+), 1 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ceb4e444af5ccf36ff488d33b5d73c07275984cc -- DragonFly BSD source repository
git: TOP wasn't reporting correctly CPU states without -M
commit edc735acff9cff3055a2002ba724e38f433944c1 Author: Javier Alcázar javucho1...@yahoo.com.mx Date: Fri Jan 4 06:36:32 2013 +0900 TOP wasn't reporting correctly CPU states without -M Adding code to get averages and updating man page. This commit fixes issue #2447 Summary of changes: usr.bin/top/m_dragonfly.c | 23 ++- usr.bin/top/top.1 | 4 ++-- 2 files changed, 24 insertions(+), 3 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/edc735acff9cff3055a2002ba724e38f433944c1 -- DragonFly BSD source repository
git: Unbreak world with NO_GCC44
commit 6de060a4493ce25dda4287f3ab00041b698ba2b8 Author: François Tigeot ftig...@wolfpond.org Date: Sun Feb 3 13:32:01 2013 +0100 Unbreak world with NO_GCC44 gcc44 in now optional, do not require its use during buildworld anymore. Summary of changes: gnu/lib/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6de060a4493ce25dda4287f3ab00041b698ba2b8 -- DragonFly BSD source repository
git: kernel: Properly lock dounmount()
commit effb40c8d1ffed9a461d4136a276566af7e29aaa Author: François Tigeot ftig...@wolfpond.org Date: Wed Feb 6 09:11:04 2013 +0100 kernel: Properly lock dounmount() * dounmount() wasn't properly locked, make it grab the mntvnode_token * It is necessary to synchronize against insmntque() clearing the vnode linkage * This commit fixes issue #2506 Thanks to vsrinivas for directions Summary of changes: sys/kern/vfs_syscalls.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/effb40c8d1ffed9a461d4136a276566af7e29aaa -- DragonFly BSD source repository
git: libc: Add strchrnul(), a glibc extension
commit 8fd2f2436da10f369a452cf69f85b233a09c02f5 Author: François Tigeot ftig...@wolfpond.org Date: Sun Mar 3 20:04:26 2013 +0100 libc: Add strchrnul(), a glibc extension * This function behaves like strchr() but returns a pointer to the terminating \0 byte of the string instead of NULL if the character was not found * It was first implemented in glibc-2.1.1 Obtained-from: FreeBSD Summary of changes: include/string.h | 1 + lib/libc/string/Makefile.inc | 6 -- lib/libc/string/strchr.3 | 32 ++ lib/libc/string/{strnlen.c = strchrnul.c} | 19 +- 4 files changed, 43 insertions(+), 15 deletions(-) copy lib/libc/string/{strnlen.c = strchrnul.c} (83%) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8fd2f2436da10f369a452cf69f85b233a09c02f5 -- DragonFly BSD source repository
git: libc: Add a few missing xdr functions
commit 66c9589ace6a17f149a9b20f306337b0c931d059 Author: François Tigeot ftig...@wolfpond.org Date: Thu Mar 28 08:42:23 2013 +0100 libc: Add a few missing xdr functions Obtained-from: FreeBSD Summary of changes: include/rpc/xdr.h | 2 ++ lib/libc/xdr/xdr.c | 61 +- 2 files changed, 62 insertions(+), 1 deletion(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/66c9589ace6a17f149a9b20f306337b0c931d059 -- DragonFly BSD source repository
git: touch(1): Sync with FreeBSD
commit 4f6844d4ff8fd9f0c231c7ec3371c6c679e18df5 Author: François Tigeot ftig...@wolfpond.org Date: Thu Apr 11 09:02:56 2013 +0200 touch(1): Sync with FreeBSD Summary of changes: usr.bin/touch/Makefile | 2 +- usr.bin/touch/touch.1 | 127 +++ usr.bin/touch/touch.c | 322 ++--- 3 files changed, 306 insertions(+), 145 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4f6844d4ff8fd9f0c231c7ec3371c6c679e18df5 -- DragonFly BSD source repository
git: touch(1): Reintroduce local changes
commit d570d1d81702540e64e765343b4e601352cacdc3 Author: François Tigeot ftig...@wolfpond.org Date: Thu Apr 11 14:06:34 2013 +0200 touch(1): Reintroduce local changes Major changes introduced by the update from FreeBSD: * Add the 'h' flag to operate on symlinks rather than what they point to. * Add -A flag to adjust existing time stamps. * Add the -d option from POSIX.1-2008. This is much like -t but with a different format which is ISO8601-like and allows fractions of a second. * Remove the advertising clause from UCB copyrighted files. This is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change * Remove useless and potentially dangerous rw() function which tries to update access and modification times by reading and writing the file. Summary of changes: usr.bin/touch/touch.c | 46 -- 1 file changed, 24 insertions(+), 22 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d570d1d81702540e64e765343b4e601352cacdc3 -- DragonFly BSD source repository
git: sbp(4): Sync sbp.h with FreeBSD
commit f6b960770d69946178520d0503e41a79d47db1d7 Author: François Tigeot ftig...@wolfpond.org Date: Sun Apr 28 14:56:24 2013 +0200 sbp(4): Sync sbp.h with FreeBSD * Change u_intXX_t to uintXX_t. * Change a couple of 'unsigned long's to uint32_t where appropriate. * Define Logical Unit Reset so it can be used in sbp_targ Obtained-from: FreeBSD Summary of changes: sys/dev/disk/sbp/sbp.h | 56 +- 1 file changed, 28 insertions(+), 28 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f6b960770d69946178520d0503e41a79d47db1d7 -- DragonFly BSD source repository
git: sbp(4): Support MAXPHYS up to 512KB
commit 8a32dff3bbb5f1044369b831e189ce0b151b7944 Author: François Tigeot ftig...@wolfpond.org Date: Sun Apr 28 15:53:56 2013 +0200 sbp(4): Support MAXPHYS up to 512KB - We need at least two OCBs with indirect pointers allocated in a 4KB page. - SBP_MAXPHYS can increase to 1MB once we separate management OCB/ORB which usually does not need indirect pointers. - We have to increase SBP_DMA_SIZE for MAXPHYS larger than 1MB. Obtained-from: FreeBSD Summary of changes: sys/dev/disk/sbp/sbp.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8a32dff3bbb5f1044369b831e189ce0b151b7944 -- DragonFly BSD source repository
git: sbp(4): Maximum I/O size is 512KB
commit 7280af4a4aaacab40b5a46b781d0149a6c3d3c9b Author: François Tigeot ftig...@wolfpond.org Date: Sun May 5 08:44:01 2013 +0200 sbp(4): Maximum I/O size is 512KB Summary of changes: sys/dev/disk/sbp/sbp.c | 1 + 1 file changed, 1 insertion(+) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7280af4a4aaacab40b5a46b781d0149a6c3d3c9b -- DragonFly BSD source repository
git: ahci(4): Maximum I/O size is 2MB
commit b4faa0367edddce366089971e6d4cb6acf4d6f93 Author: François Tigeot ftig...@wolfpond.org Date: Sun May 5 10:30:44 2013 +0200 ahci(4): Maximum I/O size is 2MB Summary of changes: sys/dev/disk/ahci/ahci.h | 13 +++-- sys/dev/disk/ahci/ahci_cam.c | 1 + 2 files changed, 8 insertions(+), 6 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b4faa0367edddce366089971e6d4cb6acf4d6f93 -- DragonFly BSD source repository
git: devd: Prefer the use of initializer lists to ctor assignment
commit 67b78d560c52cf39180039b891230910ed63c36a Author: Eitan Adler li...@eitanadler.com Date: Mon May 6 14:40:17 2013 -0400 devd: Prefer the use of initializer lists to ctor assignment Summary of changes: sbin/devd/devd.cc | 3 +-- sbin/devd/devd.hh | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/67b78d560c52cf39180039b891230910ed63c36a -- DragonFly BSD source repository
git: devd: Use volatile sig_atomic_t...
commit c7383cd61aa5ef357979ffe016cda2ac4f87de59 Author: Eitan Adler li...@eitanadler.com Date: Mon May 6 14:44:27 2013 -0400 devd: Use volatile sig_atomic_t... ...for the flag set by a signal handler. Remove call to _exit() from signal handler, which also sets a stop flag. Obtained From: FreeBSD Summary of changes: sbin/devd/devd.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c7383cd61aa5ef357979ffe016cda2ac4f87de59 -- DragonFly BSD source repository
git: devd: Use simpler dst += *x instead of str.append(x, 1)
commit 278a5d3a588ed49286be8be4538cd0921b2cb181 Author: Eitan Adler li...@eitanadler.com Date: Mon May 6 14:46:09 2013 -0400 devd: Use simpler dst += *x instead of str.append(x, 1) Also fix typo in comment Obtained From: FreeBSD Summary of changes: sbin/devd/devd.cc | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/278a5d3a588ed49286be8be4538cd0921b2cb181 -- DragonFly BSD source repository
git: devd: Reduce diff with FreeBSD
commit 16e73e7124657aab4a3a18c7109c376dc9091fa1 Author: Eitan Adler li...@eitanadler.com Date: Mon May 6 17:29:36 2013 -0400 devd: Reduce diff with FreeBSD * Update Warner's copyright * Log to standard error instead of stdout. * Add 'const' where possible * Use pre increment rather than post increment for non-primative types. Summary of changes: sbin/devd/devd.cc | 18 +- sbin/devd/devd.hh | 4 ++-- 2 files changed, 11 insertions(+), 11 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/16e73e7124657aab4a3a18c7109c376dc9091fa1 -- DragonFly BSD source repository
git: devd: Don't call string() explicitly
commit 2eadcd17402ae117d98a48385dfc6fba54b074bd Author: Eitan Adler li...@eitanadler.com Date: Mon May 6 17:29:03 2013 -0400 devd: Don't call string() explicitly Obtained from: FreeBSD Summary of changes: sbin/devd/devd.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2eadcd17402ae117d98a48385dfc6fba54b074bd -- DragonFly BSD source repository
git: devd: Simplify handling of romeo_must_die
commit dbd752b9204ce0d54579c15da23ff20d69f9b906 Author: Eitan Adler li...@eitanadler.com Date: Mon May 6 17:29:48 2013 -0400 devd: Simplify handling of romeo_must_die Obtained from: FreeBSD Summary of changes: sbin/devd/devd.cc | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/dbd752b9204ce0d54579c15da23ff20d69f9b906 -- DragonFly BSD source repository
git: Bring usb-hid-messages up to date
commit 2a559a201f136ab0b270759611e939f451267c45 Author: Eitan Adler li...@eitanadler.com Date: Mon May 6 21:04:59 2013 -0400 Bring usb-hid-messages up to date Obtained from: FreeBSD Summary of changes: share/misc/usb_hid_usages | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2a559a201f136ab0b270759611e939f451267c45 -- DragonFly BSD source repository
git: Update dutch calendar
commit 4dbd82f6366eed09a0dd98dc45eb9fbadd139b4e Author: Eitan Adler li...@eitanadler.com Date: Thu May 9 00:40:23 2013 -0400 Update dutch calendar On 30 April 2013 queen Beatrix resigned and crownprince Willem Alexander became the new king. King's day is on 27 April. Obtained From: FreeBSD (r250198) Summary of changes: usr.bin/calendar/calendars/calendar.dutch | 8 1 file changed, 4 insertions(+), 4 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4dbd82f6366eed09a0dd98dc45eb9fbadd139b4e -- DragonFly BSD source repository
git: kernel: Add CLOCK_PROCESS_CPUTIME_ID
commit cc8b3b0f8c3559c0f67d0d8acdd74ca16470167b Author: François Tigeot ftig...@wolfpond.org Date: Tue May 21 10:45:13 2013 +0200 kernel: Add CLOCK_PROCESS_CPUTIME_ID Summary of changes: sys/kern/kern_time.c | 2 ++ sys/sys/time.h | 1 + 2 files changed, 3 insertions(+) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/cc8b3b0f8c3559c0f67d0d8acdd74ca16470167b -- DragonFly BSD source repository
git: kernel: Add CLOCK_PROCESS_CPUTIME_ID (part 2)
commit 70d9f5104a8cac53fdb0e1618bcc30152efadc80 Author: François Tigeot ftig...@wolfpond.org Date: Tue May 21 11:38:45 2013 +0200 kernel: Add CLOCK_PROCESS_CPUTIME_ID (part 2) Summary of changes: include/time.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/70d9f5104a8cac53fdb0e1618bcc30152efadc80 -- DragonFly BSD source repository
git: sili(4): Maximum I/O size is 256KB
commit f606d6ecfa910a1fcad9e8a11550b305fd07c974 Author: François Tigeot ftig...@wolfpond.org Date: Sat May 4 11:00:55 2013 +0200 sili(4): Maximum I/O size is 256KB Summary of changes: sys/dev/disk/sili/sili.h | 11 ++- sys/dev/disk/sili/sili_cam.c | 1 + 2 files changed, 7 insertions(+), 5 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f606d6ecfa910a1fcad9e8a11550b305fd07c974 -- DragonFly BSD source repository
git: iicbus/iic.h: Sync with FreeBSD
commit 09bc70e836d4b93cdf9ccbb7b08c3640c6f3813c Author: François Tigeot ftig...@wolfpond.org Date: Sun Jul 7 08:40:22 2013 +0200 iicbus/iic.h: Sync with FreeBSD Summary of changes: sys/bus/iicbus/iic.h | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/09bc70e836d4b93cdf9ccbb7b08c3640c6f3813c -- DragonFly BSD source repository
git: iir: Prevent namespace collision with INTEL_VENDOR_ID
commit 996023405280596608ff9eb24a90fb099d1acfde Author: François Tigeot ftig...@wolfpond.org Date: Sat Jul 6 10:52:48 2013 +0200 iir: Prevent namespace collision with INTEL_VENDOR_ID Use the existing PCI_VENDOR_INTEL #define instead of the local INTEL_VENDOR_ID and avoid a conflict with the one in specialreg.h Summary of changes: sys/dev/raid/iir/iir.c | 5 +++-- sys/dev/raid/iir/iir.h | 1 - sys/dev/raid/iir/iir_ctrl.c | 4 +++- sys/dev/raid/iir/iir_pci.c | 3 ++- 4 files changed, 8 insertions(+), 5 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/996023405280596608ff9eb24a90fb099d1acfde -- DragonFly BSD source repository
git: pmap: add dummy implementation for pmap_invalidate*
commit 300a63735b5489b5d766ad104b9df820acfd7791 Author: Johannes Hofmann johannes.hofm...@gmx.de Date: Thu Jul 18 22:37:22 2013 +0200 pmap: add dummy implementation for pmap_invalidate* Simply call cpu_wbinvd_on_all_cpus() which is not optimal but seems to make drm2 work. Summary of changes: sys/platform/pc64/include/pmap.h | 2 ++ sys/platform/pc64/x86_64/pmap.c | 10 ++ 2 files changed, 12 insertions(+) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/300a63735b5489b5d766ad104b9df820acfd7791 -- DragonFly BSD source repository
git: PAT work, mapdev_attr, kmem_alloc_attr
commit b524ca7607a8319b610d7c73eb8152adcb542c05 Author: Matthew Dillon dil...@apollo.backplane.com Date: Thu Jul 18 23:04:21 2013 +0200 PAT work, mapdev_attr, kmem_alloc_attr Partially based on work by Aggelos Economopoulos ao...@cc.ece.ntua.gr Summary of changes: sys/platform/pc64/include/pmap.h | 2 + sys/platform/pc64/x86_64/mp_machdep.c | 5 +- sys/platform/pc64/x86_64/pmap.c | 158 -- sys/vm/pmap.h | 1 + sys/vm/vm_extern.h| 3 + sys/vm/vm_kern.c | 13 +++ sys/vm/vm_object.c| 3 + sys/vm/vm_object.h| 4 + sys/vm/vm_page.c | 2 + sys/vm/vm_page.h | 2 +- 10 files changed, 160 insertions(+), 33 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b524ca7607a8319b610d7c73eb8152adcb542c05 -- DragonFly BSD source repository
git: kernel: Improve pmap_invalidate_cache_range()
commit fd300b3d463479c70304739f94bbc010026afc90 Author: François Tigeot ftig...@wolfpond.org Date: Thu Jul 18 23:22:32 2013 +0200 kernel: Improve pmap_invalidate_cache_range() * There is no need to do anything on CPUs having the self-snoop feature * Add some consistency checks Inspired-from: FreeBSD Summary of changes: sys/platform/pc64/x86_64/pmap.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/fd300b3d463479c70304739f94bbc010026afc90 -- DragonFly BSD source repository
git: kernel: Use pmap_invalidate functions
commit 1d400425ec109ebc9cef3db6216b1ae5f98a3e59 Author: François Tigeot ftig...@wolfpond.org Date: Thu Jul 18 23:23:36 2013 +0200 kernel: Use pmap_invalidate functions * Matt's commit brutally used invltlb and wbinvd instructions everywhere * These are now contained in pmap_invalidate_range(), which will be optimized later * As a rule of thumb, functions where cache and tlb handling cause avoidable performance degradation are tagged with XXX not optimal Summary of changes: sys/platform/pc64/x86_64/pmap.c | 30 -- 1 file changed, 24 insertions(+), 6 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1d400425ec109ebc9cef3db6216b1ae5f98a3e59 -- DragonFly BSD source repository
git: kernel: Optimize pmap_invalidate_range()
commit d2f7c303e0e14f546c73f89a28a4ff7f46cb84fe Author: François Tigeot ftig...@wolfpond.org Date: Thu Jul 18 23:25:01 2013 +0200 kernel: Optimize pmap_invalidate_range() * No need to use wbinvd here, we only have to invalidate TLB entries and not regular CPU caches * There is no need to drop all TLB caches either, only invalidate a few page mappings on all cpus * Use pmap-pm_active to only signal the CPUs where the pmap is in use Summary of changes: sys/cpu/x86_64/include/cpufunc.h | 20 sys/platform/pc64/x86_64/mp_machdep.c | 12 sys/platform/pc64/x86_64/pmap.c | 4 +--- 3 files changed, 33 insertions(+), 3 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d2f7c303e0e14f546c73f89a28a4ff7f46cb84fe -- DragonFly BSD source repository
git: pat: Add BUS_DMA_NOCACHE, VM_MEMATTR definitions
commit 10427daec00e7c426971a443563226f1bed5 Author: François Tigeot ftig...@wolfpond.org Date: Thu Jul 18 23:26:40 2013 +0200 pat: Add BUS_DMA_NOCACHE, VM_MEMATTR definitions Inspired-from: FreeBSD Summary of changes: sys/platform/pc64/x86_64/busdma_machdep.c | 10 ++ sys/sys/bus_dma.h | 1 + sys/vm/vm.h | 15 +++ 3 files changed, 26 insertions(+) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/10427daec00e7c426971a443563226f1bed5 -- DragonFly BSD source repository
git: pat: Make the API more compatible with FreeBSD
commit 6ed30774ac074512fee5422519be76a122d2dc3b Author: François Tigeot ftig...@wolfpond.org Date: Thu Jul 18 23:27:03 2013 +0200 pat: Make the API more compatible with FreeBSD Summary of changes: sys/platform/pc64/x86_64/pmap.c | 4 ++-- sys/vm/vm_object.c | 2 +- sys/vm/vm_object.h | 5 + 3 files changed, 4 insertions(+), 7 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6ed30774ac074512fee5422519be76a122d2dc3b -- DragonFly BSD source repository
git: pat: Add pmap_invalidate_cache_pages()
commit c174861d025eba2c30453614c49a48c868da55aa Author: François Tigeot ftig...@wolfpond.org Date: Thu Jul 18 23:28:47 2013 +0200 pat: Add pmap_invalidate_cache_pages() Obtained-from: FreeBSD Summary of changes: sys/platform/pc64/include/pmap.h | 2 ++ sys/platform/pc64/x86_64/pmap.c | 30 ++ 2 files changed, 32 insertions(+) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c174861d025eba2c30453614c49a48c868da55aa -- DragonFly BSD source repository
git: kernel/pat: Improve kmem_alloc_attr()
commit d491f445f1ae01e5a5554b9c1ded1d5c7b06778b Author: Johannes Hofmann johannes.hofm...@gmx.de Date: Thu Jul 18 23:29:11 2013 +0200 kernel/pat: Improve kmem_alloc_attr() With-input-from: Matthew Dillon Summary of changes: sys/vm/vm_kern.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d491f445f1ae01e5a5554b9c1ded1d5c7b06778b -- DragonFly BSD source repository
git: kernel: Import unrhdr function family from FreeBSD
commit c18a5ab76dce92a711349b564806eb7a7b132b25 Author: François Tigeot ftig...@wolfpond.org Date: Sun Jul 21 21:37:03 2013 +0200 kernel: Import unrhdr function family from FreeBSD Summary of changes: sys/conf/files | 1 + sys/kern/subr_unit.c | 783 +++ {include = sys/sys}/bitstring.h | 6 +- sys/sys/systm.h | 10 + 4 files changed, 797 insertions(+), 3 deletions(-) create mode 100644 sys/kern/subr_unit.c copy {include = sys/sys}/bitstring.h (98%) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c18a5ab76dce92a711349b564806eb7a7b132b25 -- DragonFly BSD source repository
git: kernel: Add DRIVER_MODULE_ORDERED macro
commit ccd2b1c7dcf732bf05850343f78d0dad459439d1 Author: Johannes Hofmann johannes.hofm...@gmx.de Date: Sun Jul 21 21:40:31 2013 +0200 kernel: Add DRIVER_MODULE_ORDERED macro Summary of changes: sys/sys/bus.h | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ccd2b1c7dcf732bf05850343f78d0dad459439d1 -- DragonFly BSD source repository
git: kernel: add vm_page_unhold_pages()
commit 3858d883b29c008634394b7bd5b20634572ef71b Author: François Tigeot ftig...@wolfpond.org Date: Sun Jul 21 21:41:28 2013 +0200 kernel: add vm_page_unhold_pages() Summary of changes: sys/vm/vm_page.h | 5 + 1 file changed, 5 insertions(+) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3858d883b29c008634394b7bd5b20634572ef71b -- DragonFly BSD source repository
git: kernel: Implement copyin_nofault and copyout_nofault
commit ad249be922133857c03f43f8107291e0ad4669f1 Author: François Tigeot ftig...@wolfpond.org Date: Sun Jul 7 19:24:55 2013 +0200 kernel: Implement copyin_nofault and copyout_nofault Inspired-from: FreeBSD Summary of changes: sys/kern/kern_subr.c | 24 sys/sys/systm.h | 2 ++ 2 files changed, 26 insertions(+) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ad249be922133857c03f43f8107291e0ad4669f1 -- DragonFly BSD source repository
git: kernel: Add PROC_LOCK and PROC_UNLOCK
commit e912b9369a5dd45e860a62d8be988e729df23c32 Author: François Tigeot ftig...@wolfpond.org Date: Sun Jul 21 21:22:41 2013 +0200 kernel: Add PROC_LOCK and PROC_UNLOCK Inspired-from: FreeBSD Summary of changes: sys/sys/proc.h | 4 1 file changed, 4 insertions(+) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e912b9369a5dd45e860a62d8be988e729df23c32 -- DragonFly BSD source repository
git: kernel: Remove global PROC_LOCK and PROC_UNLOCK definitions
commit cf3964220d0137b14fed6667542f3c4e9316b595 Author: François Tigeot ftig...@wolfpond.org Date: Mon Jul 22 13:46:05 2013 +0200 kernel: Remove global PROC_LOCK and PROC_UNLOCK definitions Locking in this area varies so much between FreeBSD and DragonFly that it's best to determine what to do with these macros on a case-by-case basis Summary of changes: doc/porting_drivers.txt | 13 + sys/sys/proc.h | 4 2 files changed, 13 insertions(+), 4 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/cf3964220d0137b14fed6667542f3c4e9316b595 -- DragonFly BSD source repository
git: drm: move gpu driver headers to subdirectories
commit c060d81809d08771d45285e8a3c4cd97f20f4e5f Author: François Tigeot ftig...@wolfpond.org Date: Mon Jul 22 22:11:20 2013 +0200 drm: move gpu driver headers to subdirectories Summary of changes: sys/dev/drm/i915/i915_dma.c | 4 ++-- sys/dev/drm/{ = i915}/i915_drm.h | 0 sys/dev/drm/i915/i915_drv.c | 2 +- sys/dev/drm/i915/i915_irq.c | 2 +- sys/dev/drm/i915/i915_mem.c | 2 +- sys/dev/drm/i915/i915_suspend.c | 2 +- sys/dev/drm/mach64/mach64_dma.c | 2 +- sys/dev/drm/{ = mach64}/mach64_drm.h | 0 sys/dev/drm/mach64/mach64_drv.c | 2 +- sys/dev/drm/mach64/mach64_irq.c | 2 +- sys/dev/drm/mach64/mach64_state.c | 2 +- sys/dev/drm/mga/mga_dma.c | 2 +- sys/dev/drm/{ = mga}/mga_drm.h | 0 sys/dev/drm/mga/mga_drv.c | 2 +- sys/dev/drm/mga/mga_irq.c | 2 +- sys/dev/drm/mga/mga_state.c | 2 +- sys/dev/drm/mga/mga_warp.c| 2 +- sys/dev/drm/r128/r128_cce.c | 2 +- sys/dev/drm/{ = r128}/r128_drm.h | 0 sys/dev/drm/r128/r128_drv.c | 2 +- sys/dev/drm/r128/r128_irq.c | 2 +- sys/dev/drm/r128/r128_state.c | 2 +- sys/dev/drm/radeon/r300_cmdbuf.c | 2 +- sys/dev/drm/radeon/r600_blit.c| 2 +- sys/dev/drm/radeon/r600_cp.c | 2 +- sys/dev/drm/radeon/radeon_cp.c| 2 +- sys/dev/drm/radeon/radeon_cs.c| 2 +- sys/dev/drm/{ = radeon}/radeon_drm.h | 0 sys/dev/drm/radeon/radeon_drv.c | 2 +- sys/dev/drm/radeon/radeon_irq.c | 2 +- sys/dev/drm/radeon/radeon_mem.c | 2 +- sys/dev/drm/radeon/radeon_state.c | 2 +- sys/dev/drm/savage/savage_bci.c | 2 +- sys/dev/drm/{ = savage}/savage_drm.h | 0 sys/dev/drm/savage/savage_drv.c | 2 +- sys/dev/drm/savage/savage_state.c | 2 +- sys/dev/drm/{ = sis}/sis_drm.h | 0 sys/dev/drm/sis/sis_drv.c | 2 +- sys/dev/drm/sis/sis_mm.c | 2 +- 39 files changed, 33 insertions(+), 33 deletions(-) rename sys/dev/drm/{ = i915}/i915_drm.h (100%) rename sys/dev/drm/{ = mach64}/mach64_drm.h (100%) rename sys/dev/drm/{ = mga}/mga_drm.h (100%) rename sys/dev/drm/{ = r128}/r128_drm.h (100%) rename sys/dev/drm/{ = radeon}/radeon_drm.h (100%) rename sys/dev/drm/{ = savage}/savage_drm.h (100%) rename sys/dev/drm/{ = sis}/sis_drm.h (100%) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c060d81809d08771d45285e8a3c4cd97f20f4e5f -- DragonFly BSD source repository
git: drm: Import drm2+i915 work from FreeBSD
commit 575ea5a0f163d1cc8c1b9ed47b0838726c22d508 Author: François Tigeot ftig...@wolfpond.org Date: Mon Jul 22 22:23:54 2013 +0200 drm: Import drm2+i915 work from FreeBSD As of r240917 (2012-09-25): Reduce delays in several wait loops Summary of changes: sys/dev/drm2/drm.h | 1214 sys/dev/drm2/drmP.h | 1400 + sys/dev/drm2/drm_agpsupport.c | 434 ++ sys/dev/drm2/drm_atomic.h | 93 + sys/dev/drm2/drm_auth.c | 190 + sys/dev/drm2/drm_bufs.c | 1130 sys/dev/drm2/drm_context.c | 312 + sys/dev/drm2/drm_crtc.c | 3413 +++ sys/dev/drm2/drm_crtc.h | 935 +++ sys/dev/drm2/drm_crtc_helper.c | 1043 sys/dev/drm2/drm_crtc_helper.h | 146 + sys/dev/drm2/drm_dma.c | 139 + sys/dev/drm2/drm_dp_helper.h| 250 + sys/dev/drm2/drm_dp_iic_helper.c| 292 + sys/dev/drm2/drm_drawable.c | 173 + sys/dev/drm2/drm_drv.c | 980 sys/dev/drm2/drm_edid.c | 1781 ++ sys/dev/drm2/drm_edid.h | 244 + sys/dev/drm2/drm_edid_modes.h | 381 ++ sys/dev/drm2/drm_fb_helper.c| 1568 + sys/dev/drm2/drm_fb_helper.h| 141 + sys/dev/drm2/drm_fops.c | 202 + sys/dev/drm2/drm_fourcc.h | 139 + sys/dev/drm2/drm_gem.c | 487 ++ sys/dev/drm2/drm_gem_names.c| 211 + sys/dev/drm2/drm_gem_names.h| 64 + sys/dev/drm2/drm_hashtab.c | 181 + sys/dev/drm2/drm_hashtab.h | 68 + sys/dev/drm2/drm_internal.h | 43 + sys/dev/drm2/drm_ioctl.c| 320 ++ sys/dev/drm2/drm_irq.c | 1253 sys/dev/drm2/drm_linux_list.h | 177 + sys/dev/drm2/drm_linux_list_sort.c | 75 + sys/dev/drm2/drm_lock.c | 199 + sys/dev/drm2/drm_memory.c | 127 + sys/dev/drm2/drm_mm.c | 563 ++ sys/dev/drm2/drm_mm.h | 185 + sys/dev/drm2/drm_mode.h | 444 ++ sys/dev/drm2/drm_modes.c| 1147 sys/dev/drm2/drm_pci.c | 125 + sys/dev/drm2/drm_pciids.h | 770 +++ sys/dev/drm2/drm_sarea.h| 87 + sys/dev/drm2/drm_scatter.c | 129 + sys/dev/drm2/drm_sman.c | 352 ++ sys/dev/drm2/drm_sman.h | 181 + sys/dev/drm2/drm_stub.c | 60 + sys/dev/drm2/drm_sysctl.c | 364 ++ sys/dev/drm2/drm_vm.c | 134 + sys/dev/drm2/i915/i915_debug.c | 1683 ++ sys/dev/drm2/i915/i915_dma.c| 2075 +++ sys/dev/drm2/i915/i915_drm.h| 971 sys/dev/drm2/i915/i915_drv.c| 821 +++ sys/dev/drm2/i915/i915_drv.h| 1481 + sys/dev/drm2/i915/i915_gem.c| 3760 sys/dev/drm2/i915/i915_gem_evict.c | 213 + sys/dev/drm2/i915/i915_gem_execbuffer.c | 1528 + sys/dev/drm2/i915/i915_gem_gtt.c| 329 ++ sys/dev/drm2/i915/i915_gem_tiling.c | 495 ++ sys/dev/drm2/i915/i915_irq.c| 2278 sys/dev/drm2/i915/i915_reg.h| 3876 + sys/dev/drm2/i915/i915_suspend.c| 909 +++ sys/dev/drm2/i915/intel_bios.c | 737 +++ sys/dev/drm2/i915/intel_bios.h | 620 ++ sys/dev/drm2/i915/intel_crt.c | 624 ++ sys/dev/drm2/i915/intel_display.c | 9532 +++ sys/dev/drm2/i915/intel_dp.c| 2562 + sys/dev/drm2/i915/intel_drv.h | 428 ++ sys/dev/drm2/i915/intel_fb.c| 270 + sys/dev/drm2/i915/intel_hdmi.c | 576 ++ sys/dev/drm2/i915/intel_iic.c | 716 +++ sys/dev/drm2/i915/intel_lvds.c | 1125 sys/dev/drm2/i915/intel_modes.c | 143 + sys/dev/drm2/i915/intel_opregion.c | 550 ++ sys/dev/drm2/i915/intel_overlay.c | 1582 + sys/dev/drm2/i915/intel_panel.c | 327 ++ sys/dev/drm2/i915/intel_ringbuffer.c| 1623 ++ sys/dev/drm2/i915/intel_ringbuffer.h| 203 + sys/dev/drm2/i915/intel_sdvo.c | 2680 + sys/dev/drm2/i915/intel_sdvo_regs.h | 725 +++ sys/dev/drm2/i915/intel_sprite.c| 669 +++ sys/dev/drm2/i915/intel_tv.c| 1609 ++ 81 files changed, 72066 insertions(+) create mode 100644 sys/dev/drm2/drm.h create mode 100644 sys/dev/drm2/drmP.h create mode 100644 sys/dev/drm2/drm_agpsupport.c create mode 100644 sys/dev/drm2/drm_atomic.h create mode 100644 sys/dev/drm2/drm_auth.c create mode 100644 sys/dev/drm2/drm_bufs.c create mode 100644 sys/dev/drm2/drm_context.c create mode 100644 sys/dev/drm2/drm_crtc.c create mode 100644 sys/dev/drm2/drm_crtc.h create mode 100644 sys/dev/drm2/drm_crtc_helper.c
git: drm2: Remove CTR* functions
commit 4b6e803b73f2e7529ffb2cf93cefbc3c07707b50 Author: François Tigeot ftig...@wolfpond.org Date: Tue Jul 23 19:15:09 2013 +0200 drm2: Remove CTR* functions Summary of changes: sys/dev/drm2/drm_crtc.c | 2 -- sys/dev/drm2/drm_fops.c | 4 --- sys/dev/drm2/drm_irq.c | 17 -- sys/dev/drm2/i915/i915_drv.h| 3 +- sys/dev/drm2/i915/i915_gem.c| 59 - sys/dev/drm2/i915/i915_gem_evict.c | 7 sys/dev/drm2/i915/i915_gem_execbuffer.c | 5 --- sys/dev/drm2/i915/i915_irq.c| 15 - sys/dev/drm2/i915/intel_display.c | 5 --- sys/dev/drm2/i915/intel_ringbuffer.c| 4 --- 10 files changed, 1 insertion(+), 120 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4b6e803b73f2e7529ffb2cf93cefbc3c07707b50 -- DragonFly BSD source repository
git: drm2: Handle locking
commit e8a91b3cefd66c1680879e24e150f5e98d3a8c20 Author: François Tigeot ftig...@wolfpond.org Date: Tue Jul 23 19:18:48 2013 +0200 drm2: Handle locking * Locally define PROC_LOCK and PROC_UNLOCK to nothing * irq_lock must be a lwkt serializer * Remove Giant usage Was it even needed on FreeBSD ? Summary of changes: sys/dev/drm2/drmP.h | 44 ++-- sys/dev/drm2/drm_crtc.c | 136 +-- sys/dev/drm2/drm_crtc.h | 2 +- sys/dev/drm2/drm_crtc_helper.c | 4 +- sys/dev/drm2/drm_dp_iic_helper.c | 5 -- sys/dev/drm2/drm_drv.c | 38 +- sys/dev/drm2/drm_fb_helper.c | 6 +- sys/dev/drm2/drm_fops.c | 16 ++--- sys/dev/drm2/drm_gem_names.c | 42 +-- sys/dev/drm2/drm_gem_names.h | 3 +- sys/dev/drm2/drm_irq.c | 73 --- sys/dev/drm2/drm_mm.c| 26 +++ sys/dev/drm2/drm_mm.h| 2 +- sys/dev/drm2/drm_pci.c | 5 +- sys/dev/drm2/i915/i915_debug.c | 64 - sys/dev/drm2/i915/i915_dma.c | 50 ++--- sys/dev/drm2/i915/i915_drv.c | 30 sys/dev/drm2/i915/i915_drv.h | 16 ++--- sys/dev/drm2/i915/i915_gem.c | 59 +++ sys/dev/drm2/i915/i915_irq.c | 98 - sys/dev/drm2/i915/intel_display.c| 44 ++-- sys/dev/drm2/i915/intel_dp.c | 4 +- sys/dev/drm2/i915/intel_fb.c | 4 +- sys/dev/drm2/i915/intel_iic.c| 20 +++--- sys/dev/drm2/i915/intel_overlay.c| 14 ++-- sys/dev/drm2/i915/intel_ringbuffer.c | 18 ++--- sys/dev/drm2/i915/intel_ringbuffer.h | 2 +- sys/dev/drm2/i915/intel_sprite.c | 8 +-- sys/dev/drm2/i915/intel_tv.c | 8 +-- 29 files changed, 412 insertions(+), 429 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e8a91b3cefd66c1680879e24e150f5e98d3a8c20 -- DragonFly BSD source repository
git: drm2: Remove unused FreeBSD functions and macros
commit a620cf98fb51aaf9744d7669190e6133e5fe400e Author: François Tigeot ftig...@wolfpond.org Date: Tue Jul 23 19:21:09 2013 +0200 drm2: Remove unused FreeBSD functions and macros * sched_pin() / sched_unpin() * VM_ALLOC_NOOBJ and VM_ALLOC_WIRED * callout_drain() * vm_page_lock() / vm_page_unlock() * kern_yield() * CTLFLAG_MPSAFE Summary of changes: sys/dev/drm2/i915/i915_debug.c| 6 +++--- sys/dev/drm2/i915/i915_dma.c | 1 - sys/dev/drm2/i915/i915_gem.c | 23 --- sys/dev/drm2/i915/i915_gem_gtt.c | 9 + sys/dev/drm2/i915/i915_irq.c | 4 sys/dev/drm2/i915/intel_display.c | 5 - 6 files changed, 4 insertions(+), 44 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a620cf98fb51aaf9744d7669190e6133e5fe400e -- DragonFly BSD source repository
git: drm2: Handle slightly different little things (1/2)
commit 168ab13f61bad526b2b3329a772c0b04ba6352f7 Author: François Tigeot ftig...@wolfpond.org Date: Tue Jul 23 19:21:53 2013 +0200 drm2: Handle slightly different little things (1/2) * DragonFly and FreeBSD memory barrier functions are named differently * Replace TAILQ_FOREACH_SAFE by TAILQ_FOREACH_MUTABLE * CTLFLAG_RDTUN doesn't exist, use CTLFLAG_RD instead * kdb_active - db_active * Implement and use a replacement for VM_OBJECT_LOCK_ASSERT(MA_OWNED) * VPO_BUSY = PG_BUSY * The way to get rlimit values is a little bit different * Replace MPASS with KASSERT * Use callout_init_mp() where FreeBSD uses CALLOUT_MPSAFE (suggested-by swildner) Parts-by: Johannes Hofmann Summary of changes: sys/dev/drm2/drm_crtc.c | 2 +- sys/dev/drm2/drm_drv.c | 6 +- sys/dev/drm2/drm_gem.c | 3 ++- sys/dev/drm2/drm_irq.c | 4 ++-- sys/dev/drm2/i915/i915_dma.c| 2 +- sys/dev/drm2/i915/i915_gem.c| 14 -- sys/dev/drm2/i915/i915_gem_execbuffer.c | 2 +- sys/dev/drm2/i915/intel_display.c | 11 ++- 8 files changed, 26 insertions(+), 18 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/168ab13f61bad526b2b3329a772c0b04ba6352f7 -- DragonFly BSD source repository
git: drm2: Handle slightly different little things (2/2)
commit f130376c3be762f8e5dc732d6775c389db58c741 Author: François Tigeot ftig...@wolfpond.org Date: Tue Jul 23 19:23:05 2013 +0200 drm2: Handle slightly different little things (2/2) Some functions/macros have little arguments or other small variations: * BUS_ALLOC_RESOURCE() * bus_dma_tag_create() * vm_pager_allocate() * vm_map_find() * vm_pager_get_pages() / vm_pager_get_page() * vm_pager_has_page * pmap_zero_page() Summary of changes: sys/dev/drm2/drm_gem.c | 4 ++-- sys/dev/drm2/drm_pci.c | 2 +- sys/dev/drm2/i915/i915_dma.c | 2 +- sys/dev/drm2/i915/i915_gem.c | 14 +- 4 files changed, 13 insertions(+), 9 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f130376c3be762f8e5dc732d6775c389db58c741 -- DragonFly BSD source repository
git: drm2: Adapt kernel_map usage
commit 1dab49d6738f2942ea52442c9737e65b6bbbe449 Author: François Tigeot ftig...@wolfpond.org Date: Tue Jul 23 19:23:37 2013 +0200 drm2: Adapt kernel_map usage Summary of changes: sys/dev/drm2/drm_scatter.c | 4 ++-- sys/dev/drm2/i915/intel_ringbuffer.c | 18 +- 2 files changed, 11 insertions(+), 11 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1dab49d6738f2942ea52442c9737e65b6bbbe449 -- DragonFly BSD source repository
git: drm2: add a drm_find_file_by_proc() implementation
commit 7469e6c8ff7bfae995d3dfec12b0883d9da26fd6 Author: François Tigeot ftig...@wolfpond.org Date: Wed Jul 24 09:08:14 2013 +0200 drm2: add a drm_find_file_by_proc() implementation * Taken from the existing drm code in sys/dev/drm/ Summary of changes: sys/dev/drm2/drmP.h | 2 ++ sys/dev/drm2/drm_fops.c | 12 2 files changed, 14 insertions(+) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7469e6c8ff7bfae995d3dfec12b0883d9da26fd6 -- DragonFly BSD source repository
git: kernel: Document new taskqueue functions
commit ba36e67453be7306660d4adb8561710b8138df69 Author: François Tigeot ftig...@wolfpond.org Date: Wed Jul 24 10:35:57 2013 +0200 kernel: Document new taskqueue functions Summary of changes: share/man/man9/Makefile| 4 +++ share/man/man9/taskqueue.9 | 63 +++--- 2 files changed, 64 insertions(+), 3 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ba36e67453be7306660d4adb8561710b8138df69 -- DragonFly BSD source repository
git: kernel: Port new device_pager interface from FreeBSD
commit f2c2051ee473577d22178d55f782ceebbd88d58f Author: Johannes Hofmann johannes.hofm...@gmx.de Date: Mon Jul 29 22:39:56 2013 +0200 kernel: Port new device_pager interface from FreeBSD Some parts implemented by François Tigeot and Matthew Dillon Summary of changes: sys/vm/device_pager.c | 243 ++ sys/vm/vm_fault.c | 7 +- sys/vm/vm_map.c | 6 +- sys/vm/vm_meter.c | 2 + sys/vm/vm_object.h| 4 + sys/vm/vm_pageout.c | 4 +- sys/vm/vm_pager.c | 34 --- sys/vm/vm_pager.h | 17 8 files changed, 222 insertions(+), 95 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f2c2051ee473577d22178d55f782ceebbd88d58f -- DragonFly BSD source repository
git: kernel: add OBJT_MGTDEVICE in some more places
commit f6a0c81919eb622cfebfe0d843de3d27e644dd60 Author: Johannes Hofmann johannes.hofm...@gmx.de Date: Tue Jul 30 08:12:34 2013 +0200 kernel: add OBJT_MGTDEVICE in some more places Summary of changes: sys/platform/pc32/i386/pmap.c| 3 ++- sys/platform/pc64/x86_64/pmap.c | 3 ++- sys/platform/vkernel/platform/pmap.c | 3 ++- sys/vfs/procfs/procfs_map.c | 4 sys/vm/vm_fault.c| 7 --- sys/vm/vm_pager.c| 1 + 6 files changed, 15 insertions(+), 6 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f6a0c81919eb622cfebfe0d843de3d27e644dd60 -- DragonFly BSD source repository
git: drm2: Handle device creation, translate dev_ops functions
commit a41a38d3cdbd335ebe18d10a34318dc4655bdcc5 Author: François Tigeot ftig...@wolfpond.org Date: Tue Jul 30 13:29:00 2013 +0200 drm2: Handle device creation, translate dev_ops functions * drm_attach, drm_open, drm_close, drm_mmap, drm_read, drm_ioctl modified following the model of the existing functions in the old drm/ implementation * poll and select don't exist on DragonFly and are replaced by kqueue * Additional fixes from Johannes Hofmann to set ap-a_result in drm_mmap() and resolve crashes in drm_open() and drm_ioctl() Summary of changes: sys/dev/drm2/drmP.h | 5 ++- sys/dev/drm2/drm_drv.c | 88 - sys/dev/drm2/drm_fops.c | 52 ++--- sys/dev/drm2/drm_vm.c | 20 --- 4 files changed, 109 insertions(+), 56 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a41a38d3cdbd335ebe18d10a34318dc4655bdcc5 -- DragonFly BSD source repository
git: iicbus: add intel_iic to iicbb driver
commit 95abf8444977225da7e0f0598e5df333ca213982 Author: Johannes Hofmann johannes.hofm...@gmx.de Date: Tue Jul 30 16:05:56 2013 +0200 iicbus: add intel_iic to iicbb driver Summary of changes: sys/bus/iicbus/iicbb.c | 1 + 1 file changed, 1 insertion(+) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/95abf8444977225da7e0f0598e5df333ca213982 -- DragonFly BSD source repository
git: i915: replace several sleep functions by DELAY()
commit 6e16a1c464419d6d10a1f88afffa625250cd2cb3 Author: François Tigeot ftig...@wolfpond.org Date: Tue Jul 30 16:29:54 2013 +0200 i915: replace several sleep functions by DELAY() Summary of changes: sys/dev/drm2/i915/i915_drv.c | 9 ++--- sys/dev/drm2/i915/intel_display.c| 6 +++--- sys/dev/drm2/i915/intel_dp.c | 20 ++-- sys/dev/drm2/i915/intel_drv.h| 5 + sys/dev/drm2/i915/intel_ringbuffer.c | 2 +- sys/dev/drm2/i915/intel_sdvo.c | 2 +- 6 files changed, 18 insertions(+), 26 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6e16a1c464419d6d10a1f88afffa625250cd2cb3 -- DragonFly BSD source repository
git: i915: Rename pipe to i915_pipe
commit 03799f10807c607825de717287e6bd0308736147 Author: François Tigeot ftig...@wolfpond.org Date: Tue Jul 30 16:33:07 2013 +0200 i915: Rename pipe to i915_pipe Summary of changes: sys/dev/drm2/i915/i915_drv.h | 2 +- sys/dev/drm2/i915/i915_suspend.c | 6 ++-- sys/dev/drm2/i915/intel_display.c | 62 +++ sys/dev/drm2/i915/intel_drv.h | 8 ++--- sys/dev/drm2/i915/intel_sprite.c | 2 +- 5 files changed, 40 insertions(+), 40 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/03799f10807c607825de717287e6bd0308736147 -- DragonFly BSD source repository
git: drm2: Properly handle requests passing page boundaries
commit 4dd06e652ec39c70902404510de142dcf7566f13 Author: Matthew Dillon dil...@apollo.backplane.com Date: Mon Jul 29 22:52:04 2013 +0200 drm2: Properly handle requests passing page boundaries Change pmap_mapdev_attr() call in drm2 to properly handle requests passing page boundaries. Summary of changes: sys/dev/drm2/i915/i915_gem.c | 26 ++ 1 file changed, 10 insertions(+), 16 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4dd06e652ec39c70902404510de142dcf7566f13 -- DragonFly BSD source repository
git: drm2 porting: Small changes
commit 123f4114649f33e253bb75059b80d60476e7814c Author: Johannes Hofmann johannes.hofm...@gmx.de Date: Tue Jul 30 19:31:17 2013 +0200 drm2 porting: Small changes * don't pass handle to default_pager_alloc() * call vm_map_find() with fitit TRUE * use IDX_TO_OFF()/OFF_TO_IDX() macros Summary of changes: sys/dev/drm2/drm_gem.c | 2 +- sys/dev/drm2/i915/i915_gem.c | 2 +- sys/vm/device_pager.c| 9 - 3 files changed, 6 insertions(+), 7 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/123f4114649f33e253bb75059b80d60476e7814c -- DragonFly BSD source repository
git: drm: lockmgr() returns 0 on success
commit 7fbf24c8f33bd973814322b1c6c2987c4f9b0404 Author: Johannes Hofmann johannes.hofm...@gmx.de Date: Tue Jul 30 19:32:25 2013 +0200 drm: lockmgr() returns 0 on success Summary of changes: sys/dev/drm2/i915/i915_drv.c | 2 +- sys/dev/drm2/i915/i915_gem.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7fbf24c8f33bd973814322b1c6c2987c4f9b0404 -- DragonFly BSD source repository
git: drm2: Make the PAT code more compatible with FreeBSD
commit 9c89a01fb50f3e6ef3d179c1c01a89f24eb76172 Author: François Tigeot ftig...@wolfpond.org Date: Thu Jul 18 20:43:28 2013 +0200 drm2: Make the PAT code more compatible with FreeBSD * drm_mmap() still has issues with the memattr parameter Summary of changes: sys/dev/drm2/drm_gem.c | 1 - sys/dev/drm2/drm_vm.c | 8 ++-- sys/vm/device_pager.c | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9c89a01fb50f3e6ef3d179c1c01a89f24eb76172 -- DragonFly BSD source repository
git: i915_gem.c: Revisit initialization code
commit 04adb68c8cacb3f9aa3e9fd962aa7f7c0e4e13e9 Author: François Tigeot ftig...@wolfpond.org Date: Sun Jul 21 07:41:49 2013 +0200 i915_gem.c: Revisit initialization code Summary of changes: sys/dev/drm2/i915/i915_gem.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/04adb68c8cacb3f9aa3e9fd962aa7f7c0e4e13e9 -- DragonFly BSD source repository
git: drm2: Comment out i915_info_sysctl_handler()
commit 9116c3438539749e598092fde8a43a658f4118ab Author: François Tigeot ftig...@wolfpond.org Date: Tue Jul 30 21:31:34 2013 +0200 drm2: Comment out i915_info_sysctl_handler() Summary of changes: sys/dev/drm2/i915/i915_debug.c | 4 1 file changed, 4 insertions(+) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9116c3438539749e598092fde8a43a658f4118ab -- DragonFly BSD source repository
git: drm: disable drm_kms_helper_poll for now
commit ca44755915cf4d74bea861cefb66a732b10a77ee Author: Johannes Hofmann johannes.hofm...@gmx.de Date: Tue Jul 30 21:42:40 2013 +0200 drm: disable drm_kms_helper_poll for now Summary of changes: sys/dev/drm2/drm_crtc_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ca44755915cf4d74bea861cefb66a732b10a77ee -- DragonFly BSD source repository
git: drm2: Hook to DragonFly's build infrastructure
commit b757bf26f9b593eb020f4b75a63d60b2ed8e9b3e Author: François Tigeot ftig...@wolfpond.org Date: Thu Jun 7 10:44:09 2012 +0200 drm2: Hook to DragonFly's build infrastructure * The drm2+i915 code is built as kernel modules only * Remove unneeded dependency on 'mem' device Summary of changes: sys/bus/pci/vga_pci.c | 1 + sys/dev/Makefile | 1 + sys/dev/drm2/Makefile | 3 +++ sys/dev/drm2/drm_drv.c | 1 - sys/dev/drm2/drmn/Makefile | 36 sys/dev/drm2/i915/Makefile | 32 sys/platform/pc64/Makefile.inc | 2 +- 7 files changed, 74 insertions(+), 2 deletions(-) create mode 100644 sys/dev/drm2/Makefile create mode 100644 sys/dev/drm2/drmn/Makefile create mode 100644 sys/dev/drm2/i915/Makefile http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b757bf26f9b593eb020f4b75a63d60b2ed8e9b3e -- DragonFly BSD source repository
git: drm/i915: Add no-lvds quirk for Supermicro X7SPA-H
commit 6deb1069be846216dde382994e6c69b0006dba8d Author: Chris Wilson ch...@chris-wilson.co.uk Date: Thu Oct 18 20:07:01 2012 +0100 drm/i915: Add no-lvds quirk for Supermicro X7SPA-H Reported-and-tested-by: Francois Tigeot ftig...@wolfpond.org Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=55375 Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk Signed-off-by: Daniel Vetter daniel.vet...@ffwll.ch Summary of changes: sys/dev/drm2/i915/intel_lvds.c | 8 1 file changed, 8 insertions(+) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6deb1069be846216dde382994e6c69b0006dba8d -- DragonFly BSD source repository
git: drm: Properly initialize drm_debug_flag
commit 064f3b9398e71dfb223598bc1e9c1902a7e5c886 Author: glebius gleb...@freebsd.org Date: Fri Nov 2 05:26:33 2012 + drm: Properly initialize drm_debug_flag - If DRM_DEBUG_DEFAULT_ON is defined, then initialize drm_debug_flagi to all supported debugging bits. - If DRM_DEBUG_DEFAULT_ON isn't defined, then initialize drm_debug_flag to zero. DRM_DEBUG_DEFAULT_ON is defined when module is build with -DDEBUG_DRM or if kernel config has 'options DEBUG_DRM'. Reviewed by:kib Summary of changes: sys/dev/drm2/drm_drv.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/064f3b9398e71dfb223598bc1e9c1902a7e5c886 -- DragonFly BSD source repository
git: drm: Fix incorrect usage of taskqueue_thread
commit a3b0d30fb43cea61dacff1be86937ff46fae3d28 Author: François Tigeot ftig...@wolfpond.org Date: Wed Jul 31 13:48:38 2013 +0200 drm: Fix incorrect usage of taskqueue_thread Replace invalid occurences by taskqueue_thread[mycpuid] Summary of changes: sys/dev/drm2/drm_crtc_helper.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a3b0d30fb43cea61dacff1be86937ff46fae3d28 -- DragonFly BSD source repository
git: nrelease: Install a default pkg.conf from pkg(8)
commit a01c761336053e6b4df8e22573d6fbd2a48e4eba Author: François Tigeot ftig...@wolfpond.org Date: Thu Aug 1 09:13:06 2013 +0200 nrelease: Install a default pkg.conf from pkg(8) Do not hardcode the file contents anymore Summary of changes: nrelease/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a01c761336053e6b4df8e22573d6fbd2a48e4eba -- DragonFly BSD source repository
git: kernel: Fix bus_dmamem_alloc()
commit 7eb97ba2a602e79388aa3b1e5d7ce1d822bf06b7 Author: François Tigeot ftig...@wolfpond.org Date: Fri Aug 2 19:02:55 2013 +0200 kernel: Fix bus_dmamem_alloc() Its call to pmap_change_attr() contained a typo which caused kernel panics on some machines. Reported-by: Markus Pfeiffer With-advice-from: Venkatesh Srinivas Summary of changes: sys/platform/pc64/x86_64/busdma_machdep.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7eb97ba2a602e79388aa3b1e5d7ce1d822bf06b7 -- DragonFly BSD source repository
git: drm2: Synchronize with FreeBSD
commit ef56dbd78d07b43efd1eb721293028b1bd63cf2a Author: François Tigeot ftig...@wolfpond.org Date: Sun Aug 4 14:14:46 2013 +0200 drm2: Synchronize with FreeBSD as of r253709 (2013-07-27): The pmap_qenter() and pmap_qremove() perform TLB invalidation on its own, no need to call pmap_invalidate_range() one more time. Summary of changes: sys/dev/drm2/drmP.h | 3 +- sys/dev/drm2/drm_dp_iic_helper.c | 4 +- sys/dev/drm2/drm_edid.c | 6 +- sys/dev/drm2/drm_global.c| 109 +++ sys/dev/drm2/{drm_hashtab.h = drm_global.h} | 54 ++--- sys/dev/drm2/drm_mm.c| 39 +- sys/dev/drm2/drm_mm.h| 4 +- sys/dev/drm2/drmn/Makefile | 1 + sys/dev/drm2/i915/i915_gem.c | 25 +- sys/dev/drm2/i915/intel_fb.c | 5 +- sys/dev/drm2/i915/intel_iic.c| 16 ++-- sys/dev/drm2/i915/intel_modes.c | 6 +- sys/dev/drm2/i915/intel_ringbuffer.c | 12 +-- sys/dev/drm2/i915/intel_sdvo.c | 14 ++-- sys/dev/misc/syscons/scvgarndr.c | 7 +- 15 files changed, 227 insertions(+), 78 deletions(-) create mode 100644 sys/dev/drm2/drm_global.c copy sys/dev/drm2/{drm_hashtab.h = drm_global.h} (50%) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ef56dbd78d07b43efd1eb721293028b1bd63cf2a -- DragonFly BSD source repository
git: drm/i915: Do not check only primary displays
commit 60ee83d67c80c76392698fd2357756294368a167 Author: François Tigeot ftig...@wolfpond.org Date: Sun Aug 4 16:58:23 2013 +0200 drm/i915: Do not check only primary displays * On IBM-PC compatible systems, only one graphic adapter can be VGA-compatible at the same time * This adapter is marked with the PCIS_DISPLAY_VGA capability in the PCI device list * With KMS, we do not care about VGA compatibility anymore; let's just use whatever hardware is present * Tested-with: A radeon X550 as primary display adapter Summary of changes: sys/dev/drm2/drm_drv.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/60ee83d67c80c76392698fd2357756294368a167 -- DragonFly BSD source repository
git: drm: Implement dmi_check_system()
commit 317a6a83b8cecd3c59b8bfc16cb62a81d433ec12 Author: François Tigeot ftig...@wolfpond.org Date: Wed Aug 7 18:55:41 2013 +0200 drm: Implement dmi_check_system() * The original function imported from FreeBSD was just a stub * Replace it by a working implementation from OpenBSD * And modify it slightly to use SMBIOS information from the loader * This makes it possible to avoid display detection issues on some slightly broken hardware reporting phantom outputs or other weird invalid data. Summary of changes: sys/dev/drm2/drmP.h| 2 ++ sys/dev/drm2/drm_drv.c | 50 -- 2 files changed, 50 insertions(+), 2 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/317a6a83b8cecd3c59b8bfc16cb62a81d433ec12 -- DragonFly BSD source repository
git: drm: Use NELEM() in dmi_check_system()
commit 65a57bfbfd7f29471db50bfd5100969d7434f888 Author: François Tigeot ftig...@wolfpond.org Date: Thu Aug 8 07:33:21 2013 +0200 drm: Use NELEM() in dmi_check_system() Spotted-by: swildner Summary of changes: sys/dev/drm2/drmP.h| 2 -- sys/dev/drm2/drm_drv.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/65a57bfbfd7f29471db50bfd5100969d7434f888 -- DragonFly BSD source repository
git: kernel: Add VM_MAX_ADDRESS and VM_MIN_ADDRESS constants
commit 8cd7f47bf0ebf98d5aed0ed45b220db2bdb58c94 Author: François Tigeot ftig...@wolfpond.org Date: Thu Aug 8 08:28:44 2013 +0200 kernel: Add VM_MAX_ADDRESS and VM_MIN_ADDRESS constants Summary of changes: sys/platform/pc32/include/vmparam.h | 3 +++ sys/platform/pc64/include/vmparam.h | 3 +++ 2 files changed, 6 insertions(+) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8cd7f47bf0ebf98d5aed0ed45b220db2bdb58c94 -- DragonFly BSD source repository
git: kernel: Add pmap_page_set_memattr()
commit ec1a31dd9d2ad3ee87a13b9fff3409942805185f Author: François Tigeot ftig...@wolfpond.org Date: Tue Aug 6 11:44:51 2013 +0200 kernel: Add pmap_page_set_memattr() Obtained-from: FreeBSD Summary of changes: sys/platform/pc32/i386/pmap.c| 18 ++ sys/platform/pc32/include/pmap.h | 4 sys/platform/pc64/include/pmap.h | 5 - sys/platform/pc64/x86_64/pmap.c | 19 +++ 4 files changed, 45 insertions(+), 1 deletion(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ec1a31dd9d2ad3ee87a13b9fff3409942805185f -- DragonFly BSD source repository
git: Avoid potentially freeing NULL pointers in dmi_found()
commit 165eabac60e439098d14660fe92cecda026d41a7 Author: François Tigeot ftig...@wolfpond.org Date: Thu Aug 8 13:49:08 2013 +0200 Avoid potentially freeing NULL pointers in dmi_found() Summary of changes: sys/dev/drm2/drm_drv.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/165eabac60e439098d14660fe92cecda026d41a7 -- DragonFly BSD source repository
git: drm: Move PROC_LOCK define to common file
commit 95565f2aa9afacb0c7427a7e6187a209772a4c78 Author: François Tigeot ftig...@wolfpond.org Date: Wed Aug 7 17:19:24 2013 +0200 drm: Move PROC_LOCK define to common file Summary of changes: sys/dev/drm2/drmP.h | 5 + sys/dev/drm2/i915/i915_gem.c | 3 --- 2 files changed, 5 insertions(+), 3 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/95565f2aa9afacb0c7427a7e6187a209772a4c78 -- DragonFly BSD source repository
git: drm: Locally implement VM_OBJECT_LOCK variants
commit 65b4ee27d80835be2c4d5e0b4b19fe40975ec8d7 Author: François Tigeot ftig...@wolfpond.org Date: Thu Aug 8 17:51:25 2013 +0200 drm: Locally implement VM_OBJECT_LOCK variants Summary of changes: sys/dev/drm2/drmP.h | 5 + 1 file changed, 5 insertions(+) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/65b4ee27d80835be2c4d5e0b4b19fe40975ec8d7 -- DragonFly BSD source repository
git: drm: Import the ttm memory manager from FreeBSD
commit 5c9d63cf3083cc6837b6ff10d9d13ddd61854a26 Author: François Tigeot ftig...@wolfpond.org Date: Sun Aug 4 08:11:28 2013 +0200 drm: Import the ttm memory manager from FreeBSD It is needed by some recent GPU drivers such as nouveau and radeon for nvidia and AMD hardware Summary of changes: sys/dev/drm2/drmP.h |9 +- sys/dev/drm2/drm_drv.c| 25 +- sys/dev/drm2/drm_gem.c|8 +- sys/dev/drm2/drm_vm.c | 10 +- sys/dev/drm2/drmn/Makefile| 14 +- sys/dev/drm2/ttm/ttm_agp_backend.c| 144 +++ sys/dev/drm2/ttm/ttm_bo.c | 1818 + sys/dev/drm2/ttm/ttm_bo_api.h | 740 ++ sys/dev/drm2/ttm/ttm_bo_driver.h | 1018 ++ sys/dev/drm2/ttm/ttm_bo_manager.c | 156 +++ sys/dev/drm2/ttm/ttm_bo_util.c| 658 sys/dev/drm2/ttm/ttm_bo_vm.c | 497 + sys/dev/drm2/ttm/ttm_execbuf_util.c | 228 + sys/dev/drm2/ttm/ttm_execbuf_util.h | 109 ++ sys/dev/drm2/ttm/ttm_lock.c | 339 ++ sys/dev/drm2/ttm/ttm_lock.h | 228 + sys/dev/drm2/ttm/ttm_memory.c | 467 + sys/dev/drm2/ttm/ttm_memory.h | 149 +++ sys/dev/drm2/ttm/ttm_module.h | 37 + sys/dev/drm2/ttm/ttm_object.c | 453 sys/dev/drm2/ttm/ttm_object.h | 271 + sys/dev/drm2/ttm/ttm_page_alloc.c | 900 sys/dev/drm2/ttm/ttm_page_alloc.h | 103 ++ sys/dev/drm2/ttm/ttm_page_alloc_dma.c | 1133 sys/dev/drm2/ttm/ttm_placement.h | 93 ++ sys/dev/drm2/ttm/ttm_tt.c | 370 +++ 26 files changed, 9956 insertions(+), 21 deletions(-) create mode 100644 sys/dev/drm2/ttm/ttm_agp_backend.c create mode 100644 sys/dev/drm2/ttm/ttm_bo.c create mode 100644 sys/dev/drm2/ttm/ttm_bo_api.h create mode 100644 sys/dev/drm2/ttm/ttm_bo_driver.h create mode 100644 sys/dev/drm2/ttm/ttm_bo_manager.c create mode 100644 sys/dev/drm2/ttm/ttm_bo_util.c create mode 100644 sys/dev/drm2/ttm/ttm_bo_vm.c create mode 100644 sys/dev/drm2/ttm/ttm_execbuf_util.c create mode 100644 sys/dev/drm2/ttm/ttm_execbuf_util.h create mode 100644 sys/dev/drm2/ttm/ttm_lock.c create mode 100644 sys/dev/drm2/ttm/ttm_lock.h create mode 100644 sys/dev/drm2/ttm/ttm_memory.c create mode 100644 sys/dev/drm2/ttm/ttm_memory.h create mode 100644 sys/dev/drm2/ttm/ttm_module.h create mode 100644 sys/dev/drm2/ttm/ttm_object.c create mode 100644 sys/dev/drm2/ttm/ttm_object.h create mode 100644 sys/dev/drm2/ttm/ttm_page_alloc.c create mode 100644 sys/dev/drm2/ttm/ttm_page_alloc.h create mode 100644 sys/dev/drm2/ttm/ttm_page_alloc_dma.c create mode 100644 sys/dev/drm2/ttm/ttm_placement.h create mode 100644 sys/dev/drm2/ttm/ttm_tt.c http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5c9d63cf3083cc6837b6ff10d9d13ddd61854a26 -- DragonFly BSD source repository
git: ttm porting: Translate locking primitives
commit 1716017eecf02e0587b5f5ccf355c868f43a54ac Author: François Tigeot ftig...@wolfpond.org Date: Mon Aug 5 21:12:10 2013 +0200 ttm porting: Translate locking primitives * rw locks to lockmgr locks * sx locks to lockmgr locks * Some mtx locks to lockmgr locks * Some mtx_locks to spinlocks Some more locks could probably be converted to spinlocks but this can be dangerous. Better use lockmgr locks first and be sure the code runs without any issue before trying to optimize it. Summary of changes: sys/dev/drm2/ttm/ttm_bo.c | 140 ++-- sys/dev/drm2/ttm/ttm_bo_driver.h| 10 +-- sys/dev/drm2/ttm/ttm_bo_manager.c | 26 +++ sys/dev/drm2/ttm/ttm_bo_util.c | 13 ++-- sys/dev/drm2/ttm/ttm_bo_vm.c| 10 +-- sys/dev/drm2/ttm/ttm_execbuf_util.c | 24 +++ sys/dev/drm2/ttm/ttm_lock.c | 38 +- sys/dev/drm2/ttm/ttm_lock.h | 2 +- sys/dev/drm2/ttm/ttm_memory.c | 23 +++--- sys/dev/drm2/ttm/ttm_memory.h | 12 ++-- sys/dev/drm2/ttm/ttm_object.c | 60 sys/dev/drm2/ttm/ttm_page_alloc.c | 22 +++--- 12 files changed, 190 insertions(+), 190 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1716017eecf02e0587b5f5ccf355c868f43a54ac -- DragonFly BSD source repository
git: ttm porting: msleep = lksleep
commit a6a1d5fe4f048e7fed8ab3c8659cdf15c7b4b4af Author: François Tigeot ftig...@wolfpond.org Date: Tue Aug 6 08:38:18 2013 +0200 ttm porting: msleep = lksleep Summary of changes: sys/dev/drm2/ttm/ttm_bo.c | 2 +- sys/dev/drm2/ttm/ttm_lock.c | 10 +- 2 files changed, 6 insertions(+), 6 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a6a1d5fe4f048e7fed8ab3c8659cdf15c7b4b4af -- DragonFly BSD source repository
git: ttm porting: Fix vm_page_alloc_contig() calls
commit 19ecc351e19ef26d09377ac4d763a304240bcaa0 Author: François Tigeot ftig...@wolfpond.org Date: Wed Aug 7 09:54:47 2013 +0200 ttm porting: Fix vm_page_alloc_contig() calls Summary of changes: sys/dev/drm2/ttm/ttm_bo.c | 5 ++--- sys/dev/drm2/ttm/ttm_page_alloc.c | 8 2 files changed, 6 insertions(+), 7 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/19ecc351e19ef26d09377ac4d763a304240bcaa0 -- DragonFly BSD source repository
git: ttm porting: Small changes (1/3)
commit e3f760444cde20c441b49ede5dad168e1cb07e76 Author: François Tigeot ftig...@wolfpond.org Date: Wed Aug 7 17:33:41 2013 +0200 ttm porting: Small changes (1/3) * fix kern_psignal() * fix sf_buf.h * TAILQ_FOREACH_XXX_SAFE = TAILQ_FOREACH_XXX_MUTABLE() * mb() = cpu_mfence() * kernel_map = kernel_map * fix kmem_alloc_nofault() calls * taskqueue_thread = taskqueue_thread[mycpuid] Summary of changes: sys/dev/drm2/ttm/ttm_bo.c | 18 +- sys/dev/drm2/ttm/ttm_bo_util.c| 12 ++-- sys/dev/drm2/ttm/ttm_lock.c | 2 +- sys/dev/drm2/ttm/ttm_page_alloc.c | 2 +- 4 files changed, 17 insertions(+), 17 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e3f760444cde20c441b49ede5dad168e1cb07e76 -- DragonFly BSD source repository
git: ttm porting: Small changes (2/3)
commit 7b95d6139e5c4e2da390fb685fcdf7a8bb3aeb36 Author: François Tigeot ftig...@wolfpond.org Date: Wed Aug 7 11:47:43 2013 +0200 ttm porting: Small changes (2/3) * Remove vm_page_lock() and vm_page_unlock() * vm_page_busy() = vm_page_busy_try() * Replace kern_yield() by lwkt_yield() * Remove vm_page_sleep() calls * vm_pager_allocate() = swap_pager_alloc() * vm_pager_get_pages() = vm_pager_get_page() * Fix vm_pager_has_page() call Summary of changes: sys/dev/drm2/ttm/ttm_bo_vm.c | 12 +--- sys/dev/drm2/ttm/ttm_tt.c| 13 - 2 files changed, 13 insertions(+), 12 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7b95d6139e5c4e2da390fb685fcdf7a8bb3aeb36 -- DragonFly BSD source repository
git: ttm porting: Small changes (3/3)
commit de1dfd9f5582b9b05eb89ce8b54f3e1a71bbbaca Author: François Tigeot ftig...@wolfpond.org Date: Wed Aug 7 13:00:58 2013 +0200 ttm porting: Small changes (3/3) * Fix taskqueue_start_threads() calls * Remove VPO_UNMANAGED * Remove VM_ALLOC_WIRED and VM_ALLOC_NOOBJ * Remove VM_ALLOC_NOBUSY * Replace VPO_BUSY by PG_BUSY * Fix calls to pmap_copy_page() * Fix calls to pmap_zero_page() Summary of changes: sys/dev/drm2/ttm/ttm_bo_vm.c | 2 +- sys/dev/drm2/ttm/ttm_memory.c | 2 +- sys/dev/drm2/ttm/ttm_page_alloc.c | 14 ++ sys/dev/drm2/ttm/ttm_tt.c | 9 + 4 files changed, 17 insertions(+), 10 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/de1dfd9f5582b9b05eb89ce8b54f3e1a71bbbaca -- DragonFly BSD source repository
git: doc: Update porting_drivers.txt
commit 4b3fb495bad972b73b24a6b36bef540544159693 Author: François Tigeot ftig...@wolfpond.org Date: Mon Aug 5 22:22:52 2013 +0200 doc: Update porting_drivers.txt Summary of changes: doc/porting_drivers.txt | 27 +++ 1 file changed, 27 insertions(+) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4b3fb495bad972b73b24a6b36bef540544159693 -- DragonFly BSD source repository