[Bug 262043] update of drm-*kmod breaks AMD GPU support

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 02 Aug 2022 18:07:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262043

--- Comment #5 from Stefan Eßer <se@FreeBSD.org> ---
Still failing today, relevant part of the boot message log:

hdac1: <ATI (0xaab0) HDA Controller> mem 0xfce60000-0xfce63fff irq 55 at device
0.1 on pci10
hdac1: hdac_get_capabilities: Invalid corb size (0)
device_attach: hdac1 attach returned 6
[drm] radeon kernel modesetting enabled.
drmn0: <drmn> on vgapci0
vgapci0: child drmn0 requested pci_enable_io
vgapci0: child drmn0 requested pci_enable_io
sysctl_warn_reuse: can't re-use a leaf (hw.dri.debug)!
[drm] initializing kernel modesetting (VERDE 0x1002:0x683F 0x174B:0xA001 0x00).
[drm ERROR :radeon_atombios_init] Unable to find PCI I/O BAR; using MMIO for
ATOM IIO
ATOM BIOS: C44501
drmn0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used)
drmn0: GTT: 2048M 0x0000000040000000 - 0x00000000BFFFFFFF
[drm] Detected VRAM RAM=1024M, BAR=256M
[drm] RAM width 128bits DDR
[TTM] Zone  kernel: Available graphics memory: 50262760 KiB
[TTM] Zone   dma32: Available graphics memory: 2097152 KiB
[TTM] Initializing pool allocator
[drm] radeon: 1024M of VRAM memory ready
[drm] radeon: 2048M of GTT memory ready.
[drm] Loading verde Microcode
drmn0: successfully loaded firmware image 'radeon/verde_pfp.bin'
drmn0: successfully loaded firmware image 'radeon/verde_me.bin'
drmn0: successfully loaded firmware image 'radeon/verde_ce.bin'
drmn0: successfully loaded firmware image 'radeon/verde_rlc.bin'
drmn0: successfully loaded firmware image 'radeon/verde_mc.bin'
drmn0: successfully loaded firmware image 'radeon/verde_smc.bin'
[drm] Internal thermal controller without fan control
[drm] radeon: dpm initialized
drmn0: successfully loaded firmware image 'radeon/TAHITI_uvd.bin'
drmn0: successfully loaded firmware image 'radeon/TAHITI_vce.bin'
[drm] Found VCE firmware/feedback version 50.0.1 / 17!
[drm] GART: num cpu pages 524288, num gpu pages 524288
[drm] PCIE GART of 2048M enabled (table at 0x00000000001D6000).
drmn0: WB enabled
drmn0: fence driver on ring 0 use gpu addr 0x0000000040000c00
drmn0: fence driver on ring 1 use gpu addr 0x0000000040000c04
drmn0: fence driver on ring 2 use gpu addr 0x0000000040000c08
drmn0: fence driver on ring 3 use gpu addr 0x0000000040000c0c
drmn0: fence driver on ring 4 use gpu addr 0x0000000040000c10
drmn0: fence driver on ring 5 use gpu addr 0x0000000000075a18
drmn0: fence driver on ring 6 use gpu addr 0x0000000040000c18
drmn0: fence driver on ring 7 use gpu addr 0x0000000040000c1c
drmn0: radeon: MSI limited to 32-bit
drmn0: radeon: using MSI.
[drm] radeon: irq initialized.
[drm] ring test on 0 succeeded in 1 usecs
[drm] ring test on 1 succeeded in 1 usecs
[drm] ring test on 2 succeeded in 1 usecs
[drm] ring test on 3 succeeded in 10 usecs
[drm] ring test on 4 succeeded in 4 usecs
[drm] ring test on 5 succeeded in 1 usecs
[drm] UVD initialized successfully.
[drm] ring test on 6 succeeded in 19 usecs
[drm] ring test on 7 succeeded in 4 usecs
[drm] VCE initialized successfully.
[drm] ib test on ring 0 succeeded in 0 usecs
[drm] ib test on ring 1 succeeded in 0 usecs
[drm] ib test on ring 2 succeeded in 0 usecs
[drm] ib test on ring 3 succeeded in 0 usecs
[drm] ib test on ring 4 succeeded in 0 usecs
[drm] ib test on ring 5 succeeded
[drm] ib test on ring 6 succeeded
[drm] ib test on ring 7 succeeded
lkpi_iic0: <LinuxKPI I2C> on drm1
iicbus0: <Philips I2C bus> on lkpi_iic0
iic0: <I2C generic I/O> on iicbus0
iicsmb0: <SMBus over I2C bridge> on iicbus0
smbus0: <System Management Bus> on iicsmb0
smb0: <SMBus generic I/O> on smbus0
[drm] Radeon Display Connectors
[drm] Connector 0:
[drm]   DP-1
[drm]   HPD4
[drm]   DDC: 0x6540 0x6540 0x6544 0x6544 0x6548 0x6548 0x654c 0x654c
[drm]   Encoders:
[drm]     DFP1: INTERNAL_UNIPHY2
[drm] Connector 1:
[drm]   HDMI-A-1
[drm]   HPD1
[drm]   DDC: 0x6570 0x6570 0x6574 0x6574 0x6578 0x6578 0x657c 0x657c
[drm]   Encoders:
[drm]     DFP2: INTERNAL_UNIPHY2
[drm] Connector 2:
[drm]   DVI-I-1
[drm]   HPD2
[drm]   DDC: 0x6560 0x6560 0x6564 0x6564 0x6568 0x6568 0x656c 0x656c
[drm]   Encoders:
[drm]     DFP3: INTERNAL_UNIPHY
[drm]     CRT1: INTERNAL_KLDSCP_DAC1
drmn0: [drm] Cannot find any crtc or sizes
[drm] Initialized radeon 2.50.0 20080528 for drmn0 on minor 0

The cause of the attach failure seems to be failed communication with the
display device (LG 4K display connected to the HDMI port).

-- 
You are receiving this mail because:
You are the assignee for the bug.