History log of /dragonfly/sys/dev/drm/include/drm/drmP.h (Results 1 – 25 of 158)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v6.2.1, v6.2.0, v6.3.0
# 0e863768 29-Nov-2021 Sascha Wildner <saw@online.de>

kernel/drmP.h: Use Linux' __printf() macro.


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


# ebc6bfa2 15-Jul-2020 François Tigeot <ftigeot@wolfpond.org>

drm: restore pre-Linux 4.10 print functions

Newer versions tend to print garbage


# 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, v5.8.0, v5.9.0, v5.8.0rc1, v5.6.3
# 056b029c 05-Feb-2020 François Tigeot <ftigeot@wolfpond.org>

drm: Improve drm_can_sleep()


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


# bb916eed 10-Dec-2019 François Tigeot <ftigeot@wolfpond.org>

drm: Stop using an embedded struct drm_device in driver softcs

* All drm drivers use a struct drm_device record but are free to
allocate it by themselves in different ways or let the generic
drm

drm: Stop using an embedded struct drm_device in driver softcs

* All drm drivers use a struct drm_device record but are free to
allocate it by themselves in different ways or let the generic
drm subsystem code do it.

* This drm_device record can even be part of another data structure,
dynamically or statically allocated.

* We cannot just assume the length of a drm_device structure in the
softc memory block will be enough to store all driver private data.

* Make the drm softc the equivalent of a void* pointer and let the
upstream code behave as expected on Linux

show more ...


# 55f3230c 21-Nov-2019 François Tigeot <ftigeot@wolfpond.org>

drm: Sync device initialization code with Linux

* Driver initialization is now done with drm_dev_alloc()
and drm_dev_init(), like on Linux

* Remove now useless drm_probe, drm_attach and drm_load(

drm: Sync device initialization code with Linux

* Driver initialization is now done with drm_dev_alloc()
and drm_dev_init(), like on Linux

* Remove now useless drm_probe, drm_attach and drm_load() functions

* Radeon PCI IDs no longer have a custom format

show more ...


# ddc30266 19-Nov-2019 François Tigeot <ftigeot@wolfpond.org>

drm: Fix debug messages issues introduced by the Linux 4.9 update

DragonFly's kprintf() doesn't understand %pV


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


# 09f141c4 03-Nov-2019 François Tigeot <ftigeot@wolfpond.org>

drm: Remove most system headers from linux/list.h

They do not serve any useful purpose there.

Suggested-by: zrj


# 3563bff9 02-Nov-2019 zrj <rimvydas.jasinskas@gmail.com>

kernel/drm: Yeet drm_free() inline.

Last consumers removed in 6af927c246477a611cb86e64d0fc460000a39284


# a886e3a7 06-Oct-2019 François Tigeot <ftigeot@wolfpond.org>

drm: Rename struct drm_file.master to .is_master

Reducing differences with Linux


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


# 9286b91e 10-Jul-2019 Sascha Wildner <saw@online.de>

kernel/drm: Use va_*() instead of __va_*(), just like upstream.


Revision tags: v5.6.1, v5.6.0, v5.6.0rc1, v5.7.0, v5.4.3, 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 ...


Revision tags: v5.4.1, v5.4.0
# 83b4b9b9 28-Nov-2018 François Tigeot <ftigeot@wolfpond.org>

drm includes: Rename uapi_xxx to uapi/xxx

Making the include hierarchy 100% compatible with the Linux one.


Revision tags: v5.5.0, v5.4.0rc1
# 62bba8f6 08-Sep-2018 François Tigeot <ftigeot@wolfpond.org>

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.


# ce73550b 07-Sep-2018 François Tigeot <ftigeot@wolfpond.org>

drm: Use a dedicated .h file for configuration options

With-advice-from: swildner


# 5037afc7 11-Aug-2018 Sascha Wildner <saw@online.de>

kernel/drm: Remove CONFIG_PCI as a kernel option.

The code does not link in the absence of it and neither do we expect
systems without PCI support configured, nor does it make sense for
DRM specific

kernel/drm: Remove CONFIG_PCI as a kernel option.

The code does not link in the absence of it and neither do we expect
systems without PCI support configured, nor does it make sense for
DRM specific stuff in particular, so just set it unconditionally.

If anything, it could be tied to NPCI being >0 (to check if
"device pci" is in the kernel), but for that it would have to
actually build/link without CONFIG_PCI in the first place.

show more ...


1234567