|
Revision tags: v6.4.0, v6.4.0rc1, v6.5.0, v6.2.2, v6.2.1, v6.3.0 |
|
| #
78973132 |
| 03-Nov-2021 |
Sergey Zigachev <s.zi@outlook.com> |
drm/amdgpu: Port to DragonFly
* This commit does not build as it requires ttm changes from the corresponding commit
Amdgpu driver changes: * Builds with CONFIG_DRM_AMD_DC and CONFIG_DRM_AMD_DC_DC
drm/amdgpu: Port to DragonFly
* This commit does not build as it requires ttm changes from the corresponding commit
Amdgpu driver changes: * Builds with CONFIG_DRM_AMD_DC and CONFIG_DRM_AMD_DC_DCN1_0 defined * Support for older GPUs (SI, CIK) is not implemented * Several functions for display core module require msse and mhard-float gcc flags to be set; and they require special treatment from kernel by utilizing kernel_fpu_begin/kernel_fpu_end functions * It is required that tunable set amdgpu_hw_i2c=1 to work around panic during module load * Thunderbolt support is disabled * Amdgpu trace infrastructure replaced by a stub
Drm changes: * register_framebuffer is called at the later stage, after crtcs were properly initialized * drm_close implemented * drm_connector_update_edid_property implemented * Fix drm device stays locked in case of an error or module shutdown * Imported drm gem framebuffer helper functions * Fixed null pointer deref in the drm mmap ioctl * Imported atomic64_inc and atomic_long_* functions from Linux * Imported bitmap_complement function from Linux * Imported kfifo struct from Linux * Implemented dma fence array properly * Imported rb_root_cached struct from Linux * Implemented several dma fence functions
Co-authored-by: François Tigeot <ftigeot@wolfpond.org> Co-authored-by: Matthew Dillon <dillon@apollo.backplane.com>
show more ...
|
|
Revision tags: v6.0.1, v6.0.0, v6.0.0rc1, v6.1.0 |
|
| #
3f2dd94a |
| 19-Dec-2020 |
François Tigeot <ftigeot@wolfpond.org> |
drm: Update to Linux 4.15.18
* Create /dev/dri/renderD* devices Generally handle /dev entries creation as close to Linux as possible.
* Add drm master support Sync authentification code with Li
drm: Update to Linux 4.15.18
* Create /dev/dri/renderD* devices Generally handle /dev entries creation as close to Linux as possible.
* Add drm master support Sync authentification code with Linux 4.15.18
* handle vm_mm->mmap_sem in ttm page fault operations
* Update dma-fence code from OpenBSD
* This commit contains sleep/wakeup and other changes from Matthew Dillon <dillon@apollo.backplane.com>
show more ...
|
|
Revision tags: v5.8.3, v5.8.2 |
|
| #
a85cb24f |
| 27-Jul-2020 |
François Tigeot <ftigeot@wolfpond.org> |
drm: Update to Linux 4.12.14
* Initial Geminilake support
* Support improvements and model-specific bug fixes for Broxton, Haswell, Broadwell, Skylake and Kabylake hardware
* Various generic i91
drm: Update to Linux 4.12.14
* Initial Geminilake support
* Support improvements and model-specific bug fixes for Broxton, Haswell, Broadwell, Skylake and Kabylake hardware
* Various generic i915 bug fixes, including page flipping and memory corruption issues
* Minor radeon bug fixes
show more ...
|
| #
79a4854c |
| 27-Jul-2020 |
François Tigeot <ftigeot@wolfpond.org> |
drm/linux: Add kthread parking functions
|
| #
50ce654e |
| 13-Jul-2020 |
François Tigeot <ftigeot@wolfpond.org> |
drm/linux: Do not sleep when not required in schedule_timeout()
|
| #
1382b9d0 |
| 07-Jun-2020 |
François Tigeot <ftigeot@wolfpond.org> |
drm: Add linux/llist.h
Mostly obtained from OpenBSD with a few key modifications
|
|
Revision tags: v5.8.1 |
|
| #
4757df22 |
| 04-Mar-2020 |
François Tigeot <ftigeot@wolfpond.org> |
drm: Add a few Linux headers
|
|
Revision tags: v5.8.0 |
|
| #
96e4903b |
| 23-Feb-2020 |
François Tigeot <ftigeot@wolfpond.org> |
drm/linux: Add pagefault_disabled
|
|
Revision tags: v5.9.0, v5.8.0rc1, v5.6.3 |
|
| #
3b66ff82 |
| 26-Dec-2019 |
François Tigeot <ftigeot@wolfpond.org> |
drm/linux: Add schedule_timeout_uninterruptible()
|
| #
aa2693a5 |
| 24-Dec-2019 |
François Tigeot <ftigeot@wolfpond.org> |
drm/linux: Add Linux kthread functions
|
| #
d4d2d20b |
| 21-Dec-2019 |
François Tigeot <ftigeot@wolfpond.org> |
drm/linux: Add a few linux/sched functions
|
| #
1487f786 |
| 10-Dec-2019 |
François Tigeot <ftigeot@wolfpond.org> |
drm/i915: Update to Linux commit 1f15b76f1ec973d1eb5d21b6d98b21aebb9025f1
"Separate GPU hang waitqueue from advance"
|
| #
111dab5b |
| 08-Dec-2019 |
François Tigeot <ftigeot@wolfpond.org> |
drm: Add linux/smp.h
|
| #
1dedbd3b |
| 17-Nov-2019 |
François Tigeot <ftigeot@wolfpond.org> |
drm: Update generic, ttm and radeon code to Linux 4.9
* Generally cleanup non driver-specific code and increase its robustness
* DisplayPort support improvements
* Atomic modesetting improvement
drm: Update generic, ttm and radeon code to Linux 4.9
* Generally cleanup non driver-specific code and increase its robustness
* DisplayPort support improvements
* Atomic modesetting improvements
* Radeon performance and stability improvements
* drm/i915 stays based on Linux 4.7.10 with Linux 4.19 changes for now
Reviewed-by: Romick
show more ...
|
|
Revision tags: v5.6.2 |
|
| #
0e32b8c5 |
| 07-Aug-2019 |
Matthew Dillon <dillon@apollo.backplane.com> |
drm - Refactor task_struct and implement mm_struct
* Change td->td_linux_task from an embedded structure to a pointer.
* Add p->p_linux_mm to support tracking mm_struct's.
* Change the 'current' m
drm - Refactor task_struct and implement mm_struct
* Change td->td_linux_task from an embedded structure to a pointer.
* Add p->p_linux_mm to support tracking mm_struct's.
* Change the 'current' macro to test td->td_linux_task and call a support function, linux_task_alloc(), if it is NULL.
* Implement callbacks from the main kernel for thread exit and process exit to support functions that drop the td_linux_task and p_linux_mm pointers.
Initialize and clear these callbacks in the module load/unload in drm_drv.c
* Implement required support functions in linux_sched.c
show more ...
|
| #
78b84d65 |
| 29-Jun-2019 |
François Tigeot <ftigeot@wolfpond.org> |
drm/linux: Fix a NULL pointer dereference in signal_pending_state()
Not all kernel threads have an associated userland lwp.
Reported-by: dillon
|
|
Revision tags: v5.6.1 |
|
| #
536555ab |
| 17-Jun-2019 |
Matthew Dillon <dillon@apollo.backplane.com> |
drm - Fix system lockup bug in signal_pending_state()
* Fix a system lockup bug in signal_pending_state(). It was possible for the routine to indicate that no signal was pending for an interrup
drm - Fix system lockup bug in signal_pending_state()
* Fix a system lockup bug in signal_pending_state(). It was possible for the routine to indicate that no signal was pending for an interruptible state when a signal was in fact pending, causing a live-lock in a lksleep() loop.
* The proper API is to allow any signal to interrupt when the thread is in an interruptible state and to only allow a KILL signal to interrupt when the thread is in a non-interruptible state.
Testing-by: dillon, tuxillo Reviewed-by: ftigeot
show more ...
|
| #
0713b2cd |
| 17-Jun-2019 |
François Tigeot <ftigeot@wolfpond.org> |
drm/linux: Add io_schedule_timeout()
|
| #
d658c120 |
| 16-Jun-2019 |
François Tigeot <ftigeot@wolfpond.org> |
drm/linux: Rework wait queues
* Make the implementation much closer to the Linux one
* Do not directly try to wake up threads, but use an indirect function call to do it, allowing drivers to over
drm/linux: Rework wait queues
* Make the implementation much closer to the Linux one
* Do not directly try to wake up threads, but use an indirect function call to do it, allowing drivers to override the default function
* Implement the expected default_wake_function() and autoremove_wake_function() routines
show more ...
|
|
Revision tags: v5.6.0 |
|
| #
0657583b |
| 12-Jun-2019 |
François Tigeot <ftigeot@wolfpond.org> |
drm/linux: Fix schedule_timeout()
Interruptible sleeps were returning wrong values.
|
|
Revision tags: v5.6.0rc1, v5.7.0 |
|
| #
1e8d33ee |
| 10-Jun-2019 |
François Tigeot <ftigeot@wolfpond.org> |
drm/linux: Add task_struct, rework sleep and wake up functions
Really implement wake_up_process(), signal_pending(), signal_pending_state() and schedule_timeout()
Some fixes contributed by Matthew
drm/linux: Add task_struct, rework sleep and wake up functions
Really implement wake_up_process(), signal_pending(), signal_pending_state() and schedule_timeout()
Some fixes contributed by Matthew Dillon.
show more ...
|
|
Revision tags: v5.4.3, v5.4.2 |
|
| #
a34b4168 |
| 09-Mar-2019 |
Matthew Dillon <dillon@apollo.backplane.com> |
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_fault, fake struct vm_operations_struct,
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_fault, fake struct vm_operations_struct, and adjust struct vm_area_struct. Also add related flags.
The VM interface to DragonFlyBSD is now (mostly) a wrapper around the linux code.
* The linux red/black tree code uses some of the DFly RB macros. This means that struct rb_root must be compatible. Add missing fields. This fixes RB_REMOVE breakage due to it trying to iterate rbh_inprog.
* Add set_need_resched() (empty)
* radeon_bo_is_reserved() is no longer applicable and has been removed, allowing us to avoid implementintg ttm_bo_is_reserved(). Note that linux-current does not have these functions.
* Refactor radeon_do_test_moves() so reflect the linux code a bit better. This fixes a few error paths.
* radeon_verify_access() remains empty. We need the struct file (which we don't have) to implement it.
* Make some adjustments to ttm_mem_type_from_pace() and other API functions which use struct ttm_place instead of uint32_t. This better reflects the linux code and fixes compile-time breakage due to the partial API patch.
Make other struct ttm_place adjustments.
* bdev->dev_mapping is broken (partial API update in WIP) and is still always NULL because ttm_bo_device_init() does not yet initialize it (needs an argument passed from the chipset code).
* refactor ttm_bo_man_get_node() to fix compile issues.
* Completely rewrite the DragonFly API interfacing code in ttm_bo_vm.c. Hopefully the fault code is now far, far more robust than it was before.
Add debug code to check for duplicate vm_page insertions, in case we hit that panic again (it had problems due to bdev->dev_mapping being NULL before that issue was tracked down).
show more ...
|
| #
eaf74c33 |
| 04-Mar-2019 |
François Tigeot <ftigeot@wolfpond.org> |
drm: Add or improve a few include/linux headers
|
| #
c6002f72 |
| 17-Feb-2019 |
François Tigeot <ftigeot@wolfpond.org> |
drm/linux: Add asm/processor.h
|
| #
237ffc69 |
| 26-Jan-2019 |
François Tigeot <ftigeot@wolfpond.org> |
drm/linux: Add preempt.h
|