Hi there, can somebody tell me which AMD graphics adapters are supported by the OpenBSD kernel?
radeon(4) has a very big list of supported adapters or chip families. I greped a bit in /usr/src/sys/dev/pci/drm/radeon to see which ones are supported. Am i right with the assumption that all chips of the recent years up to VERDE are supported? Im asking because my RADEON HD5850 died today and i have to replace it because the GPU of the APU im using is a KAVERI which seems is not supported. cvs log tells me that the current state of the radeon/amd kernel driver is based on Linux 3.8.13. Is somebody working on an update for that? I have no idea how much work it is though. My knowledge of graphics stuff is rather limited... dmesg: OpenBSD 6.0-current (GENERIC.MP) #1: Mon Sep 5 23:03:49 CEST 2016 r...@satan.lan:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 7433760768 (7089MB) avail mem = 7203934208 (6870MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xebf50 (19 entries) bios0: vendor American Megatrends Inc. version "P2.70" date 05/22/2015 bios0: ASRock FM2A75M-HD+ acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP APIC FPDT MCFG HPET AAFT SSDT SSDT CRAT SSDT acpi0: wakeup devices PB21(S4) PB22(S4) PB31(S4) PB32(S4) PB33(S4) PB34(S4) SBAZ(S4) PS2K(S4) UAR1(S4) P0PC(S4) OHC1(S4) EHC1(S4) OHC2(S4) EHC2(S4) OHC3(S4) EHC3(S4) [...] acpitimer0 at acpi0: 3579545 Hz, 32 bits acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 16 (boot processor) cpu0: AMD A10-7850K Radeon R7, 12 Compute Cores 4C+8G, 3693.75 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCN T,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR 8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TBM,TOPEXT,ITSC, FSGSBASE,BMI1 cpu0: 96KB 64b/line 3-way I-cache, 16KB 64b/line 4-way D-cache, 2MB 64b/line 16-way L2 cache cpu0: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative cpu0: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 99MHz cpu0: mwait min=64, max=64, IBE cpu1 at mainbus0: apid 17 (application processor) cpu1: AMD A10-7850K Radeon R7, 12 Compute Cores 4C+8G, 3693.29 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCN T,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR 8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TBM,TOPEXT,ITSC, FSGSBASE,BMI1 cpu1: 96KB 64b/line 3-way I-cache, 16KB 64b/line 4-way D-cache, 2MB 64b/line 16-way L2 cache cpu1: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative cpu1: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 18 (application processor) cpu2: AMD A10-7850K Radeon R7, 12 Compute Cores 4C+8G, 3693.29 MHz cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCN T,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR 8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TBM,TOPEXT,ITSC, FSGSBASE,BMI1 cpu2: 96KB 64b/line 3-way I-cache, 16KB 64b/line 4-way D-cache, 2MB 64b/line 16-way L2 cache cpu2: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative cpu2: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative cpu2: smt 0, core 2, package 0 cpu3 at mainbus0: apid 19 (application processor) cpu3: AMD A10-7850K Radeon R7, 12 Compute Cores 4C+8G, 3693.29 MHz cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCN T,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR 8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TBM,TOPEXT,ITSC, FSGSBASE,BMI1 cpu3: 96KB 64b/line 3-way I-cache, 16KB 64b/line 4-way D-cache, 2MB 64b/line 16-way L2 cache cpu3: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative cpu3: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative cpu3: smt 0, core 3, package 0 ioapic0 at mainbus0: apid 5 pa 0xfec00000, version 21, 24 pins ioapic1 at mainbus0: apid 6 pa 0xfec01000, version 21, 32 pins acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255 acpihpet0 at acpi0: 14318180 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt0: no apic found for irq 56 acpiprt0: no apic found for irq 57 acpiprt0: no apic found for irq 58 acpiprt0: no apic found for irq 59 acpiprt1 at acpi0: bus 1 (PB21) acpiprt2 at acpi0: bus -1 (PB22) acpiprt3 at acpi0: bus -1 (PB31) acpiprt4 at acpi0: bus 2 (PB32) acpiprt5 at acpi0: bus -1 (PB33) acpiprt6 at acpi0: bus -1 (PB34) acpiprt7 at acpi0: bus 3 (P0PC) acpiprt8 at acpi0: bus -1 (PE20) acpiprt9 at acpi0: bus -1 (PE21) acpiprt10 at acpi0: bus -1 (PE22) acpiprt11 at acpi0: bus -1 (PE23) acpicpu0 at acpi0: C1(@1 halt!), PSS acpicpu1 at acpi0: C1(@1 halt!), PSS acpicpu2 at acpi0: C1(@1 halt!), PSS acpicpu3 at acpi0: C1(@1 halt!), PSS "PNP0401" at acpi0 not configured "MSFT0001" at acpi0 not configured "PNP0501" at acpi0 not configured acpibtn0 at acpi0: PWRB acpivideo0 at acpi0: VGA_ acpivideo1 at acpi0: VGA_ cpu0: 3693 MHz: speeds: 3700 3500 3000 2400 1700 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 vendor "AMD", unknown product 0x1422 rev 0x00 vendor "ATI", unknown product 0x130f (class display subclass VGA, rev 0x00) at pci0 dev 1 function 0 not configured azalia0 at pci0 dev 1 function 1 vendor "ATI", unknown product 0x1308 rev 0x00: msi azalia0: no supported codecs pchb1 at pci0 dev 2 function 0 vendor "AMD", unknown product 0x1424 rev 0x00 ppb0 at pci0 dev 2 function 1 vendor "AMD", unknown product 0x1425 rev 0x00: msi pci1 at ppb0 bus 1 radeondrm0 at pci1 dev 0 function 0 "ATI Radeon HD 5870" rev 0x00 drm0 at radeondrm0 radeondrm0: msi azalia1 at pci1 dev 0 function 1 "ATI Radeon HD 5800 Audio" rev 0x00: msi azalia1: no supported codecs pchb2 at pci0 dev 3 function 0 vendor "AMD", unknown product 0x1424 rev 0x00 ppb1 at pci0 dev 3 function 2 vendor "AMD", unknown product 0x1426 rev 0x00: msi pci2 at ppb1 bus 2 re0 at pci2 dev 0 function 0 "Realtek 8168" rev 0x0b: RTL8168F/8111F (0x4800), msi, address bc:5f:f4:f4:cd:23 rgephy0 at re0 phy 7: RTL8169S/8110S/8211 PHY, rev. 5 pchb3 at pci0 dev 4 function 0 vendor "AMD", unknown product 0x1424 rev 0x00 xhci0 at pci0 dev 16 function 0 "AMD Hudson-2 xHCI" rev 0x03: msi usb0 at xhci0: USB revision 3.0 uhub0 at usb0 configuration 1 interface 0 "AMD xHCI root hub" rev 3.00/1.00 addr 1 xhci1 at pci0 dev 16 function 1 "AMD Hudson-2 xHCI" rev 0x03: msi usb1 at xhci1: USB revision 3.0 uhub1 at usb1 configuration 1 interface 0 "AMD xHCI root hub" rev 3.00/1.00 addr 1 ahci0 at pci0 dev 17 function 0 "AMD Hudson-2 SATA" rev 0x40: msi, AHCI 1.3 ahci0: port 0: 3.0Gb/s ahci0: port 2: 6.0Gb/s scsibus1 at ahci0: 32 targets sd0 at scsibus1 targ 0 lun 0: <ATA, WDC WD2500JS-00N, 10.0> SCSI3 0/direct fixed t10.ATA_WDC_WD2500JS-00NCB1_WD-WCANK7846047 sd0: 238475MB, 512 bytes/sector, 488397168 sectors sd1 at scsibus1 targ 2 lun 0: <ATA, WDC WD5003AZEX-0, 80.0> SCSI3 0/direct fixed naa.50014ee058cb39a3 sd1: 476940MB, 512 bytes/sector, 976773168 sectors ohci0 at pci0 dev 18 function 0 "AMD Hudson-2 USB" rev 0x11: apic 5 int 18, version 1.0, legacy support ehci0 at pci0 dev 18 function 2 "AMD Hudson-2 USB2" rev 0x11: apic 5 int 17 usb2 at ehci0: USB revision 2.0 uhub2 at usb2 configuration 1 interface 0 "AMD EHCI root hub" rev 2.00/1.00 addr 1 ohci1 at pci0 dev 19 function 0 "AMD Hudson-2 USB" rev 0x11: apic 5 int 18, version 1.0, legacy support ehci1 at pci0 dev 19 function 2 "AMD Hudson-2 USB2" rev 0x11: apic 5 int 17 usb3 at ehci1: USB revision 2.0 uhub3 at usb3 configuration 1 interface 0 "AMD EHCI root hub" rev 2.00/1.00 addr 1 piixpm0 at pci0 dev 20 function 0 "AMD Hudson-2 SMBus" rev 0x14: polling iic0 at piixpm0 spdmem0 at iic0 addr 0x50: 4GB DDR3 SDRAM PC3-10600 spdmem1 at iic0 addr 0x51: 4GB DDR3 SDRAM PC3-10600 pciide0 at pci0 dev 20 function 1 "AMD Hudson-2 IDE" rev 0x00: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: <ST3500630AS> wd0: 16-sector PIO, LBA48, 476940MB, 976773168 sectors wd0(pciide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 atapiscsi0 at pciide0 channel 1 drive 0 scsibus2 at atapiscsi0: 2 targets cd0 at scsibus2 targ 0 lun 0: <HL-DT-ST, DVDRAM GH24NSB0, LN00> ATAPI 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 azalia2 at pci0 dev 20 function 2 "AMD Hudson-2 HD Audio" rev 0x01: apic 5 int 16 azalia2: codecs: Realtek ALC662 audio0 at azalia2 pcib0 at pci0 dev 20 function 3 "AMD Hudson-2 LPC" rev 0x11 ppb2 at pci0 dev 20 function 4 "AMD Hudson-2 PCI" rev 0x40 pci3 at ppb2 bus 3 ohci2 at pci0 dev 20 function 5 "AMD Hudson-2 USB" rev 0x11: apic 5 int 18, version 1.0, legacy support pchb4 at pci0 dev 24 function 0 vendor "AMD", unknown product 0x141a rev 0x00 pchb5 at pci0 dev 24 function 1 vendor "AMD", unknown product 0x141b rev 0x00 pchb6 at pci0 dev 24 function 2 vendor "AMD", unknown product 0x141c rev 0x00 pchb7 at pci0 dev 24 function 3 vendor "AMD", unknown product 0x141d rev 0x00 pchb8 at pci0 dev 24 function 4 vendor "AMD", unknown product 0x141e rev 0x00 pchb9 at pci0 dev 24 function 5 vendor "AMD", unknown product 0x141f rev 0x00 usb4 at ohci0: USB revision 1.0 uhub4 at usb4 configuration 1 interface 0 "AMD OHCI root hub" rev 1.00/1.00 addr 1 usb5 at ohci1: USB revision 1.0 uhub5 at usb5 configuration 1 interface 0 "AMD OHCI root hub" rev 1.00/1.00 addr 1 isa0 at pcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 irq 1 irq 12 pckbd0 at pckbc0 (kbd slot) wskbd0 at pckbd0: console keyboard pcppi0 at isa0 port 0x61 spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 wbsio0 at isa0 port 0x2e/2: NCT6776F rev 0x33 lm1 at wbsio0 port 0x290/8: NCT6776F usb6 at ohci2: USB revision 1.0 uhub6 at usb6 configuration 1 interface 0 "AMD OHCI root hub" rev 1.00/1.00 addr 1 vmm0 at mainbus0: SVM/RVI uhidev0 at uhub4 port 1 configuration 1 interface 0 "Logitech USB-PS/2 Optical Mouse" rev 2.00/20.00 addr 2 uhidev0: iclass 3/1 ums0 at uhidev0: 3 buttons, Z dir wsmouse0 at ums0 mux 0 uhidev1 at uhub4 port 2 configuration 1 interface 0 "FiiO DigiHug USB Audio" rev 1.10/0.01 addr 3 uhidev1: iclass 3/0 uhid0 at uhidev1: input=18, output=27, feature=0 uaudio0 at uhub4 port 2 configuration 1 interface 1 "FiiO DigiHug USB Audio" rev 1.10/0.01 addr 3 uaudio0: ignored setting with type 8193 format uaudio0: audio rev 1.00, 2 mixer controls audio1 at uaudio0 ulpt0 at uhub4 port 4 configuration 1 interface 0 "Brother DCP-J315W" rev 1.00/1.00 addr 4 ulpt0: using bi-directional mode umass0 at uhub4 port 4 configuration 1 interface 2 "Brother DCP-J315W" rev 1.00/1.00 addr 4 umass0: using SCSI over Bulk-Only scsibus3 at umass0: 2 targets, initiator 0 sd2 at scsibus3 targ 1 lun 0: <Brother, DCP-J315W, 1.00> SCSI2 0/direct removable serial.04f90254BROM1F401557 ugen0 at uhub4 port 4 configuration 1 "Brother DCP-J315W" rev 1.00/1.00 addr 4 vscsi0 at root scsibus4 at vscsi0: 256 targets softraid0 at root scsibus5 at softraid0: 256 targets root on sd1a (ceab24924dd205f4.a) swap on sd1b dump on sd1b WARNING: / was not properly unmounted radeondrm0: 1920x1080 wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0 wsdisplay0: screen 1-5 added (std, vt100 emulation)