History log of /dragonfly/sys/dev/drm/include/drm/ttm/ttm_bo_driver.h (Results 1 – 25 of 31)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v6.2.1, v6.2.0, v6.3.0
# 932d855e 03-Nov-2021 Sergey Zigachev <s.zi@outlook.com>

drm/ttm: Update to match amdgpu driver, Linux 4.19 based


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 ...


# 4be47400 13-Jul-2020 François Tigeot <ftigeot@wolfpond.org>

drm: Update base driver to Linux 4.10.17

Thanks to Matthew Dillon <dillon@apollo.backplane.com>
for some VM fixes.


# 6559babb 06-Jun-2020 François Tigeot <ftigeot@wolfpond.org>

drm/linux/dma-buf: Rename struct fence to dma_fence


Revision tags: v5.8.1
# 1e12ee3b 12-Mar-2020 François Tigeot <ftigeot@wolfpond.org>

drm/i915: Update DRIVER_DATE to 20161024


Revision tags: v5.8.0, v5.9.0, v5.8.0rc1, v5.6.3
# ec5b6af4 24-Jan-2020 François Tigeot <ftigeot@wolfpond.org>

drm: Replace all Linux spinlocks by lockmgr locks

* The DragonFly kernel can sleep in different circumstances than Linux

* Linux driver code has not been written to prevent it

* Make all Linux spi

drm: Replace all Linux spinlocks by lockmgr locks

* The DragonFly kernel can sleep in different circumstances than Linux

* Linux driver code has not been written to prevent it

* Make all Linux spinlock_t spinlocks lockmgr locks and avoid potential
problems once and for all

show more ...


# 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 ...


# d78d3a22 24-Aug-2019 François Tigeot <ftigeot@wolfpond.org>

drm/radeon: Update to Linux 4.7.10

* Various bugfixes, especially related to Displayport and
vblank handling

* Sea Islands and Southern Islands GPUs support improvements

* Various quirks to fix

drm/radeon: Update to Linux 4.7.10

* Various bugfixes, especially related to Displayport and
vblank handling

* Sea Islands and Southern Islands GPUs support improvements

* Various quirks to fix problems for specific cards, mostly
Radeon R7 370 and Radeon R9 270X models

show more ...


Revision tags: v5.6.2
# c59a5c48 15-Jul-2019 François Tigeot <ftigeot@wolfpond.org>

drm/radeon: Update to Linux 4.4.180

* Bugfixes and workaround for hardware issues, including
quirks for various R7 370 and R9 270 models

* VT switching fixes from dillon@

* Fan management improv

drm/radeon: Update to Linux 4.4.180

* Bugfixes and workaround for hardware issues, including
quirks for various R7 370 and R9 270 models

* VT switching fixes from dillon@

* Fan management improvements

* Improved support for 120+ Hz monitors

show more ...


Revision tags: v5.6.1, v5.6.0, v5.6.0rc1, v5.7.0, v5.4.3
# 1cfef1a5 03-May-2019 François Tigeot <ftigeot@wolfpond.org>

drm: Sync ttm and radeon drivers with Linux 3.18


Revision tags: v5.4.2
# 43e748b9 29-Mar-2019 François Tigeot <ftigeot@wolfpond.org>

drm/ttm: Sync with Linux 3.16


# 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 ...


# 6a001295 12-Mar-2019 François Tigeot <ftigeot@wolfpond.org>

drm/ttm: inline ttm_bo_reserve and related calls


# 3c3b358e 11-Mar-2019 François Tigeot <ftigeot@wolfpond.org>

drm/ttm: convert to the reservation api

Additional-bugfix-by: dillon


Revision tags: v5.4.1, v5.4.0, v5.5.0, v5.4.0rc1
# 4f125aea 07-Nov-2018 François Tigeot <ftigeot@wolfpond.org>

drm/ttm: Rework ttm_io_prot()

Change it to be as close to the Linux version as possible.


# 29bffcd3 27-Sep-2018 François Tigeot <ftigeot@wolfpond.org>

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

This reverts commit c05dd8dc1634d5a751604913c322ee97f9510e46.

There is something very wrong with ww mutexes.


# c05dd8dc 23-Sep-2018 François Tigeot <ftigeot@wolfpond.org>

drm/ttm: convert to the reservation api


# 3a2096e8 19-Sep-2018 François Tigeot <ftigeot@wolfpond.org>

drm/ttm: Use Linux kobjects

* Reducing differences with Linux

* Changes based on Linux commit ecff665f5e3f1c6909353e00b9420e45ae23d995
"drm/ttm: make ttm reservation calls behave like reservation

drm/ttm: Use Linux kobjects

* Reducing differences with Linux

* Changes based on Linux commit ecff665f5e3f1c6909353e00b9420e45ae23d995
"drm/ttm: make ttm reservation calls behave like reservation calls"

show more ...


Revision tags: v5.2.2
# f0bba3d1 09-Jun-2018 François Tigeot <ftigeot@wolfpond.org>

drm: Define struct page and use it everywhere

* Removing countless differences with Linux

* struct page is essentially struct vm_page named differently.
Both can be casted to the other one withou

drm: Define struct page and use it everywhere

* Removing countless differences with Linux

* struct page is essentially struct vm_page named differently.
Both can be casted to the other one without further thought.

show more ...


Revision tags: v5.2.1, v5.2.0, v5.3.0, v5.2.0rc, v5.0.2, v5.0.1, v5.0.0, v5.0.0rc2, v5.1.0, v5.0.0rc1, v4.8.1, v4.8.0, v4.6.2, v4.9.0, v4.8.0rc, v4.6.1, v4.6.0, v4.6.0rc2
# 0e1ba51b 23-Jul-2016 François Tigeot <ftigeot@wolfpond.org>

drm: Sync a few headers with Linux 4.4


Revision tags: v4.6.0rc, v4.7.0, v4.4.3, v4.4.2, v4.4.1, v4.4.0, v4.5.0, v4.4.0rc
# 591d5043 19-Nov-2015 François Tigeot <ftigeot@wolfpond.org>

drm/radeon: Update to Linux 3.18

Mostly bugfixes and audio refactoring, no new functionalities.

This update has been prepared by Rimvydas Jasinskas.


# c6f73aab 22-Aug-2015 François Tigeot <ftigeot@wolfpond.org>

drm/radeon: Update to Linux 3.17 (v2)

Catch up with recent updates in i915kms driver.
While there perform some cleaning in drm and drm/ttm too.

This smallish(1.2MB) diff between Linux v3.12..v3.17

drm/radeon: Update to Linux 3.17 (v2)

Catch up with recent updates in i915kms driver.
While there perform some cleaning in drm and drm/ttm too.

This smallish(1.2MB) diff between Linux v3.12..v3.17 brings
few improvements for radeon cards support on DragonFly BSD.

Driver is VERY experimental even if FF 720p "Hey Mamma"
looks much more pleasing to the eyes on my Xeon box.

Me being Fortran developer(who wants to run OpenCL on BSDs too)
was literally throwing diffs at the fan to see what sticks on.
After cleaning up the mess a bit, these features seems to behave:
kms-syscons switching on R7 240 and 5770 JUNIPER;
current DPorts Xorg;
Xorg-next(1.17.2) + Mesa-next(glamor for radeonsi);
2D tiling now works out of the box on OLAND;
glxgears/cubemap/cuberender mesa demos;
firefox youtube videos(still some blinking on overlays);
mpv -vo vdpau --hwdec=vdpau bsd-0088.mp4 (--vo=opengl too);
UVD (decoding limited to 1080p frame streams);
fragging in OpenArena maxed-out(even ttys[0-8] to quickly check mail);
hdmi audio;
DPM (enabled by default);
gpu temperature monitoring through hw.sensors framework;
automatic firmware loading.

TODO:
update drm/ttm, any help would be really appreciated;
ww_mutex, yep still good old "homegrown" locks;
vma, newer shrinker api;
dma_buf/prime;
iic/i2c rework;
kldunload radeonkms;
better gart sizes support;
newer firmware format support;
fix failing ring sync test to ring-5(UVD);
check how driver supports X2 and IGP cards;
better OpenCL through Clover;
many more.

Thanks goes to:
ftigeot@efnet for opportunity and i915 work
YRabbit@efnet for extensive testing of hdmi A/V on TURKS
ivadasz@efnet for temperature sensors support
mneumann@efnet for testing on HAWAII

AMD for investing time and effort in opensource drivers
NetBSD and Linux gpu developers

Special thanks to:
everyone behind freebsd-ports-graphics/opencl (keep pushing the mngt!)

and that Sweet special girl out there.

show more ...


Revision tags: v4.2.4
# 4cd92098 07-Aug-2015 zrj <rimvydas.jasinskas@gmail.com>

drm/radeon: Partial update to Linux 3.12

This brings new radeon features (mostly code refactoring):
DMA functions seperated from asics code;
UVD block separation;
Improvements to DPMS

drm/radeon: Partial update to Linux 3.12

This brings new radeon features (mostly code refactoring):
DMA functions seperated from asics code;
UVD block separation;
Improvements to DPMS (by default disabled);
Better audio handling.

Notes:
drm/ttm layer is put into transitional state pending memory functions rewrite.
Currently VRAM handling capabilities are limited,
still enough for light gaming and watching videos.
X acceleration on radeon SI cards requires updated xorg+mesa(glamour support).

show more ...


Revision tags: v4.3.1, v4.2.3, v4.2.1, v4.2.0, v4.0.6, v4.3.0, v4.2.0rc
# ddea3d8d 25-May-2015 zrj <rimvydas.jasinskas@gmail.com>

drm/ttm: revert again to use tree(3)

This reverts 06cbdcf32488e8ce7bf9c345068a9f8d72cf48e2.
Also add RB_ROOT redefine in ttm_bo_driver.h for ttm.


12