Bug 263925 - graphics/gpu-firmware-amd-kmod: green_sardine is missing
Summary: graphics/gpu-firmware-amd-kmod: green_sardine is missing
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-x11 (Nobody)
Depends on:
Reported: 2022-05-11 16:03 UTC by Ivan Rozhuk
Modified: 2022-05-11 16:21 UTC (History)
4 users (show)

See Also:
bugzilla: maintainer-feedback? (x11)


Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Rozhuk 2022-05-11 16:03:51 UTC
green_sardine* f/w is missed, it required to work with 5750G

[126] device_attach: intsmb0 attach returned 6
[126] <6>[drm] amdgpu kernel modesetting enabled.
[126] drmn0: <drmn> on vgapci0
[126] vgapci0: child drmn0 requested pci_enable_io
[126] vgapci0: child drmn0 requested pci_enable_io
[126] <6>[drm] initializing kernel modesetting (RENOIR 0x1002:0x1638 0x1002:0x1636 0xD8).
[126] drmn0: Trusted Memory Zone (TMZ) feature disabled as experimental (default)
[126] <6>[drm] register mmio base: 0xFCA00000
[126] <6>[drm] register mmio size: 524288
[126] <6>[drm] add ip block number 0 <soc15_common>
[126] <6>[drm] add ip block number 1 <gmc_v9_0>
[126] <6>[drm] add ip block number 2 <vega10_ih>
[126] <6>[drm] add ip block number 3 <psp>
[126] <6>[drm] add ip block number 4 <smu>
[126] <6>[drm] add ip block number 5 <gfx_v9_0>
[126] <6>[drm] add ip block number 6 <sdma_v4_0>
[126] <6>[drm] add ip block number 7 <dm>
[126] <6>[drm] add ip block number 8 <vcn_v2_0>
[126] <6>[drm] add ip block number 9 <jpeg_v2_0>
[126] drmn0: Fetched VBIOS from VFCT
[126] amdgpu: ATOM BIOS: 13-CEZANNE-019
[126] drmn0: could not load firmware image 'amdgpu/green_sardine_sdma.bin'
[126] [drm ERROR :sdma_v4_0_init_microcode] sdma_v4_0: Failed to load firmware "amdgpu/green_sardine_sdma.bin"
[126] [drm ERROR :sdma_v4_0_early_init] Failed to load sdma firmware!
[126] <6>[drm] VCN decode is enabled in VM mode
[126] <6>[drm] VCN encode is enabled in VM mode
[126] <6>[drm] JPEG decode is enabled in VM mode
[126] <6>[drm] vm size is 262144 GB, 4 levels, block size is 9-bit, fragment size is 9-bit
[126] drmn0: VRAM: 512M 0x000000F400000000 - 0x000000F41FFFFFFF (512M used)
[126] drmn0: GART: 1024M 0x0000000000000000 - 0x000000003FFFFFFF
[126] drmn0: AGP: 267419648M 0x000000F800000000 - 0x0000FFFFFFFFFFFF
[126] <6>[drm] Detected VRAM RAM=512M, BAR=512M
[126] <6>[drm] RAM width 128bits DDR4
[126] [TTM] Zone  kernel: Available graphics memory: 16440718 KiB
[126] [TTM] Zone   dma32: Available graphics memory: 2097152 KiB
[126] [TTM] Initializing pool allocator
[126] <6>[drm] amdgpu: 512M of VRAM memory ready
[126] <6>[drm] amdgpu: 3072M of GTT memory ready.
[126] <6>[drm] GART: num cpu pages 262144, num gpu pages 262144
[126] <6>[drm] PCIE GART of 1024M enabled (table at 0x000000F400900000).
[126] drmn0: could not load firmware image 'amdgpu/green_sardine_asd.bin'
[126] drmn0: fail to initialize asd microcode
[126] [drm ERROR :psp_sw_init] Failed to load psp firmware!
[126] [drm ERROR :amdgpu_device_ip_init] sw_init of IP block <psp> failed -2
[126] drmn0: amdgpu_device_ip_init failed
[126] drmn0: Fatal error during GPU init
[126] drmn0: amdgpu: finishing device.
[126] [TTM] Finalizing pool allocator
[126] [TTM] Zone  kernel: Used memory at exit: 0 KiB
[126] [TTM] Zone   dma32: Used memory at exit: 0 KiB
[126] <6>[drm] amdgpu: ttm finalized
[126] device_attach: drmn0 attach returned 2
Comment 1 Li-Wen Hsu freebsd_committer 2022-05-11 16:09:55 UTC
This should be fixed in https://cgit.freebsd.org/ports/commit/?id=df7ea4b43f7acb69431f27e9e392a5729ad7b38c
Comment 2 Ivan Rozhuk 2022-05-11 16:21:02 UTC