All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 109117] [ARM64] Unable to load module amdgpu on LS1012A-RDB board
Date: Thu, 20 Dec 2018 10:56:02 +0000	[thread overview]
Message-ID: <bug-109117-502@http.bugs.freedesktop.org/> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 5152 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=109117

            Bug ID: 109117
           Summary: [ARM64] Unable to load module amdgpu on LS1012A-RDB
                    board
           Product: DRI
           Version: XOrg git
          Hardware: ARM
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/AMDgpu
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: bas@daedalean.ai

I am trying to use AMDGPU on an NXP LS1012A-RDB development board, connected to
the mini PCIe connector on the board (x1 gen2).

I get the following problem, and the driver is unable to initialize it's rings
correctly.

[   17.796558] [drm] amdgpu kernel modesetting enabled.
[   17.805941] [drm] initializing kernel modesetting (POLARIS11 0x1002:0x67E8
0x1DA2:0xE362 0x80).
[   17.805968] [drm] register mmio base: 0x58000000
[   17.805971] [drm] register mmio size: 262144
[   17.806054] [drm] add ip block number 0 <vi_common>
[   17.806057] [drm] add ip block number 1 <gmc_v8_0>
[   17.806060] [drm] add ip block number 2 <tonga_ih>
[   17.806063] [drm] add ip block number 3 <gfx_v8_0>
[   17.806066] [drm] add ip block number 4 <sdma_v3_0>
[   17.806069] [drm] add ip block number 5 <powerplay>
[   17.806072] [drm] add ip block number 6 <dm>
[   17.806076] [drm] add ip block number 7 <uvd_v6_0>
[   17.806079] [drm] add ip block number 8 <vce_v3_0>
[   17.806111] [drm] UVD is enabled in VM mode
[   17.806114] [drm] UVD ENC is enabled in VM mode
[   17.806120] [drm] VCE enabled in VM mode
[   18.384750] ATOM BIOS: 113-C98511-U01
[   18.384811] [drm] GPU posting now...
[   18.507093] [drm] vm size is 64 GB, 2 levels, block size is 10-bit, fragment
size is 9-bit
[   18.516659] amdgpu 0000:01:00.0: BAR 2: releasing [mem
0x4050000000-0x40501fffff 64bit pref]
[   18.516672] amdgpu 0000:01:00.0: BAR 0: releasing [mem
0x4040000000-0x404fffffff 64bit pref]
[   18.516794] pcieport 0000:00:00.0: BAR 15: releasing [mem
0x4040000000-0x4057ffffff 64bit pref]
[   18.516825] pcieport 0000:00:00.0: BAR 15: no space for [mem size
0x300000000 64bit pref]
[   18.516831] pcieport 0000:00:00.0: BAR 15: failed to assign [mem size
0x300000000 64bit pref]
[   18.516842] amdgpu 0000:01:00.0: BAR 0: no space for [mem size 0x200000000
64bit pref]
[   18.516848] amdgpu 0000:01:00.0: BAR 0: failed to assign [mem size
0x200000000 64bit pref]
[   18.516856] amdgpu 0000:01:00.0: BAR 2: no space for [mem size 0x00200000
64bit pref]
[   18.516861] amdgpu 0000:01:00.0: BAR 2: failed to assign [mem size
0x00200000 64bit pref]
[   18.516868] pcieport 0000:00:00.0: PCI bridge to [bus 01-ff]
[   18.516875] pcieport 0000:00:00.0:   bridge window [io  0x1000-0x1fff]
[   18.516882] pcieport 0000:00:00.0:   bridge window [mem
0x4058000000-0x40580fffff]
[   18.516892] pcieport 0000:00:00.0: PCI bridge to [bus 01-ff]
[   18.516897] pcieport 0000:00:00.0:   bridge window [io  0x1000-0x1fff]
[   18.516904] pcieport 0000:00:00.0:   bridge window [mem
0x4058000000-0x40580fffff]
[   18.516910] pcieport 0000:00:00.0:   bridge window [mem
0x4040000000-0x4057ffffff 64bit pref]
[   18.516954] [drm] Not enough PCI address space for a large BAR.
[   18.516964] amdgpu 0000:01:00.0: BAR 0: assigned [mem
0x4040000000-0x404fffffff 64bit pref]
[   18.517011] amdgpu 0000:01:00.0: BAR 2: assigned [mem
0x4050000000-0x40501fffff 64bit pref]
[   18.517134] amdgpu 0000:01:00.0: VRAM: 8192M 0x000000F400000000 -
0x000000F5FFFFFFFF (8192M used)
[   18.517140] amdgpu 0000:01:00.0: GART: 256M 0x000000FF00000000 -
0x000000FF0FFFFFFF
[   18.517147] [drm] Detected VRAM RAM=8192M, BAR=256M
[   18.517150] [drm] RAM width 128bits GDDR5
[   18.519414] [TTM] Zone  kernel: Available graphics memory: 473264 kiB
[   18.519421] [TTM] Initializing pool allocator
[   18.519448] [TTM] Initializing DMA pool allocator
[   18.519536] [drm] amdgpu: 8192M of VRAM memory ready
[   18.519544] [drm] amdgpu: 693M of GTT memory ready.
[   18.519691] [drm] GART: num cpu pages 65536, num gpu pages 65536
[   18.526529] [drm] PCIE GART of 256M enabled (table at 0x000000F400000000).
[   18.535266] [drm] Chained IB support enabled!
[   18.593465] [drm] Found UVD firmware Version: 1.130 Family ID: 16
[   18.609124] [drm] Found VCE firmware Version: 52.4 Binary ID: 3
[   19.002431] [drm:gfx_v8_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: ring 0
test failed (scratch(0xC040)=0x00000000)
[   19.013972] [drm:amdgpu_device_init [amdgpu]] *ERROR* hw_init of IP block
<gfx_v8_0> failed -22
[   19.024462] amdgpu 0000:01:00.0: amdgpu_device_ip_init failed
[   19.032772] amdgpu 0000:01:00.0: Fatal error during GPU init
[   19.040955] [drm] amdgpu: finishing device.
[   20.215633] [TTM] Finalizing pool allocator
[   20.215656] [TTM] Finalizing DMA pool allocator
[   20.220049] [TTM] Zone  kernel: Used memory at exit: 0 kiB
[   20.220064] [drm] amdgpu: ttm finalized
[   20.221750] amdgpu: probe of 0000:01:00.0 failed with error -22

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

[-- Attachment #1.2: Type: text/html, Size: 6496 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

             reply	other threads:[~2018-12-20 10:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-20 10:56 bugzilla-daemon [this message]
2018-12-20 10:57 ` [Bug 109117] [ARM64] Unable to load module amdgpu on LS1012A-RDB board bugzilla-daemon
2018-12-20 14:39 ` bugzilla-daemon
2018-12-20 14:39 ` bugzilla-daemon
2018-12-20 15:51 ` bugzilla-daemon
2019-11-19  9:08 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-109117-502@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.