git: drm: Sync drm/drmP.h with Linux 4.7.10

2018-09-08 Thread Francois Tigeot
commit 62bba8f63c2bef1dbddea199f9709bde3c92b665 Author: François Tigeot Date: Sat Sep 8 14:26:15 2018 +0200 drm: Sync drm/drmP.h with Linux 4.7.10 Remove most generic kernel includes, in order to avoid Linux/DragonFly keyword clashes as much as possible in the future. Summa

git: drm/linux: use pgprot_t

2018-09-16 Thread Francois Tigeot
commit b381679358995ee125a1d55d074865aa9962fc5e Author: François Tigeot Date: Sun Sep 16 09:20:37 2018 +0200 drm/linux: use pgprot_t Summary of changes: sys/dev/drm/include/asm/page.h | 2 ++ sys/dev/drm/include/linux/vmalloc.h | 4 ++-- sys/dev/drm/linux_vmalloc.c | 2 +-

git: drm/linux: Increase coverage of the page protection APIs

2018-09-16 Thread Francois Tigeot
commit 1ca9f5d2f795150c40d708639e177f4ea8600e66 Author: François Tigeot Date: Sun Sep 16 09:28:44 2018 +0200 drm/linux: Increase coverage of the page protection APIs Summary of changes: sys/dev/drm/include/asm/pgtable.h | 5 + sys/dev/drm/include/asm/pgtable_types.h | 21 +++

git: drm/ttm: Use Linux memory management functions

2018-09-18 Thread Francois Tigeot
commit e5c1d8f16218300bb493e2ee2a847122cba795cb Author: François Tigeot Date: Tue Sep 18 21:24:09 2018 +0200 drm/ttm: Use Linux memory management functions Reducing differences with the Linux code base. Summary of changes: sys/dev/drm/ttm/ttm_bo.c | 11 ++ sys/

git: drm/linux: Implement more kobject parts

2018-09-19 Thread Francois Tigeot
commit 15dba7a934ccec493b5479b70a07107f7689c597 Author: François Tigeot Date: Wed Sep 19 19:52:15 2018 +0200 drm/linux: Implement more kobject parts Summary of changes: sys/conf/files | 1 + sys/dev/drm/drm/Makefile | 1 +

git: drm/ttm: Use Linux kobjects

2018-09-19 Thread Francois Tigeot
commit 3a2096e8e9e6a169d2b3e1eaa595e1af6c3582db Author: François Tigeot Date: Wed Sep 19 20:07:35 2018 +0200 drm/ttm: Use Linux kobjects * Reducing differences with Linux * Changes based on Linux commit ecff665f5e3f1c6909353e00b9420e45ae23d995 "drm/ttm: make ttm r

git: drm/ttm: Use mutex_lock/mutex_unlock

2018-09-22 Thread Francois Tigeot
commit b633269ad0b235c925f158c918faa3ad92ba01d0 Author: François Tigeot Date: Sat Sep 22 10:07:31 2018 +0200 drm/ttm: Use mutex_lock/mutex_unlock Summary of changes: sys/dev/drm/ttm/ttm_bo.c | 8 sys/dev/drm/ttm/ttm_bo_util.c | 4 ++-- 2 files changed, 6 insertions(+), 6

git: drm/ttm: Rename ttm_mem_global.spin to ttm_mem_global.lock

2018-09-22 Thread Francois Tigeot
commit c360c162a13b64c3d43a13746ca1a4ca2ee95f63 Author: François Tigeot Date: Sat Sep 22 10:28:23 2018 +0200 drm/ttm: Rename ttm_mem_global.spin to ttm_mem_global.lock It was named so in Linux in the first place. Summary of changes: sys/dev/drm/include/drm/ttm/ttm_memory.h | 1

git: drm/ttm: convert to the reservation api

2018-09-23 Thread Francois Tigeot
commit c05dd8dc1634d5a751604913c322ee97f9510e46 Author: François Tigeot Date: Sun Sep 23 15:41:47 2018 +0200 drm/ttm: convert to the reservation api Summary of changes: sys/dev/drm/include/drm/ttm/ttm_bo_api.h | 16 +-- sys/dev/drm/include/drm/ttm/ttm_bo_driver.h| 7 +- sy

git: drm/linux: Implement more reservation objects code

2018-09-23 Thread Francois Tigeot
commit 3306aed32bd06e8fac6a1ae8a081ce9c5dd4ffc6 Author: François Tigeot Date: Sun Sep 23 15:30:35 2018 +0200 drm/linux: Implement more reservation objects code Summary of changes: sys/conf/files | 1 + sys/dev/drm/drm/Makefile

git: Revert "drm/ttm: convert to the reservation api"

2018-09-26 Thread Francois Tigeot
commit 29bffcd3e48b270b6cd00955c5dcba18cbe2813e Author: François Tigeot Date: Thu Sep 27 07:07:37 2018 +0200 Revert "drm/ttm: convert to the reservation api" This reverts commit c05dd8dc1634d5a751604913c322ee97f9510e46. There is something very wrong with ww mutexes. Su

git: drm/linux: Implement lockdep_assert_held()

2018-09-28 Thread Francois Tigeot
commit e6a0288b0ebd3aa1da947e3d814608f394d15faf Author: François Tigeot Date: Fri Sep 28 15:27:19 2018 +0200 drm/linux: Implement lockdep_assert_held() Summary of changes: sys/dev/drm/include/linux/lockdep.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) http://gitweb.dragon

git: drm/radeon: Pass dma-buf as argument to gem_prime_import_sg_table

2018-09-29 Thread Francois Tigeot
commit 54cb39ba56e92d4eba0c66d3bec78a920315e124 Author: François Tigeot Date: Sat Sep 29 21:22:05 2018 +0200 drm/radeon: Pass dma-buf as argument to gem_prime_import_sg_table Summary of changes: sys/dev/drm/radeon/radeon_drv.c | 2 +- sys/dev/drm/radeon/radeon_prime.c | 5 +++-- 2 fi

git: drm/radeon/dpm: drop clk/voltage dependency filters for SI

2018-09-29 Thread Francois Tigeot
commit cd93a6ba249da50db34ed73d8e32eae02954bd2c Author: François Tigeot Date: Sat Sep 29 21:33:40 2018 +0200 drm/radeon/dpm: drop clk/voltage dependency filters for SI Summary of changes: sys/dev/drm/radeon/si_dpm.c | 24 1 file changed, 24 deletions(-) http:/

git: drm/radeon: drop btc_get_max_clock_from_voltage_dependency_table

2018-09-29 Thread Francois Tigeot
commit 0b644c8fdb1c585ac61308d80c0510dd82ef058d Author: François Tigeot Date: Sat Sep 29 21:48:35 2018 +0200 drm/radeon: drop btc_get_max_clock_from_voltage_dependency_table Summary of changes: sys/dev/drm/radeon/btc_dpm.c | 17 - sys/dev/drm/radeon/btc_dpm.h | 2 -- 2

git: drm/linux: Add rcu_dereference_protected()

2018-10-07 Thread Francois Tigeot
commit 21c41fae3cd6bd8ed0de910edcbb3f2f3b44dbb1 Author: François Tigeot Date: Sun Oct 7 14:27:27 2018 +0200 drm/linux: Add rcu_dereference_protected() Summary of changes: sys/dev/drm/include/linux/rcupdate.h | 3 +++ 1 file changed, 3 insertions(+) http://gitweb.dragonflybsd.org/drago

git: drm: Add linux/interval_tree.h

2018-10-07 Thread Francois Tigeot
commit d7d2af7d689561d948ceb40ab46c06476e9e6d8c Author: François Tigeot Date: Sun Oct 7 14:47:03 2018 +0200 drm: Add linux/interval_tree.h Summary of changes: .../drm/include/linux/{irqreturn.h => interval_tree.h} | 17 + 1 file changed, 9 insertions(+), 8 deletions(-)

git: drm/linux: Add a few headers

2018-10-11 Thread Francois Tigeot
commit 5396612462ce314335b115530de65722e2e0e043 Author: François Tigeot Date: Thu Oct 11 22:26:42 2018 +0200 drm/linux: Add a few headers Summary of changes: sys/dev/drm/include/linux/{irqreturn.h => hwmon.h} | 14 +-- sys/dev/drm/include/linux/{ratelimit.h => leds.h} | 10 +++

git: drm/radeon: Reduce differences with Linux 3.18

2018-10-11 Thread Francois Tigeot
commit a39b2473bee3b2a048a329ecc7f76a90fc02ea4d Author: François Tigeot Date: Thu Oct 11 22:38:26 2018 +0200 drm/radeon: Reduce differences with Linux 3.18 No functional changes Summary of changes: sys/dev/drm/radeon/atom.h |1 + sys/dev/drm/radeon/radeon_drv.h

git: drm/radeon: Finish replacing task queues by Linux work queues

2018-10-11 Thread Francois Tigeot
commit 2c5cc6b96cf93fb12c3fb84f89a17bb9a61225db Author: François Tigeot Date: Thu Oct 11 22:40:30 2018 +0200 drm/radeon: Finish replacing task queues by Linux work queues Summary of changes: sys/dev/drm/radeon/cik.c| 4 ++-- sys/dev/drm/radeon/evergreen.c | 6 +++---

git: drm/radeon: add missing ttm_eu_backoff_reservation to radeon_bo_list_validate

2018-10-12 Thread Francois Tigeot
commit 5fc68e26431ea56bd78a3aa3b0d076c45e360ee2 Author: François Tigeot Date: Fri Oct 12 22:50:58 2018 +0200 drm/radeon: add missing ttm_eu_backoff_reservation to radeon_bo_list_validate Summary of changes: sys/dev/drm/radeon/radeon_object.c | 1 + 1 file changed, 1 insertion(+) http

git: drm/linux: Fix potential ww mutex induced panics

2018-10-15 Thread Francois Tigeot
commit 169b6cefef9b3d56097dad138b3d0af6d1bd8312 Author: François Tigeot Date: Mon Oct 15 22:17:54 2018 +0200 drm/linux: Fix potential ww mutex induced panics ww mutex locking functions can be called with a NULL ctx and were happily setting both lock->acquired to non-zero and

git: drm: Add linux/rwlock.h

2018-11-03 Thread Francois Tigeot
commit 43cc53d1db4abbfaf0a0c954565393323b1065a6 Author: François Tigeot Date: Sat Nov 3 14:07:50 2018 +0100 drm: Add linux/rwlock.h Summary of changes: sys/dev/drm/include/{asm/pgalloc.h => linux/rwlock.h} | 11 +-- sys/dev/drm/include/linux/sched.h | 2 ++

git: drm/ttm: Remove ttm_bo_unreserve_core()

2018-11-03 Thread Francois Tigeot
commit 5d4803440754b62fed1abd6d641d1f7a6f7b454e Author: François Tigeot Date: Sat Nov 3 15:18:38 2018 +0100 drm/ttm: Remove ttm_bo_unreserve_core() * This function was DragonFly-specific and apparently isn't even needed anymore * Sync the changed code with Linux a

git: drm/linux: Fix vmap()

2018-11-05 Thread Francois Tigeot
commit c9f83a72b5c7c2f29b40b404aa63767b20a7422c Author: François Tigeot Date: Mon Nov 5 22:15:18 2018 +0100 drm/linux: Fix vmap() Page protection information was not being used. Summary of changes: sys/dev/drm/linux_vmalloc.c | 4 1 file changed, 4 insertions(+) http://g

git: drm/linux: fix pgprot_xxx functions

2018-11-06 Thread Francois Tigeot
commit c5cb444a188f6b4bc890e750a7351696ead5d008 Author: François Tigeot Date: Tue Nov 6 18:32:51 2018 +0100 drm/linux: fix pgprot_xxx functions Summary of changes: sys/dev/drm/include/asm/pgtable.h | 2 +- sys/dev/drm/include/asm/pgtable_types.h | 2 +- 2 files changed, 2 inserti

git: drm/ttm: Rework ttm_io_prot()

2018-11-07 Thread Francois Tigeot
commit 4f125aeae976b3eb5c1646e70ad74ed69db62f11 Author: François Tigeot Date: Wed Nov 7 23:18:51 2018 +0100 drm/ttm: Rework ttm_io_prot() Change it to be as close to the Linux version as possible. Summary of changes: sys/dev/drm/include/drm/ttm/ttm_bo_driver.h | 3 +- sys/dev

git: drm/linux: Add send_sig()

2018-11-09 Thread Francois Tigeot
commit c58e4e0a341f34a89bba2c7ce596b94264c8097d Author: François Tigeot Date: Fri Nov 9 18:34:19 2018 +0100 drm/linux: Add send_sig() Summary of changes: sys/dev/drm/include/linux/sched.h | 7 +++ 1 file changed, 7 insertions(+) http://gitweb.dragonflybsd.org/dragonfly.git/commitd

git: drm/ttm: Sync ttm_lock.c with Linux

2018-11-10 Thread Francois Tigeot
commit 652c4042c7549eab6854eb7d36970bef0205a821 Author: François Tigeot Date: Sat Nov 10 09:31:20 2018 +0100 drm/ttm: Sync ttm_lock.c with Linux Summary of changes: sys/dev/drm/ttm/ttm_lock.c | 156 + 1 file changed, 58 insertions(+), 98 dele

git: drm/ttm: Sync ttm_execbuf_util.c with Linux

2018-11-11 Thread Francois Tigeot
commit fb15202ca65065a9db8fb9fd523efd6e11c370c7 Author: François Tigeot Date: Sun Nov 11 09:18:03 2018 +0100 drm/ttm: Sync ttm_execbuf_util.c with Linux Summary of changes: sys/dev/drm/ttm/ttm_execbuf_util.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) http://git

git: drm/linux: Add a few GFP_XXX values

2018-11-14 Thread Francois Tigeot
commit 9e08aba5f9836f672cbe00edd198925fd19be399 Author: François Tigeot Date: Wed Nov 14 18:42:49 2018 +0100 drm/linux: Add a few GFP_XXX values Summary of changes: sys/dev/drm/include/linux/gfp.h | 3 +++ 1 file changed, 3 insertions(+) http://gitweb.dragonflybsd.org/dragonfly.git/co

git: drm/ttm: Remove sf_buf usage

2018-11-14 Thread Francois Tigeot
commit f146ed7f9a7f659b28040f51c1a94c2f32786c36 Author: François Tigeot Date: Wed Nov 14 19:35:30 2018 +0100 drm/ttm: Remove sf_buf usage * Use Linux memory allocation/mapping functions instead. * Opportunistically sync some code with Linux Summary of changes: sys/dev

git: Revert "drm/linux: Fix vmap()"

2018-11-17 Thread Francois Tigeot
commit 85e07d54249720fda626d3b6a3b476e2be925664 Author: François Tigeot Date: Sat Nov 17 14:41:21 2018 +0100 Revert "drm/linux: Fix vmap()" This reverts commit c9f83a72b5c7c2f29b40b404aa63767b20a7422c. It introduced instability on Broadwell platforms. Reported-

git: DragonFly_RELEASE_5_4 Revert "drm/ttm: Remove ttm_bo_unreserve_core()"

2018-11-24 Thread Francois Tigeot
commit be6b3f4b5a6906bb19dd7ce72d2fe3077f612644 Author: François Tigeot Date: Sat Nov 24 14:12:34 2018 +0100 Revert "drm/ttm: Remove ttm_bo_unreserve_core()" This reverts commit 5d4803440754b62fed1abd6d641d1f7a6f7b454e. The drm/radeon driver has a tendency to lock up mo

git: drm/linux: Add set_pages_array_xx() functions

2018-11-25 Thread Francois Tigeot
commit 51933d896e08bbcf747b25f186ea714cf72c52f5 Author: François Tigeot Date: Sun Nov 25 16:28:33 2018 +0100 drm/linux: Add set_pages_array_xx() functions Summary of changes: sys/dev/drm/include/asm/cacheflush.h | 27 +++ sys/dev/drm/ttm/ttm_page_alloc.c |

git: drm/ttm: Sync ttm_page_alloc.c with Linux

2018-11-25 Thread Francois Tigeot
commit 6af927c246477a611cb86e64d0fc46a39284 Author: François Tigeot Date: Sun Nov 25 16:54:27 2018 +0100 drm/ttm: Sync ttm_page_alloc.c with Linux Summary of changes: sys/dev/drm/ttm/ttm_page_alloc.c | 208 ++- 1 file changed, 94 insertions(+), 1

git: drm includes: Rename uapi_xxx to uapi/xxx

2018-11-28 Thread Francois Tigeot
commit 83b4b9b96d578e400ab5890b64f60d69d4429e75 Author: François Tigeot Date: Wed Nov 28 21:16:37 2018 +0100 drm includes: Rename uapi_xxx to uapi/xxx Making the include hierarchy 100% compatible with the Linux one. Summary of changes: sys/conf/kern.pre.mk

git: Revert "drm/ttm: Remove ttm_bo_unreserve_core()"

2018-12-04 Thread Francois Tigeot
commit 46035c87e8ea0b07478acee2b68e51cf7815279d Author: François Tigeot Date: Sat Nov 24 14:12:34 2018 +0100 Revert "drm/ttm: Remove ttm_bo_unreserve_core()" This reverts commit 5d4803440754b62fed1abd6d641d1f7a6f7b454e. The drm/radeon driver has a tendency to lock up mo

git: drm/i915: Add more Coffeelake PCI IDs

2018-12-04 Thread Francois Tigeot
commit 18a1af58986b6b38543f025e24df9a31894e1f8f Author: François Tigeot Date: Tue Dec 4 21:57:46 2018 +0100 drm/i915: Add more Coffeelake PCI IDs Obtained-from: Linux 4.19 Summary of changes: sys/dev/drm/i915/i915_drv.c | 16 sys/dev/drm/include/drm/

git: drm/i915: Add Whiskey Lake PCI IDs

2018-12-04 Thread Francois Tigeot
commit e755878b6e131eac651e6720e159c4184111ef0d Author: François Tigeot Date: Tue Dec 4 22:27:20 2018 +0100 drm/i915: Add Whiskey Lake PCI IDs Obtained-from: Linux 4.19 Summary of changes: sys/dev/drm/i915/i915_drv.c | 3 +++ sys/dev/drm/include/drm/i915_pciids.h |

git: drm/i915: Add Kaby Lake and Amber Lake PCI IDs

2018-12-04 Thread Francois Tigeot
commit 198d2d2abe5943113f9560f44c9155963d17190e Author: François Tigeot Date: Tue Dec 4 22:54:39 2018 +0100 drm/i915: Add Kaby Lake and Amber Lake PCI IDs Obtained-from: Linux 4.19 Summary of changes: sys/dev/drm/i915/i915_drv.c | 7 +++ sys/dev/drm/include/drm/

git: byteorder(3): Remove a VAX comment

2018-12-08 Thread Francois Tigeot
commit 563721240355ccee14b7626025e1ecf93f6cd014 Author: François Tigeot Date: Sat Dec 8 15:41:24 2018 +0100 byteorder(3): Remove a VAX comment Summary of changes: lib/libc/net/byteorder.3 | 7 --- 1 file changed, 7 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdi

git: drm: Add the DRM_IOCTL_GET_PCIINFO ioctl

2018-12-10 Thread Francois Tigeot
commit 8a697a22391bbafe215fab92a6cb29ed3a1f6edf Author: François Tigeot Date: Mon Dec 10 23:06:11 2018 +0100 drm: Add the DRM_IOCTL_GET_PCIINFO ioctl * It provides an easy way to get PCI device information from a /dev file descriptor * The main user will be mesa/l

git: drm: Add missing file uapi/linux/pci.h

2018-12-11 Thread Francois Tigeot
commit 1cefe05a9d7d319e466c0d8ba788849b2a8eb417 Author: François Tigeot Date: Tue Dec 11 07:56:18 2018 +0100 drm: Add missing file uapi/linux/pci.h Summary of changes: sys/dev/drm/include/linux/pci.h | 5 - sys/dev/drm/include/{asm => uapi/linux}/pci.h | 12 +++--

git: DragonFly_RELEASE_5_4 drm/i915: Add Kaby Lake and Amber Lake PCI IDs

2018-12-15 Thread Francois Tigeot
commit 34e6ee5120840d049cf0345b4b7f47bfcfc52ac8 Author: François Tigeot Date: Tue Dec 4 22:54:39 2018 +0100 drm/i915: Add Kaby Lake and Amber Lake PCI IDs Obtained-from: Linux 4.19 Summary of changes: sys/dev/drm/i915/i915_drv.c | 7 +++ sys/dev/drm/include/drm/

git: DragonFly_RELEASE_5_4 drm/i915: Add Whiskey Lake PCI IDs

2018-12-15 Thread Francois Tigeot
commit 9d105a5ed86e4292499975e9aa42c31e4bd4ee39 Author: François Tigeot Date: Tue Dec 4 22:27:20 2018 +0100 drm/i915: Add Whiskey Lake PCI IDs Obtained-from: Linux 4.19 Summary of changes: sys/dev/drm/i915/i915_drv.c | 3 +++ sys/dev/drm/include/drm/i915_pciids.h |

git: DragonFly_RELEASE_5_4 drm/i915: Add more Coffeelake PCI IDs

2018-12-15 Thread Francois Tigeot
commit 73c3745de0d9b62b6679736d4caed2d2132fe818 Author: François Tigeot Date: Tue Dec 4 21:57:46 2018 +0100 drm/i915: Add more Coffeelake PCI IDs Obtained-from: Linux 4.19 Summary of changes: sys/dev/drm/i915/i915_drv.c | 16 sys/dev/drm/include/drm/

git: DragonFly_RELEASE_5_4 drm: Add the DRM_IOCTL_GET_PCIINFO ioctl

2018-12-17 Thread Francois Tigeot
commit bfbcb981d2ef49dd05e7bace5bc0497aed2768eb Author: François Tigeot Date: Mon Dec 10 23:06:11 2018 +0100 drm: Add the DRM_IOCTL_GET_PCIINFO ioctl * It provides an easy way to get PCI device information from a /dev file descriptor * The main user will be mesa/l

git: drm/linux: Add linux/mmu_context.h

2019-01-02 Thread Francois Tigeot
commit a02358bee49355202cc4b4ef3cb35e45ba65f2e6 Author: François Tigeot Date: Wed Jan 2 23:23:36 2019 +0100 drm/linux: Add linux/mmu_context.h Summary of changes: sys/dev/drm/include/linux/{acpi.h => mmu_context.h} | 8 1 file changed, 4 insertions(+), 4 deletions(-) copy sys

git: drm: Rename struct drm_gem_object.vm_obj to filp

2019-01-03 Thread Francois Tigeot
commit 7ca4ece0a85bea451332580015344d3f12333419 Author: François Tigeot Date: Thu Jan 3 21:08:24 2019 +0100 drm: Rename struct drm_gem_object.vm_obj to filp Synchronize a bunch of related code with Linux Summary of changes: sys/dev/drm/drm_gem.c| 61 +++

git: drm/i915: Add i915_gem_dmabuf.c

2019-01-03 Thread Francois Tigeot
commit 8665870ec41698250bb7aec1106801d3e173e1e4 Author: François Tigeot Date: Thu Jan 3 21:50:43 2019 +0100 drm/i915: Add i915_gem_dmabuf.c This just means we now build more dma-buf code, not that the end result is usable. Summary of changes: sys/conf/files

git: drm: Partially sync drm_mm.c with Linux 4.7.10

2019-01-05 Thread Francois Tigeot
commit d7fb4e999ef92cef290e7bc3833e14f71f6914d2 Author: François Tigeot Date: Sat Jan 5 21:56:07 2019 +0100 drm: Partially sync drm_mm.c with Linux 4.7.10 Summary of changes: sys/dev/drm/drm_mm.c | 10 +- sys/dev/drm/include/drm/drm_mm.h | 19 +-- 2

git: drm/i915: Enable the I915_GEM_USERPTR ioctl

2019-01-05 Thread Francois Tigeot
commit 717ec3bb58f913d0d05c755c08988f21b6bb78aa Author: François Tigeot Date: Sat Jan 5 22:22:08 2019 +0100 drm/i915: Enable the I915_GEM_USERPTR ioctl Start building some of the associated code Summary of changes: sys/dev/drm/i915/i915_dma.c | 2 -- sys/dev/drm/i915/

git: drm: Add drm_prime.c

2019-01-05 Thread Francois Tigeot
commit 565c8854528532f0551a9cba6117a2491cffa1bb Author: François Tigeot Date: Sat Jan 5 23:28:31 2019 +0100 drm: Add drm_prime.c Increase dma-buf subsystem coverage. Summary of changes: sys/conf/files | 2 + sys/dev/drm/drm/Makefile

git: drm/i915: Sync i915_drv.c a bit with Linux

2019-01-07 Thread Francois Tigeot
commit 922e7c40d9037aa9c055588b57cd81c66edc5ffe Author: François Tigeot Date: Mon Jan 7 19:03:05 2019 +0100 drm/i915: Sync i915_drv.c a bit with Linux Summary of changes: sys/dev/drm/i915/i915_drv.c | 17 ++--- 1 file changed, 14 insertions(+), 3 deletions(-) http://gitweb

git: drm/i915/gem: Really implement i915_gem_object_invalidate()

2019-01-07 Thread Francois Tigeot
commit ba7073ceb139375b069ab0f79a852fb2d53b2aa7 Author: François Tigeot Date: Mon Jan 7 21:14:50 2019 +0100 drm/i915/gem: Really implement i915_gem_object_invalidate() Summary of changes: sys/dev/drm/i915/i915_gem.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) http://gitweb

git: drm/linux: Add invalidate_mapping_pages()

2019-01-07 Thread Francois Tigeot
commit c15ebf28e86db3c020927a6bd5b85e99113447ba Author: François Tigeot Date: Mon Jan 7 20:44:57 2019 +0100 drm/linux: Add invalidate_mapping_pages() Inspired-by: FreeBSD Summary of changes: sys/dev/drm/include/linux/fs.h| 14 ++ sys/dev/drm/include/linux/types

git: drm/linux: Add struct device_driver

2019-01-12 Thread Francois Tigeot
commit 8b72cebefcaf4f8bf1a5727802a26e9a225f0505 Author: François Tigeot Date: Sat Jan 12 13:05:56 2019 +0100 drm/linux: Add struct device_driver Summary of changes: sys/dev/drm/include/drm/drm_mipi_dsi.h | 2 -- sys/dev/drm/include/linux/device.h | 5 - 2 files changed, 4 inser

git: drm/linux/workqueue: the internal function is named func

2019-01-16 Thread Francois Tigeot
commit 341b570d97d2296d2439a4fcef5eaa46d0708e7f Author: François Tigeot Date: Wed Jan 16 20:43:47 2019 +0100 drm/linux/workqueue: the internal function is named func Some driver code expects to be able to access it. Summary of changes: sys/dev/drm/include/linux/workqueue.h | 1

git: drm/gem: de-inline the ref/unref functions

2019-01-19 Thread Francois Tigeot
commit ab5862ff44466fbf7538c353663bee64f3aa3fde Author: François Tigeot Date: Sat Jan 19 20:11:34 2019 +0100 drm/gem: de-inline the ref/unref functions Reducing differences with Linux 4.7.10 Summary of changes: sys/dev/drm/drm_gem.c | 49 +++

git: drm: Fix excessive wired memory usage

2019-01-20 Thread Francois Tigeot
commit da4377532314b8a2241d9c12d3d8ec3a0d644f53 Author: François Tigeot Date: Sun Jan 20 21:11:44 2019 +0100 drm: Fix excessive wired memory usage * This is a partial revert of 7ca4ece0a85bea451332580015344d3f12333419: "drm: Rename struct drm_gem_object.vm_obj to filp".

git: drm/linux: Add preempt.h

2019-01-26 Thread Francois Tigeot
commit 237ffc69087fdc4f084403d153268fd981b5c7d0 Author: François Tigeot Date: Sat Jan 26 10:04:34 2019 +0100 drm/linux: Add preempt.h Summary of changes: sys/dev/drm/include/linux/hardirq.h| 3 ++- sys/dev/drm/include/linux/interrupt.h | 3 ++- sy

git: drm/linux: Add EXPORT_SYMBOL_GPL()

2019-01-27 Thread Francois Tigeot
commit ce273e16553f95e12511e0e310fc30b18dfec7e4 Author: François Tigeot Date: Sun Jan 27 11:15:31 2019 +0100 drm/linux: Add EXPORT_SYMBOL_GPL() Summary of changes: sys/dev/drm/include/linux/export.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) http://gitweb.dragonflybsd.org

git: drm: Fix Linux/DragonFly PAGE_MASK confusion

2019-02-17 Thread Francois Tigeot
commit d653c72734cf5be86d3cd2b4208c1e4ec68ade00 Author: François Tigeot Date: Sun Feb 17 09:06:17 2019 +0100 drm: Fix Linux/DragonFly PAGE_MASK confusion * Both Linux and the DragonFly kernel use a PAGE_MASK constant, which is unfortunately defined differently in each one

git: drm/linux: Add asm/processor.h

2019-02-17 Thread Francois Tigeot
commit c6002f72cf8c409b6554e9deb4d8f8b2870f2379 Author: François Tigeot Date: Sun Feb 17 10:25:59 2019 +0100 drm/linux: Add asm/processor.h Summary of changes: sys/dev/drm/include/asm/cpufeature.h | 4 ++- .../include/{linux/mmzone.h => asm/processor.h}| 30 +

git: drm: Reduce ioctl differences with Linux 4.7.10

2019-02-19 Thread Francois Tigeot
commit 908aca881723cf1c7f34b29ef290fc403568668d Author: François Tigeot Date: Tue Feb 19 23:32:57 2019 +0100 drm: Reduce ioctl differences with Linux 4.7.10 Add a pair of missing generic drm ioctls. Summary of changes: sys/dev/drm/drm_ioctl.c | 82 ++---

git: drm/linux: Add rcu_assign_pointer()

2019-02-28 Thread Francois Tigeot
commit 411c4fe9ac084aad1c93624073b56117a83731d3 Author: François Tigeot Date: Thu Feb 28 22:23:40 2019 +0100 drm/linux: Add rcu_assign_pointer() Summary of changes: sys/dev/drm/include/linux/rcupdate.h | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) http://gitweb.dragonfl

git: drm/linux/rbtree.h: Rename RB_ROOT to LINUX_RB_ROOT

2019-03-03 Thread Francois Tigeot
commit a8601bae4b22a92d9ceb4a149b6ccd6a964a6580 Author: François Tigeot Date: Sun Mar 3 21:10:07 2019 +0100 drm/linux/rbtree.h: Rename RB_ROOT to LINUX_RB_ROOT Preventing clashes with the more general RB_ROOT kernel definition Summary of changes: sys/dev/drm/drm_vma_manager.c

git: drm: Add or improve a few include/linux headers

2019-03-04 Thread Francois Tigeot
commit eaf74c33c9c9bacd5cdfc1b87f2f787abeba7a37 Author: François Tigeot Date: Mon Mar 4 22:29:39 2019 +0100 drm: Add or improve a few include/linux headers Summary of changes: sys/dev/drm/include/linux/{major.h => fdtable.h} | 16 +++- sys/dev/drm/include/linux/hrti

git: drm/linux: Improve linux/pci.h

2019-03-04 Thread Francois Tigeot
commit 7857f1b8843a1b79679506140dd40e14400e2d65 Author: François Tigeot Date: Mon Mar 4 22:48:24 2019 +0100 drm/linux: Improve linux/pci.h Summary of changes: sys/dev/drm/include/linux/pci.h | 37 - 1 file changed, 28 insertions(+), 9 deletions(-) h

git: drm/linux: Add struct rcu_head

2019-03-05 Thread Francois Tigeot
commit 66062a2b1b3d4515dbebdf16f1da7173ce414157 Author: François Tigeot Date: Tue Mar 5 23:46:05 2019 +0100 drm/linux: Add struct rcu_head Summary of changes: sys/dev/drm/include/linux/types.h | 3 +++ 1 file changed, 3 insertions(+) http://gitweb.dragonflybsd.org/dragonfly.git/commit

git: drm/radeon: Use shorter lockinit identifiers

2019-03-06 Thread Francois Tigeot
commit 1ca17f9b7f91a3cf0223fd649e8d3a33c602974c Author: François Tigeot Date: Wed Mar 6 21:55:57 2019 +0100 drm/radeon: Use shorter lockinit identifiers Summary of changes: sys/dev/drm/radeon/radeon_device.c | 15 +-- sys/dev/drm/radeon/radeon_irq_kms.c | 2 +- sys/dev/dr

git: drm: CONFIG_AGP is off by default

2019-03-10 Thread Francois Tigeot
commit 6be339579647cb0ce865f3e59c8c8c561bdd2424 Author: François Tigeot Date: Sun Mar 10 20:41:36 2019 +0100 drm: CONFIG_AGP is off by default Summary of changes: sys/conf/files | 3 ++- sys/dev/drm/drm/Makefile | 4 +++- sys/dev/drm/include/dr

git: drm: Fully rework the ww_mutex implementation

2019-03-11 Thread Francois Tigeot
commit 6cd4d95df71f3647b1a62e948326eade72a91d77 Author: Matthew Dillon Date: Mon Mar 11 21:12:30 2019 +0100 drm: Fully rework the ww_mutex implementation Fixing various bugs and inaccurate assertions Summary of changes: sys/conf/files | 1 + sys/dev/drm/

git: drm/ttm: convert to the reservation api

2019-03-11 Thread Francois Tigeot
commit 3c3b358edcbaed5481ecc31c61d05bedd7ddee6f Author: François Tigeot Date: Mon Mar 11 23:00:40 2019 +0100 drm/ttm: convert to the reservation api Additional-bugfix-by: dillon Summary of changes: sys/dev/drm/include/drm/ttm/ttm_bo_api.h | 16 +-- sys/dev/drm/include/d

git: kernel - Fix IDR bugs

2019-03-11 Thread Francois Tigeot
commit d0975e245898ed621e15cfb81acdd4a402082d44 Author: Matthew Dillon Date: Sat Mar 9 11:24:26 2019 -0800 kernel - Fix IDR bugs * Allow ptr to be NULL in idr_remove() and idr_replace(). * Note that linux ERR returns from idr_replace() still not implemented (requir

git: drm/ttm: get rid of ttm_bo_is_reserved usage

2019-03-12 Thread Francois Tigeot
commit 189951a708baba71f01d07e048e6f67501414c63 Author: François Tigeot Date: Tue Mar 12 19:10:26 2019 +0100 drm/ttm: get rid of ttm_bo_is_reserved usage Summary of changes: sys/dev/drm/ttm/ttm_bo.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) http://gitweb.dragonflyb

git: drm/ttm: inline ttm_bo_reserve and related calls

2019-03-12 Thread Francois Tigeot
commit 6a001295d3d13196f8d3d93b0b62bd3a55a4d4a1 Author: François Tigeot Date: Tue Mar 12 19:09:34 2019 +0100 drm/ttm: inline ttm_bo_reserve and related calls Summary of changes: sys/conf/kern.pre.mk | 4 +- sys/dev/drm/drm/Makefile |

git: drm/ttm: convert to unified vma offset manager

2019-03-12 Thread Francois Tigeot
commit a34b416832c4fc3e662679437ead3ece25111e86 Author: Matthew Dillon Date: Sat Mar 9 11:09:14 2019 -0800 drm/ttm: convert to unified vma offset manager * Add TTM_BO_PRIV_FLAG_ACTIVE. * Changes so we can use more of the linux ttm_bo_vm.c code. Fake struct vm_faul

git: drm/linux: Add ATOMIC_INIT()

2019-03-15 Thread Francois Tigeot
commit 63aa39b79250acb1006c505b9c0f86e3e810195d Author: François Tigeot Date: Fri Mar 15 21:01:19 2019 +0100 drm/linux: Add ATOMIC_INIT() Summary of changes: sys/dev/drm/include/asm/atomic.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) http://gitweb.dragonflybsd.org/dragon

git: drm/linux: Improve linux/wait.h

2019-03-16 Thread Francois Tigeot
commit 252524e5cf22644bfef7715916ea8091b2018dea Author: François Tigeot Date: Sat Mar 16 08:19:00 2019 +0100 drm/linux: Improve linux/wait.h Summary of changes: sys/dev/drm/include/linux/wait.h | 22 -- 1 file changed, 20 insertions(+), 2 deletions(-) http://gitweb

git: drm/ttm: Sync ttm_bo_man_put_node() with Linux 3.18

2019-03-17 Thread Francois Tigeot
commit 3185d15293363a19993c79cc22e046d6e28332a5 Author: François Tigeot Date: Sun Mar 17 15:06:06 2019 +0100 drm/ttm: Sync ttm_bo_man_put_node() with Linux 3.18 Summary of changes: sys/dev/drm/ttm/ttm_bo_manager.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) http://gitweb.

git: drm/linux: Add atomic_long_inc_not_zero()

2019-03-23 Thread Francois Tigeot
commit a7f15a6cccf6754baf4aa853a7a2e70d55caa983 Author: François Tigeot Date: Sat Mar 23 12:36:37 2019 +0100 drm/linux: Add atomic_long_inc_not_zero() Obtained-from: FreeBSD Summary of changes: .../{linux/io.h => asm-generic/atomic-long.h} | 32 ++ sys

git: drm/ttm: Remove two useless files

2019-03-23 Thread Francois Tigeot
commit 09530520a1e6f4f08c279305b3129e2a44f54789 Author: François Tigeot Date: Sat Mar 23 12:44:08 2019 +0100 drm/ttm: Remove two useless files Summary of changes: sys/conf/files | 2 - sys/dev/drm/drm/Makefile | 2 - sys/dev/drm/ttm/ttm_lock.c | 311

git: drm/ttm: Remove unused headers

2019-03-23 Thread Francois Tigeot
commit a5f99ace2d485e34553a05c63f3e95a63caab7dc Author: François Tigeot Date: Sat Mar 23 20:28:22 2019 +0100 drm/ttm: Remove unused headers Reminded-by: swildner Summary of changes: sys/dev/drm/include/drm/ttm/ttm_lock.h | 226 - sys/dev/drm/include/d

git: drm/linux: Add some shrinker stub code

2019-03-29 Thread Francois Tigeot
commit 80fbca374953799e466257f34a6eef45dc0d369e Author: François Tigeot Date: Fri Mar 29 21:03:21 2019 +0100 drm/linux: Add some shrinker stub code Summary of changes: sys/dev/drm/i915/i915_drv.h | 2 -- sys/dev/drm/i915/i915_gem_shrinker.c| 10

git: drm/ttm: Sync with Linux 3.16

2019-03-29 Thread Francois Tigeot
commit 43e748b9e0824b512398cb13acf428e7a70f2777 Author: François Tigeot Date: Fri Mar 29 22:26:33 2019 +0100 drm/ttm: Sync with Linux 3.16 Summary of changes: sys/dev/drm/drm_mm.c | 23 -- sys/dev/drm/drm_vma_manager.c | 1 + sys/dev/drm/in

git: drm/linux: Add down_read_trylock()

2019-04-21 Thread Francois Tigeot
commit 728ffa82928b720539d3071e2676c9b35c8aba07 Author: François Tigeot Date: Sun Apr 21 17:41:42 2019 +0200 drm/linux: Add down_read_trylock() Summary of changes: sys/dev/drm/include/linux/rwsem.h | 8 1 file changed, 8 insertions(+) http://gitweb.dragonflybsd.org/dragonfly.

git: drm/linux: Add list_for_each_entry_continue_reverse()

2019-04-22 Thread Francois Tigeot
commit 7588c469589ad5dd2eefbe023d4b67aa84971873 Author: François Tigeot Date: Mon Apr 22 22:55:13 2019 +0200 drm/linux: Add list_for_each_entry_continue_reverse() Obtained-from: OpenBSD Summary of changes: sys/dev/drm/include/linux/list.h | 5 + 1 file changed, 5 insertion

git: drm/linux: Add config_enabled()

2019-04-23 Thread Francois Tigeot
commit ee712e413ebbcddf09d21e5b66828494b69461e3 Author: François Tigeot Date: Tue Apr 23 22:23:51 2019 +0200 drm/linux: Add config_enabled() Summary of changes: sys/dev/drm/include/linux/kconfig.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) http://gitweb.dragonflybsd.org/

git: drm/linux: Add trace/events/dma_fence.h

2019-04-24 Thread Francois Tigeot
commit 38cf7b817fa31c8e6e76dd99782c8e60acf8b8bc Author: François Tigeot Date: Wed Apr 24 11:11:40 2019 +0200 drm/linux: Add trace/events/dma_fence.h Summary of changes: sys/dev/drm/include/linux/tracepoint.h| 2 ++ .../drm/include/{linux/mmu_context.h => tra

git: drm: Replace linux/hashtable.h with NetBSD's version

2019-04-25 Thread Francois Tigeot
commit 6c54b3a65a47c19473887b4fecd262934aa627c9 Author: François Tigeot Date: Thu Apr 25 21:44:33 2019 +0200 drm: Replace linux/hashtable.h with NetBSD's version Summary of changes: sys/dev/drm/include/linux/hashtable.h | 77 +++ 1 file changed, 59 inser

git: drm/linux: Improve RCU support

2019-04-26 Thread Francois Tigeot
commit 41e2def019e0219dd6dac4192608ae209d2924cd Author: François Tigeot Date: Fri Apr 26 20:01:09 2019 +0200 drm/linux: Improve RCU support Add more RCU directives, make sure existing ones are more correct. Summary of changes: sys/dev/drm/include/linux/compiler.h | 4 +++- sy

git: drm: Remove a debugging message

2019-04-26 Thread Francois Tigeot
commit 614e9b23ff81d65437ad32abc07458bebfbf0aed Author: François Tigeot Date: Fri Apr 26 21:56:59 2019 +0200 drm: Remove a debugging message Summary of changes: sys/dev/drm/drm_pci.c | 2 -- 1 file changed, 2 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/614e9b2

git: drm: Bring in the Linux fence implementation from NetBSD

2019-04-29 Thread Francois Tigeot
commit 425e5ce3a7b8eb2a236252b06c0ec36c6210d326 Author: François Tigeot Date: Mon Apr 29 23:10:54 2019 +0200 drm: Bring in the Linux fence implementation from NetBSD Summary of changes: sys/conf/files| 1 + sys/dev/drm/drm/Makefile | 1 + sys/dev/drm/in

git: drm/linux: Expand mm_types.h and mmu_notifier.h coverage

2019-05-03 Thread Francois Tigeot
commit 44fdcf3f9ca8865396ee5936120c1ab8e8dd1519 Author: François Tigeot Date: Fri May 3 09:37:41 2019 +0200 drm/linux: Expand mm_types.h and mmu_notifier.h coverage Summary of changes: sys/dev/drm/include/linux/mm_types.h | 8 +++- sys/dev/drm/include/linux/mmu_notifier.h | 16

git: drm: Do not use PHOLD/PRELE() in flush_taskqueue()

2019-05-03 Thread Francois Tigeot
commit 9ea583797c5fc8026d1a84d79d6c07498d6f3914 Author: François Tigeot Date: Fri May 3 10:28:26 2019 +0200 drm: Do not use PHOLD/PRELE() in flush_taskqueue() Summary of changes: sys/dev/drm/include/linux/workqueue.h | 2 -- 1 file changed, 2 deletions(-) http://gitweb.dragonflybsd.or

git: drm: Do not directly define __OS_HAS_AGP

2019-05-03 Thread Francois Tigeot
commit 62f7223323e688fa790bfe817b16ff5e5cc44dd3 Author: François Tigeot Date: Fri May 3 10:46:33 2019 +0200 drm: Do not directly define __OS_HAS_AGP Use CONFIG_AGP instead Summary of changes: sys/dev/drm/include/drm/drm_agpsupport.h | 5 - sys/dev/drm/radeon/radeon.h

git: drm/linux: Add an interval_tree implementation

2019-05-03 Thread Francois Tigeot
commit 70abac43eccc0459c91599b3fbfd713067d53065 Author: Matthew Dillon Date: Fri May 3 10:58:10 2019 +0200 drm/linux: Add an interval_tree implementation Contrary to the official Linux one, it does not use RB trees. Summary of changes: sys/conf/files

git: drm: More linux/seqlock.h functions

2019-05-03 Thread Francois Tigeot
commit dcbb24085c5980a09354956acb4dc75fda49fb14 Author: François Tigeot Date: Fri May 3 21:45:23 2019 +0200 drm: More linux/seqlock.h functions Summary of changes: sys/dev/drm/include/linux/seqlock.h | 51 + 1 file changed, 51 insertions(+) http://g

<    1   2   3   4   5   6   7   8   9   10   >