#
f005ef32 |
| 16-Jan-2024 |
jsg <jsg@openbsd.org> |
update drm to linux 6.6.12
Thanks to the OpenBSD Foundation for sponsoring this work.
|
#
1bb76ff1 |
| 01-Jan-2023 |
jsg <jsg@openbsd.org> |
update drm to linux 6.1.2
new hardware support includes
AMD Raphael, Ryzen 7000 desktop, gfx1036/GC 10.3.6 Mendocino, Ryzen & Athlon 7020 Series mobile APU, gfx1037/GC 10.3.7 Navi 31, gfx1100 dGPU
update drm to linux 6.1.2
new hardware support includes
AMD Raphael, Ryzen 7000 desktop, gfx1036/GC 10.3.6 Mendocino, Ryzen & Athlon 7020 Series mobile APU, gfx1037/GC 10.3.7 Navi 31, gfx1100 dGPU, GC 11.0.0, Radeon RX 7900 XT/XTX gfx1101 dGPU gfx1102 dGPU gfx1103 APU
Thanks to the OpenBSD Foundation for sponsoring this work.
show more ...
|
#
5ca02815 |
| 14-Jan-2022 |
jsg <jsg@openbsd.org> |
update drm to linux 5.15.14
new hardware support includes
Intel ehl/Elkhart Lake (embedded) jsl/Jasper Lake (atom) rkl/Rocket Lake (desktop)
AMD van gogh APU (gfx1033) yellow carp / rembrandt AP
update drm to linux 5.15.14
new hardware support includes
Intel ehl/Elkhart Lake (embedded) jsl/Jasper Lake (atom) rkl/Rocket Lake (desktop)
AMD van gogh APU (gfx1033) yellow carp / rembrandt APU (gfx1035?) Ryzen 6000 APU navy flounder / navi 22 (gfx1031) RX 6700, RX 6700 XT, RX 6700M, RX 6800M, RX 6850M XT dimgrey cavefish / navi 23 (gfx1032) Pro W6600, Pro W6600M, RX 6600, RX 6600 XT, RX 6600M, RX 6600S, RX 6650M, RX 6650M XT, RX 6700S, RX 6800S beige goby / navi 24 (gfx1034) RX 6500 XT, RX 6400, RX 6500M, RX 6300M
Thanks to the OpenBSD Foundation for sponsoring this work niklas@ for helping with ttm and amdgpu and patrick@ for adapting rockchip drm.
show more ...
|
#
69c04514 |
| 15-Dec-2021 |
mpi <mpi@openbsd.org> |
Use a per-UVM object lock to serialize the lower part of the fault handler.
Like the per-amap lock the `vmobjlock' is principally used to serialized access to objects in the fault handler to allow f
Use a per-UVM object lock to serialize the lower part of the fault handler.
Like the per-amap lock the `vmobjlock' is principally used to serialized access to objects in the fault handler to allow faults occurring on different CPUs and different objects to be processed in parallel.
The fault handler now acquires the `vmobjlock' of a given UVM object as soon as it finds one. For now a write-lock is always acquired even if some operations could use a read-lock.
Every pager, corresponding to a different kind of UVM object, now expect the UVM object to be locked and some operations, like *_get() return it unlocked. This is enforced by assertions checking for rw_write_held().
The KERNEL_LOCK() is now pushed to the VFS boundary in the vnode pager.
To ensure the correct amap or object lock is held when modifying a page many uvm_page* operations are now asserting for the "owner" lock. However, fields of the "struct vm_page" are still being protected by the global `pageqlock'. To prevent lock ordering issues with the new `vmobjlock' and to reduce differences with NetBSD this lock is now taken and released for each page instead of around the whole loop.
This commit does not remove the KERNEL_LOCK/UNLOCK() dance. Unlocking will follow if there is no fallout.
Ported from NetBSD, tested by many, thanks!
ok kettenis@, kn@
show more ...
|
#
ad8b1aaf |
| 07-Jul-2021 |
jsg <jsg@openbsd.org> |
update drm to linux 5.10.47
hardware support changes include inteldrm: better support for tiger lake amdgpu: support for navi12, navi21 "sienna_cichlid", arcturus amdgpu: support for cezanne "green
update drm to linux 5.10.47
hardware support changes include inteldrm: better support for tiger lake amdgpu: support for navi12, navi21 "sienna_cichlid", arcturus amdgpu: support for cezanne "green sardine" ryzen 5000 apu
Thanks to the OpenBSD Foundation for sponsoring this work, patrick@ for helping adapt rockchip drm, kettenis@ and mpi@ for uvm discussions and various testers.
show more ...
|
#
0608e4cb |
| 21-Oct-2020 |
jsg <jsg@openbsd.org> |
change drm_vma function arguments to take struct drm_file *
reduces the diff to linux 5.7.y ok kettenis@
|
#
c349dbc7 |
| 08-Jun-2020 |
jsg <jsg@openbsd.org> |
update drm to linux 5.7
adds kernel support for amdgpu: vega20, raven2, renoir, navi10, navi14 inteldrm: icelake, tigerlake
Thanks to the OpenBSD Foundation for sponsoring this work, kettenis@ for
update drm to linux 5.7
adds kernel support for amdgpu: vega20, raven2, renoir, navi10, navi14 inteldrm: icelake, tigerlake
Thanks to the OpenBSD Foundation for sponsoring this work, kettenis@ for helping, patrick@ for helping adapt rockchip drm and many developers for testing.
show more ...
|
#
c6b608c5 |
| 31-May-2019 |
jsg <jsg@openbsd.org> |
remove duplicate page table a holdover from when the allocation wasn't done in ttm
|
#
7f4dd379 |
| 14-Apr-2019 |
jsg <jsg@openbsd.org> |
Update shared drm code, inteldrm(4) and radeondrm(4) from linux 4.4 to linux 4.19.34.
Adds support for more Intel hardware: Broxton/Apollo Lake (was is_preliminary in 4.4) Amber Lake (another Kaby L
Update shared drm code, inteldrm(4) and radeondrm(4) from linux 4.4 to linux 4.19.34.
Adds support for more Intel hardware: Broxton/Apollo Lake (was is_preliminary in 4.4) Amber Lake (another Kaby Lake refresh) Gemini Lake Coffee Lake Whiskey Lake Cannon Lake (though no hardware with Intel graphics ever shipped) Ice Lake (alpha support, hardware not released)
This does not add support for new radeon hardware on the AMD side as newer radeons have a different kernel driver (amdgpu).
Thanks to the OpenBSD Foundation for sponsoring this work, kettenis@ for helping and a bunch of other developers for testing.
show more ...
|
#
09b4a5bb |
| 10-Jan-2019 |
jsg <jsg@openbsd.org> |
Use efifb_stolen() to prevent radeondrm from using aperture memory overlapping the framebuffer. Prompted by ring tests failing. Diagnosed, fix suggested by and ok kettenis@
|
#
7ccd5a2c |
| 25-Apr-2018 |
jsg <jsg@openbsd.org> |
update ttm and radeondrm(4) to Linux 4.4.129
Compared to the previous Linux 3.8 based port this adds support for KAVERI/KABINI/MULLINS APUs and OLAND/BONAIRE/HAINAN/HAWAII GPUs.
Thanks to the OpenB
update ttm and radeondrm(4) to Linux 4.4.129
Compared to the previous Linux 3.8 based port this adds support for KAVERI/KABINI/MULLINS APUs and OLAND/BONAIRE/HAINAN/HAWAII GPUs.
Thanks to the OpenBSD Foundation for sponsoring this work.
show more ...
|
#
f3eef2b6 |
| 20-Apr-2018 |
deraadt <deraadt@openbsd.org> |
oops, snapshot tests not ready yet
|
#
39214a00 |
| 20-Apr-2018 |
deraadt <deraadt@openbsd.org> |
sync
|
#
5658e8f9 |
| 18-Dec-2015 |
mmcc <mmcc@openbsd.org> |
Remove an error-on-NULL condition after a mallocarray() call that cannot fail. This codepath doesn't exist upstream, so it's fine to change.
ok jsg@
|
#
4b6e5cea |
| 06-Apr-2015 |
jsg <jsg@openbsd.org> |
add back some more static use to reduce the diff to linux
|
#
d765308c |
| 11-Feb-2015 |
jsg <jsg@openbsd.org> |
Switch most printf style functions calls back to linux function names and move DRM_INFO/pr_info/dev_info messages under DRMDEBUG.
|
#
c1268e5a |
| 10-Feb-2015 |
jsg <jsg@openbsd.org> |
switch most mtx_* calls back to linux spinlocks
|
#
528273cb |
| 10-Feb-2015 |
jsg <jsg@openbsd.org> |
switch most rwlock calls back to their linux equivalents
|
#
0f0d0f95 |
| 09-Dec-2014 |
doug <doug@openbsd.org> |
More malloc() -> mallocarray() in the kernel.
ok deraadt@ tedu@
|
#
df2ac69f |
| 12-Jul-2014 |
tedu <tedu@openbsd.org> |
add a size argument to free. will be used soon, but for now default to 0. after discussions with beck deraadt kettenis.
|
#
dbcae82a |
| 12-Apr-2014 |
jsg <jsg@openbsd.org> |
drm/radeon: TTM must be init with cpu-visible VRAM, v2
From Lauri Kasanen 7e88b3ea565f869721b8ac011ee73b95b773e938 in ubuntu 3.8 14eedc32a3c0ec9dd70448a73763ee21feae3111 in mainline linux
|
#
a272964b |
| 24-Mar-2014 |
kettenis <kettenis@openbsd.org> |
Another round of reducing diffs with the Linux codebase.
|
#
de5631a0 |
| 09-Feb-2014 |
jsg <jsg@openbsd.org> |
use linux style memory allocations in radeon
|
#
2def65df |
| 24-Jan-2014 |
jsg <jsg@openbsd.org> |
drm/radeon: Fix VRAM size calculation for VRAM >= 4GB
From Niels Ole Salscheider 091a581a030f3c8c6515fb21a3f23271a86c4107 in ubuntu 3.8 fc986034540102cd090237bf3f70262e1ae80d9c in mainline linux
|
#
1099013b |
| 12-Aug-2013 |
jsg <jsg@openbsd.org> |
Add a port of the TTM and Radeon DRM code from Linux 3.8.13. Includes kernel modesetting, framebuffer console and support for newer hardware.
Firmware needs to be present for acceleration and in som
Add a port of the TTM and Radeon DRM code from Linux 3.8.13. Includes kernel modesetting, framebuffer console and support for newer hardware.
Firmware needs to be present for acceleration and in some cases modesetting to work. It can be installed via fw_update or manually via pkg_add.
With lots of help from kettenis@ some macppc bits from mpi@ and some ttm refcount/queue bits from FreeBSD.
Thanks to M:Tier and the OpenBSD Foundation for sponsoring this work.
show more ...
|