History log of /openbsd/sys/dev/pci/drm/radeon/radeon_kms.c (Results 1 – 25 of 93)
Revision Date Author Comments
# 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 ...


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


# 3e8d81ed 10-May-2022 jsg <jsg@openbsd.org>

spelling
from Ted Bullock


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

Constify struct cfattach.


# 49261a46 01-Mar-2022 jsg <jsg@openbsd.org>

change some defines to static inline functions


# 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


# 63036dfc 14-Feb-2022 jsg <jsg@openbsd.org>

remove unused code


# 33aa843d 14-Feb-2022 jsg <jsg@openbsd.org>

no need for ifndef __sparc64__
from Ted Bullock who tested on sparc64 with xvr-100


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

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


# 06f878b6 27-Jan-2022 jsg <jsg@openbsd.org>

drm/radeon: fix error handling in radeon_driver_open_kms

From Christian Koenig
f22f67b43775fffb09f371ea861779cdbbb763ec in linux 5.15.y/5.15.17
4722f463896cc0ef1a6f1c3cb2e171e949831249 in mainline l

drm/radeon: fix error handling in radeon_driver_open_kms

From Christian Koenig
f22f67b43775fffb09f371ea861779cdbbb763ec in linux 5.15.y/5.15.17
4722f463896cc0ef1a6f1c3cb2e171e949831249 in mainline linux

show more ...


# 3a9f52dc 27-Jan-2022 jsg <jsg@openbsd.org>

drm/radeon/radeon_kms: Fix a NULL pointer dereference in radeon_driver_open_kms()

From Zhou Qingyang
e833ef0b545e1a5b3eaf00af391c4fd1fb47ffd8 in linux 5.15.y/5.15.17
ab50cb9df8896b39aae65c537a30de2c

drm/radeon/radeon_kms: Fix a NULL pointer dereference in radeon_driver_open_kms()

From Zhou Qingyang
e833ef0b545e1a5b3eaf00af391c4fd1fb47ffd8 in linux 5.15.y/5.15.17
ab50cb9df8896b39aae65c537a30de2c79c19735 in mainline linux

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


# ca9c4ded 30-Dec-2021 jsg <jsg@openbsd.org>

combine ifdef blocks
from Ted Bullock


# 722ef128 19-Dec-2021 jsg <jsg@openbsd.org>

fix setting palette with 8bpp fb used on 8mb parts


# cab855fe 19-Dec-2021 jsg <jsg@openbsd.org>

fix radeondrm console colours on sparc64

Directly do register writes in the sparc64 specific
radeondrm_setcolor() instead of trying to pass colour values via
crtc->gamma_store. With these changes t

fix radeondrm console colours on sparc64

Directly do register writes in the sparc64 specific
radeondrm_setcolor() instead of trying to pass colour values via
crtc->gamma_store. With these changes the console changes from
white text on a black background to black text on a white background.

Only older radeon families are handled and crtc selection is
skipped as with radeonfb. Both of the sun radeon parts fall
into this family < CHIP_RS600 path.

xvr-100 (0x1002:0x5159 pci rv100)
xvr-300 (0x1002:0x5b64 pcie rv380)

Tested on a Sun Blade 100 with XVR-100 by Ted Bullock
who also helped with the patch.

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


# 273b612a 17-May-2021 jsg <jsg@openbsd.org>

drm/radeon: fix copy of uninitialized variable back to userspace

From Colin Ian King
8dbc2ccac5a65c5b57e3070e36a3dc97c7970d96 in mainline linux


# d6bc221b 28-Oct-2020 kettenis <kettenis@openbsd.org>

Use the function from <linux/io.h> for all "Memory Space" IO. This reduces
the diffs to Linux and makes sure we use memory barriers in the same way
as Linux does.

ok jsg@ (who added the doorbell ch

Use the function from <linux/io.h> for all "Memory Space" IO. This reduces
the diffs to Linux and makes sure we use memory barriers in the same way
as Linux does.

ok jsg@ (who added the doorbell changes)

show more ...


# 707bfbdd 25-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 ...


# 17a312f5 15-Sep-2020 mglocker <mglocker@openbsd.org>

Add the wsioctl() bits to radeondrm(4) so that abl(4) can be controlled
through the wsconsctl(8) 'display.brightness' variable.

ok kettenis@


# 0edad55b 22-Aug-2020 jsg <jsg@openbsd.org>

drm/radeon: Fix reference count leaks caused by pm_runtime_get_sync

From Aditya Pakki
f097e7aecaaa4e9b2135eb10c86abdb7871cd2ec in linux 5.7.y/5.7.16
9fb10671011143d15b6b40d6d5fa9c52c57e9d63 in mainl

drm/radeon: Fix reference count leaks caused by pm_runtime_get_sync

From Aditya Pakki
f097e7aecaaa4e9b2135eb10c86abdb7871cd2ec in linux 5.7.y/5.7.16
9fb10671011143d15b6b40d6d5fa9c52c57e9d63 in mainline linux

show more ...


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

remove now unused var

found the hard way by deraadt@ on sparc64


1234