History log of /openbsd/sys/dev/pci/drm/amd/amdgpu/amdgpu_kms.c (Results 1 – 25 of 36)
Revision Date Author Comments
# 3cbf4bdd 11-Oct-2024 jsg <jsg@openbsd.org>

drm/amdgpu: Block MMR_READ IOCTL in reset

From Victor Skvortsov
8361e3f7882876d98ba98cae0d3149450dd80912 in linux-6.6.y/6.6.55
9e823f307074c0f82b5f6044943b0086e3079bed in mainline linux


# da5a99b8 29-Jan-2024 jsg <jsg@openbsd.org>

drm/amdgpu: fall back to INPUT power for AVG power via INFO IOCTL

From Alex Deucher
836e236b878a385911db619b38393d624a4d7eae in linux-6.6.y/6.6.14
d02069850fc102b07ae923535d5e212f2c8a34e9 in mainlin

drm/amdgpu: fall back to INPUT power for AVG power via INFO IOCTL

From Alex Deucher
836e236b878a385911db619b38393d624a4d7eae in linux-6.6.y/6.6.14
d02069850fc102b07ae923535d5e212f2c8a34e9 in mainline linux

show more ...


# 21faacac 25-Jan-2024 jsg <jsg@openbsd.org>

call amdgpu_driver_load_kms() instead of doing the equivalent


# f005ef32 16-Jan-2024 jsg <jsg@openbsd.org>

update drm to linux 6.6.12

Thanks to the OpenBSD Foundation for sponsoring this work.


# 00fba9d1 09-Oct-2023 jsg <jsg@openbsd.org>

drm/amdgpu: Handle null atom context in VBIOS info ioctl

From David Francis
91b6845ef387ab9ae2c6f3f8d43655be955e444b in linux-6.1.y/6.1.56
5e7e82254270c8cf8b107451c5de01cee2f135ae in mainline linux


# ba393808 13-Sep-2023 jsg <jsg@openbsd.org>

drm/amdgpu: Update min() to min_t() in 'amdgpu_info_ioctl'

From Srinivasan Shanmugam
8dcc23191a6d2181855422741d73a96d91526c87 in linux-6.1.y/6.1.53
a0cc8e1512ad72c9f97cdcb76d42715730adaf62 in mainli

drm/amdgpu: Update min() to min_t() in 'amdgpu_info_ioctl'

From Srinivasan Shanmugam
8dcc23191a6d2181855422741d73a96d91526c87 in linux-6.1.y/6.1.53
a0cc8e1512ad72c9f97cdcb76d42715730adaf62 in mainline linux

show more ...


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


# 745387f0 05-Dec-2022 kettenis <kettenis@openbsd.org>

Add support for the Backlight connector property like we already have for
inteldrm(4). This makes xbacklight(1) work when using the Xorg modesetting
driver. The Xorg amdgpu driver needs a small cha

Add support for the Backlight connector property like we already have for
inteldrm(4). This makes xbacklight(1) work when using the Xorg modesetting
driver. The Xorg amdgpu driver needs a small change for this that should
land soon.

ok jsg@

show more ...


# 56a2df6e 11-Nov-2022 jsg <jsg@openbsd.org>

return early from drm activate functions after fatal error

avoids a page fault trap trying to take an uninitialised
modeset lock on suspend

reported and tested by Ali Farzanrad on HP ProBook 4530s

return early from drm activate functions after fatal error

avoids a page fault trap trying to take an uninitialised
modeset lock on suspend

reported and tested by Ali Farzanrad on HP ProBook 4530s

radeondrm0 at pci1 dev 0 function 0 "ATI Radeon HD 6400M" rev 0x00
drm1 at radeondrm0
radeondrm0: msi
inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics 3000" rev 0x09
drm0 at inteldrm0
inteldrm0: msi, SANDYBRIDGE, gen 6
..
radeondrm0: CAICOS
[drm] *ERROR* Unable to locate a BIOS ROM
drm:pid0:radeondrm_attachhook *ERROR* Fatal error during GPU init
inteldrm0: 1366x768, 32bpp

show more ...


# 63294167 15-Jul-2022 kettenis <kettenis@openbsd.org>

Implement support for framebuffers that don't start on a page boundary.
This happens on the new 14" and 16" Macbook Pro where we deliberately use
a framebuffer that skips the first few lines to avoid

Implement support for framebuffers that don't start on a page boundary.
This happens on the new 14" and 16" Macbook Pro where we deliberately use
a framebuffer that skips the first few lines to avoid "the notch".
The offset of the first pixel is added to struct wsdisplay_fbinfo. The
stride is added as well, mirroring the value returned by the
WSDISPLAYIO_LINEBYTES ioctl, such that we can retire that one in the
future. A compat ioctl is implemented to help the transition. The compat
code will be removed after OpenBSD 7.3 has been released.

ok miod@

show more ...


# f9c49ec7 11-Apr-2022 jsg <jsg@openbsd.org>

drm/amdgpu: move PX checking into amdgpu_device_ip_early_init

From Alex Deucher
0884abb259f180bc737cdb2c681d907b86f266e8 in linux 5.15.y/5.15.33
901e2be20dc55079997ea1885ea77fc72e6826e7 in mainline

drm/amdgpu: move PX checking into amdgpu_device_ip_early_init

From Alex Deucher
0884abb259f180bc737cdb2c681d907b86f266e8 in linux 5.15.y/5.15.33
901e2be20dc55079997ea1885ea77fc72e6826e7 in mainline linux

show more ...


# 8d2c75e4 11-Mar-2022 mpi <mpi@openbsd.org>

Constify struct cfattach.


# adba1814 02-Mar-2022 jsg <jsg@openbsd.org>

drm/amd: Check if ASPM is enabled from PCIe subsystem

From Mario Limonciello
ea44fcee7e3d87725423c904306a99cd42bd24b7 in linux 5.15.y/5.15.26
7294863a6f01248d72b61d38478978d638641bee in mainline lin

drm/amd: Check if ASPM is enabled from PCIe subsystem

From Mario Limonciello
ea44fcee7e3d87725423c904306a99cd42bd24b7 in linux 5.15.y/5.15.26
7294863a6f01248d72b61d38478978d638641bee in mainline linux

show more ...


# d69fd9e7 18-Feb-2022 mlarkin <mlarkin@openbsd.org>

Extra whitespace removal. No code change.

ok jsg@


# 29299b4a 14-Feb-2022 jsg <jsg@openbsd.org>

reprint device name in attach error paths if needed


# 99312d94 14-Feb-2022 jsg <jsg@openbsd.org>

check return value of drm_attach_pci()
adapted from a diff by Ted Bullock


# 7ac1f639 14-Feb-2022 jsg <jsg@openbsd.org>

change a NULL pa_memex test after use to an earlier KASSERT
from Ted Bullock


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


# e54dbfe7 28-Oct-2020 jsg <jsg@openbsd.org>

Switch from bus_space_read/write to linux io.h interfaces for all
pci "memory space" io. Further reduces the diff to linux.

ok kettenis@


# 2c3ebbac 26-Oct-2020 kettenis <kettenis@openbsd.org>

Make mapping the "I/O Space" BAR optional. POWER9 systems don't support
"I/O Space" on their PCIe host bridges and for most (all) Radeon variants
there is an alternative method to access the relevan

Make mapping the "I/O Space" BAR optional. POWER9 systems don't support
"I/O Space" on their PCIe host bridges and for most (all) Radeon variants
there is an alternative method to access the relevant registers.

ok jsg@

show more ...


# db4ca6ca 04-Sep-2020 jsg <jsg@openbsd.org>

drm/amdgpu: Fix buffer overflow in INFO ioctl

From Alex Deucher
b5b97cab55eb71daba3283c8b1d2cce456d511a1 in mainline linux


# 8b9ccabb 05-Aug-2020 jsg <jsg@openbsd.org>

drm/amdgpu: Prevent kernel-infoleak in amdgpu_info_ioctl()

From Peilin Ye
dd4672ba579a78f14dab65062d95c16f0835947b in linux 5.7.y/5.7.13
543e8669ed9bfb30545fd52bc0e047ca4df7fb31 in mainline linux


# c3a4abad 29-Jun-2020 jsg <jsg@openbsd.org>

remove now unused var

found the hard way by deraadt@ on sparc64


# 742fc9be 28-Jun-2020 jsg <jsg@openbsd.org>

set fb_set_par and have register_framebuffer() do initial modeset


12