Hi,

Is there any reason why the amdgpu firmware/driver won't work with resize BAR enabled? When I enable ReBAR I get:

drm0 at amdgpu0
amdgpu0: msi
drm:pid0:amdgpu_device_init *ERROR* amdgpu_device_ip_init failed
drm:pid0:amdgpu_driver_load_kms *ERROR* Fatal error during GPU init
WARNING !amdgpu_irq_enabled(adev, src, type) failed at /usr/src/sys/dev/pci/drm/amd/amdgpu/amdgpu_irq.c:626
amdgpu0 at pci12 dev 0 function 0 "ATI Navi 21" rev 0xc1

and it will use the vesa driver for xenocara, which can't drive my three screens.

When I disable ReBAR, the accelerated amdgpu driver springs into action and everything works:

drm0 at amdgpu0
amdgpu0: msi
amdgpu0: SIENNA_CICHLID GC 10.3.0 72 CU rev 0x01
amdgpu0: 1920x1080, 32bpp
wsdisplay0 at amdgpu0 mux 1: console (std, vt100 emulation), using wskbd0

This has been the case at least since 7.5, still happening on the latest snapshots. I've seen diffs that would supposedly remedy this, but they were never acked? Are there security or stability issues with enabling ReBAR?

It's not a thing I absolutely need, so feel free to ignore but it would be nice to just enable it and leave it on since OpenBSD is not the only citizen on my machine.

Regards,
Emiel Kollof

Reply via email to