Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Sep 2018 21:37:34 +0300
From:      Rozhuk Ivan <rozhuk.im@gmail.com>
To:        Johannes Dieterich <dieterich.joh@gmail.com>
Cc:        freebsd-stable@freebsd.org, freebsd-hackers@freebsd.org, freebsd-current@freebsd.org
Subject:   Re: APU Bristol Ridge graphics support
Message-ID:  <20180930213734.74d68ddc@gmail.com>
In-Reply-To: <p659v9.pfvrw4.1hge119-qmf@smtp.gmail.com>
References:  <20180930130149.1adddede@gmail.com> <3cmm8o.pfvorh.0-qmf@smtp.gmail.com> <20180930204606.51500919@gmail.com> <p659v9.pfvrw4.1hge119-qmf@smtp.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 30 Sep 2018 18:12:01 +0000
Johannes Dieterich <dieterich.joh@gmail.com> wrote:

> > I try drm-stable-kmod-g20180822 but it fail to load, as I
> > understand.  
> That should work, could you post the error messages? I assume you
> followed the instructions in the port? 


# kldload /boot/modules/amdgpu.ko

[drm] Initialized
[drm] amdgpu kernel modesetting enabled.
drmn0: <drmn> on vgapci0
vgapci0: child drmn0 requested pci_enable_io
vgapci0: child drmn0 requested pci_enable_io
[drm] initializing kernel modesetting (CARRIZO 0x1002:0x9874 0x1002:0x1E20 0xE2).
[drm] register mmio base: 0xFE900000
[drm] register mmio size: 262144
[drm] doorbell mmio base: 0xF0000000
[drm] doorbell mmio size: 8388608
[drm:amdgpu_device_init] 
Unable to find PCI I/O BAR
[drm] probing mlw for device 1002:9874 = 0
[drm] UVD is enabled in physical mode
[drm] VCE enabled in physical mode
[drm:amdgpu_atombios_init] Unable to find PCI I/O BAR; using MMIO for ATOM IIO
ATOM BIOS: BRISTOL
[drm] GPU post is not needed
Zone  kernel: Available graphics memory: 3104154 kiB
Zone   dma32: Available graphics memory: 2097152 kiB
[TTM] Initializing pool allocator
drmn0: VRAM: 2048M 0x0000000000000000 - 0x000000007FFFFFFF (2048M used)
drmn0: GTT: 3031M 0x0000000080000000 - 0x000000013D7667FF
[drm] Detected VRAM RAM=2048M, BAR=256M
[drm] RAM width 64bits UNKNOWN
[drm] amdgpu: 2048M of VRAM memory ready
[drm] amdgpu: 3031M of GTT memory ready.
[drm] GART: num cpu pages 776038, num gpu pages 776038
[drm] PCIE GART of 3031M enabled (table at 0x0000000000040000).
[drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[drm] Driver supports precise vblank timestamp query.
[drm] amdgpu: irq initialized.
amdgpu: powerplay initialized
[drm] Connector DP-1: get mode from tunables:
[drm]   - kern.vt.fb.modes.DP-1
[drm]   - kern.vt.fb.default_mode
[drm] Connector HDMI-A-1: get mode from tunables:
[drm]   - kern.vt.fb.modes.HDMI-A-1
[drm]   - kern.vt.fb.default_mode
[drm] Connector HDMI-A-2: get mode from tunables:
[drm]   - kern.vt.fb.modes.HDMI-A-2
[drm]   - kern.vt.fb.default_mode
[drm] AMDGPU Display Connectors
[drm] Connector 0:
[drm]   DP-1
[drm]   HPD1
[drm]   DDC: 0x4868 0x4868 0x4869 0x4869 0x486a 0x486a 0x486b 0x486b
[drm]   Encoders:
[drm]     DFP1: INTERNAL_UNIPHY
[drm] Connector 1:
[drm]   HDMI-A-1
[drm]   HPD2
[drm]   DDC: 0x486c 0x486c 0x486d 0x486d 0x486e 0x486e 0x486f 0x486f
[drm]   Encoders:
[drm]     DFP2: INTERNAL_UNIPHY
[drm] Connector 2:
[drm]   HDMI-A-2
[drm]   HPD3
[drm]   DDC: 0x4870 0x4870 0x4871 0x4871 0x4872 0x4872 0x4873 0x4873
[drm]   Encoders:
[drm]     DFP3: INTERNAL_UNIPHY1
amdgpu/carrizo_pfp.bin: could not load firmware image, error 2
amdgpu/carrizo_pfp.bin: could not load firmware image, error 2
amdgpu/carrizo_me.bin: could not load firmware image, error 2
amdgpu/carrizo_me.bin: could not load firmware image, error 2
amdgpu/carrizo_ce.bin: could not load firmware image, error 2
amdgpu/carrizo_ce.bin: could not load firmware image, error 2
amdgpu/carrizo_rlc.bin: could not load firmware image, error 2
amdgpu/carrizo_rlc.bin: could not load firmware image, error 2
amdgpu/carrizo_mec.bin: could not load firmware image, error 2
amdgpu/carrizo_mec.bin: could not load firmware image, error 2
amdgpu/carrizo_mec2.bin: could not load firmware image, error 2
amdgpu/carrizo_mec2.bin: could not load firmware image, error 2
drmn0: fence driver on ring 0 use gpu addr 0x0000000080000010, cpu addr 0x0xfffff800444aa010
drmn0: fence driver on ring 1 use gpu addr 0x0000000080000020, cpu addr 0x0xfffff800444aa020
drmn0: fence driver on ring 2 use gpu addr 0x0000000080000030, cpu addr 0x0xfffff800444aa030
drmn0: fence driver on ring 3 use gpu addr 0x0000000080000040, cpu addr 0x0xfffff800444aa040
drmn0: fence driver on ring 4 use gpu addr 0x0000000080000050, cpu addr 0x0xfffff800444aa050
drmn0: fence driver on ring 5 use gpu addr 0x0000000080000060, cpu addr 0x0xfffff800444aa060
drmn0: fence driver on ring 6 use gpu addr 0x0000000080000070, cpu addr 0x0xfffff800444aa070
drmn0: fence driver on ring 7 use gpu addr 0x0000000080000080, cpu addr 0x0xfffff800444aa080
drmn0: fence driver on ring 8 use gpu addr 0x0000000080000090, cpu addr 0x0xfffff800444aa090
amdgpu/carrizo_sdma.bin: could not load firmware image, error 2
amdgpu/carrizo_sdma.bin: could not load firmware image, error 2
amdgpu/carrizo_sdma1.bin: could not load firmware image, error 2
amdgpu/carrizo_sdma1.bin: could not load firmware image, error 2
drmn0: fence driver on ring 9 use gpu addr 0x00000000800000a0, cpu addr 0x0xfffff800444aa0a0
drmn0: fence driver on ring 10 use gpu addr 0x00000000800000b0, cpu addr 0x0xfffff800444aa0b0
amdgpu/carrizo_uvd.bin: could not load firmware image, error 2
amdgpu/carrizo_uvd.bin: could not load firmware image, error 2
[drm] Found UVD firmware Version: 1.91 Family ID: 11
drmn0: fence driver on ring 11 use gpu addr 0x0000000000681560, cpu addr 0x0xfffff800e0681560
amdgpu/carrizo_vce.bin: could not load firmware image, error 2
amdgpu/carrizo_vce.bin: could not load firmware image, error 2
[drm] Found VCE firmware Version: 52.4 Binary ID: 3
drmn0: fence driver on ring 12 use gpu addr 0x00000000800000d0, cpu addr 0x0xfffff800444aa0d0
drmn0: fence driver on ring 13 use gpu addr 0x00000000800000e0, cpu addr 0x0xfffff800444aa0e0
[drm:gfx_v8_0_ring_test_ring] amdgpu: ring 0 test failed (scratch(0xC040)=0xCAFEDEAD)
[drm:amdgpu_init] hw_init of IP block <gfx_v8_0> failed -22
drmn0: amdgpu_init failed
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 3
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 4
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 5
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 3
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 4
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 5
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 3
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 4
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 5
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 3
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 4
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 5
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 3
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 4
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 5
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 3
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 4
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 5
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[TTM] Finalizing pool allocator
Zone  kernel: Used memory at exit: 0 kiB
Zone   dma32: Used memory at exit: 0 kiB
[drm] amdgpu: ttm finalized
drmn0: Fatal error during GPU init
[drm] amdgpu: finishing device.
[TTM] Memory type 2 has not been initialized
device_attach: drmn0 attach returned 22




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180930213734.74d68ddc>