History log of /openbsd/sys/dev/pci/drm/i915/i915_gem.c (Results 1 – 25 of 135)
Revision Date Author Comments
# e64fda40 20-Mar-2024 jsg <jsg@openbsd.org>

switch ggtt from agp_map to io_mapping

reduces the diff to linux, no functional change


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


# 95b52d82 27-Jan-2022 jsg <jsg@openbsd.org>

raise mm obj_lock mtx ipl to IPL_TTY

used with spin_lock_irqsave() from
__i915_gem_object_set_pages()
i915_gem_suspend_late()
i915_gem_shrink()
i915_gem_shrinker_oom()
i915_gem_object_make_unshrinka

raise mm obj_lock mtx ipl to IPL_TTY

used with spin_lock_irqsave() from
__i915_gem_object_set_pages()
i915_gem_suspend_late()
i915_gem_shrink()
i915_gem_shrinker_oom()
i915_gem_object_make_unshrinkable()
i915_gem_madvise_ioctl()

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


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


# 48cf9467 20-Oct-2020 jsg <jsg@openbsd.org>

use drm_mm from linux 5.7.y

Without this boot time tests from setting amdgpu_testing = 1 fail.
For example on Vega 56:

drm: GART: 512M 0x0000000000000000 - 0x000000001FFFFFFF
...
[drm] Tested GTT->

use drm_mm from linux 5.7.y

Without this boot time tests from setting amdgpu_testing = 1 fail.
For example on Vega 56:

drm: GART: 512M 0x0000000000000000 - 0x000000001FFFFFFF
...
[drm] Tested GTT->VRAM and VRAM->GTT copy for GTT offset 0xa00000
[drm] Tested GTT->VRAM and VRAM->GTT copy for GTT offset 0xb00000
...
[drm] Tested GTT->VRAM and VRAM->GTT copy for GTT offset 0x1fe00000
[drm] Tested GTT->VRAM and VRAM->GTT copy for GTT offset 0x1ff00000
[drm] *ERROR* 0xffff80000135f858 bind failed
Error while testing BO move

ok kettenis@

show more ...


# 63b35fb2 13-Jul-2020 jsg <jsg@openbsd.org>

change some drm locks from IPL_TTY to IPL_NONE

In drm linux spinlocks are mapped to mutex(9). Locks without calls to
spin_lock_irqsave(), spin_lock_irq() and the like (which block
interrupts) can b

change some drm locks from IPL_TTY to IPL_NONE

In drm linux spinlocks are mapped to mutex(9). Locks without calls to
spin_lock_irqsave(), spin_lock_irq() and the like (which block
interrupts) can be changed to IPL_NONE.

ok kettenis@

show more ...


# 6942ea66 14-Jun-2020 jsg <jsg@openbsd.org>

rename our kunmap() to kunmap_va()

In linux kunmap() has a page struct * argument our kunmap() has a void *
argument which results in uncoverted uses building but doing the wrong
thing. Renaming wi

rename our kunmap() to kunmap_va()

In linux kunmap() has a page struct * argument our kunmap() has a void *
argument which results in uncoverted uses building but doing the wrong
thing. Renaming will catch any codepaths that need to be changed at
compile time.

show more ...


# 3fc26afe 14-Jun-2020 jsg <jsg@openbsd.org>

convert kunmap() arguments with pointer to page struct

Our kunmap() has a void * argument with the address to unmap which
results in unconverted uses compiling but doing the wrong thing.

ok ketteni

convert kunmap() arguments with pointer to page struct

Our kunmap() has a void * argument with the address to unmap which
results in unconverted uses compiling but doing the wrong thing.

ok kettenis@

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


# 38c7ffe5 13-Nov-2019 jsg <jsg@openbsd.org>

drm/i915/gen8+: Add RC6 CTX corruption WA

From Imre Deak
255ed51599dea571ac15afc676b2705cf2f83975 in linux 4.19.y/4.19.84
7e34f4e4aad3fd34c02b294a3cf2321adf5b4438 in mainline linux


# 61323ef2 13-Nov-2019 jsg <jsg@openbsd.org>

drm/i915: Support ro ppgtt mapped cmdparser shadow buffers

From Jon Bloomfield
7ce726b61c577344655436d6bf49a13e911b6f0a in linux 4.19.y/4.19.84
4f7af1948abcb18b4772fe1bcd84d7d27d96258c in mainline l

drm/i915: Support ro ppgtt mapped cmdparser shadow buffers

From Jon Bloomfield
7ce726b61c577344655436d6bf49a13e911b6f0a in linux 4.19.y/4.19.84
4f7af1948abcb18b4772fe1bcd84d7d27d96258c in mainline linux

show more ...


# 7175f316 16-Sep-2019 jsg <jsg@openbsd.org>

drm/i915: Sanity check mmap length against object size

From Chris Wilson
fba4f7c118e4a8c0eb23e8eccaca1f1a30892506 in linux 4.19.y/4.19.73
000c4f90e3f0194eef218ff2c6a8fd8ca1de4313 in mainline linux


# 2d0b42b4 16-Sep-2019 jsg <jsg@openbsd.org>

drm/i915: Handle vm_mmap error during I915_GEM_MMAP ioctl with WC set

From Joonas Lahtinen
6423a2ad57097eb29758afa87f9c8b5b4fd06c1b in linux 4.19.y/4.19.73
ebfb6977801da521d8d5d752d373a187e2a2b9b3 i

drm/i915: Handle vm_mmap error during I915_GEM_MMAP ioctl with WC set

From Joonas Lahtinen
6423a2ad57097eb29758afa87f9c8b5b4fd06c1b in linux 4.19.y/4.19.73
ebfb6977801da521d8d5d752d373a187e2a2b9b3 in mainline linux

show more ...


# fb7b694c 16-Sep-2019 jsg <jsg@openbsd.org>

drm/i915: Cleanup gt powerstate from gem

From Chris Wilson
d88b01d04c6a16dee1fa172db5064af2768b33a7 in linux 4.19.y/4.19.73
30b710840e4b9c9699d3d4b33fb19ad8880d4614 in mainline linux


# 6543aeb9 16-Sep-2019 jsg <jsg@openbsd.org>

drm/i915: Restore sane defaults for KMS on GEM error load

From Chris Wilson
b185bde520d5feb8fc750107d4cda32262fd92bf in linux 4.19.y/4.19.73
7ed43df720c007d60bee6d81da07bcdc7e4a55ae in mainline linux


# b43037cf 02-Sep-2019 kettenis <kettenis@openbsd.org>

Release locks in error paths. Spotted by semarie@

ok jsg@


# 43918264 27-Jul-2019 jsg <jsg@openbsd.org>

Match linux path in i915_gem_mmap_ioctl() and change ggtt origin if
I915_MMAP_WC flag is set.

ok kettenis@


# a113c3e5 23-Apr-2019 jsg <jsg@openbsd.org>

enable discard_backing_storage() test
ok kettenis@


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


# 642e262e 31-Oct-2018 kettenis <kettenis@openbsd.org>

Add support to uvm to establish write-combining mappings. Use this in the
inteldrm driver to add support for the I915_MMAP_WC flag.

ok deraadt@, jsg@


# 63ed879a 13-Sep-2018 jsg <jsg@openbsd.org>

avoid sequence-point warning with gcc 4.9
ok kettenis@


# 3abe7982 31-May-2018 guenther <guenther@openbsd.org>

Add sleep_finish_all(), which provides the common combo of sleep_finish(),
sleep_finish_timeout(), and sleep_finish_signal() with error preferencing,
and then use it in five places.

ok mpi@


# 432aaa22 28-Nov-2017 mpi <mpi@openbsd.org>

Use mutex_trylock() rather than mixing Linux APIs with OpenBSD ones.

ok kettenis@


123456