#
667382c7 |
| 06-Jan-2024 |
kettenis <kettenis@openbsd.org> |
Add more Linux compat code in preparation for the apple KMS driver.
ok jsg@
|
#
53e1df33 |
| 21-Mar-2023 |
jsg <jsg@openbsd.org> |
remove uneeded includes
|
#
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 ...
|
#
49261a46 |
| 01-Mar-2022 |
jsg <jsg@openbsd.org> |
change some defines to static inline functions
|
#
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 ...
|
#
ea7e6ab0 |
| 14-Aug-2021 |
jsg <jsg@openbsd.org> |
call task_del() from destroy_work_on_stack()
prompted by jcs@ reporting a protection fault trap in drm_mode_rmfb_work_fn() while playing a youtube video in firefox on a kaby lake machine. He later
call task_del() from destroy_work_on_stack()
prompted by jcs@ reporting a protection fault trap in drm_mode_rmfb_work_fn() while playing a youtube video in firefox on a kaby lake machine. He later saw the same trace on tiger lake.
The previous attempt to avoid this situation by changing work flush functions from taskq_barrier() to taskq_del_barrier() resulted in suspend sometimes not working on various intel based thinkpads.
The only code we build which calls destroy_work_on_stack() is in drm_framebuffer.c so the scope of this change is more limited. Linux only uses destroy_work_on_stack() for debugging so the workqueue behaviour still doesn't match.
This version is confirmed to not break suspend on x260 by sthen@ and x280 by tb@ and still avoids the original problem according to jcs@
show more ...
|
#
eb5a2f7a |
| 17-May-2021 |
jsg <jsg@openbsd.org> |
return early if work is cancelled before being scheduled
cheloha@ noticed that task_del(9) was being called with a NULL taskq from inteldrm(4), which was not noticed as the function returns early fr
return early if work is cancelled before being scheduled
cheloha@ noticed that task_del(9) was being called with a NULL taskq from inteldrm(4), which was not noticed as the function returns early from testing a flag in the task. This situation occurs when work is cancelled before it is scheduled.
ok kettenis@ cheloha@
show more ...
|
#
15e28df9 |
| 14-Feb-2021 |
jsg <jsg@openbsd.org> |
correct drm work flush behaviour
Don't set taskq to system_wq in INIT_WORK(). Test if taskq pointer is non-NULL before calling taskq_barrier() in flush functions.
fixes a black screen on boot prob
correct drm work flush behaviour
Don't set taskq to system_wq in INIT_WORK(). Test if taskq pointer is non-NULL before calling taskq_barrier() in flush functions.
fixes a black screen on boot problem with 5.10.y drm using nano x1 bisected by jcs@ to 'drm/i915: Always flush the active worker before returning from the wait'
show more ...
|
#
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 ...
|
#
979a8f2d |
| 11-May-2019 |
jsg <jsg@openbsd.org> |
move irq_work bits into irq_work header
|
#
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 ...
|