All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 109117] [ARM64] Unable to load module amdgpu on LS1012A-RDB board
@ 2018-12-20 10:56 bugzilla-daemon
  2018-12-20 10:57 ` bugzilla-daemon
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bugzilla-daemon @ 2018-12-20 10:56 UTC (permalink / raw)
  To: dri-devel


[-- 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 109117] [ARM64] Unable to load module amdgpu on LS1012A-RDB board
  2018-12-20 10:56 [Bug 109117] [ARM64] Unable to load module amdgpu on LS1012A-RDB board bugzilla-daemon
@ 2018-12-20 10:57 ` bugzilla-daemon
  2018-12-20 14:39 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2018-12-20 10:57 UTC (permalink / raw)
  To: dri-devel


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

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

Bas Vermeulen <bas@daedalean.ai> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|XOrg git                    |unspecified
                 OS|All                         |Linux (All)

--- Comment #1 from Bas Vermeulen <bas@daedalean.ai> ---
Running on linux-4.20.0-rc7 (latest from kernel.org)

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

[-- Attachment #1.2: Type: text/html, Size: 1990 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 109117] [ARM64] Unable to load module amdgpu on LS1012A-RDB board
  2018-12-20 10:56 [Bug 109117] [ARM64] Unable to load module amdgpu on LS1012A-RDB board bugzilla-daemon
  2018-12-20 10:57 ` bugzilla-daemon
@ 2018-12-20 14:39 ` bugzilla-daemon
  2018-12-20 14:39 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2018-12-20 14:39 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #2 from Alex Deucher <alexdeucher@gmail.com> ---
Likely related to write combining.  Try patching your kernel to return false in
drm_arch_can_wc_memory().

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

[-- Attachment #1.2: Type: text/html, Size: 1104 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 109117] [ARM64] Unable to load module amdgpu on LS1012A-RDB board
  2018-12-20 10:56 [Bug 109117] [ARM64] Unable to load module amdgpu on LS1012A-RDB board bugzilla-daemon
  2018-12-20 10:57 ` 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
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2018-12-20 14:39 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #3 from Alex Deucher <alexdeucher@gmail.com> ---
Possibly a duplicate of bug 108625.

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

[-- Attachment #1.2: Type: text/html, Size: 1233 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 109117] [ARM64] Unable to load module amdgpu on LS1012A-RDB board
  2018-12-20 10:56 [Bug 109117] [ARM64] Unable to load module amdgpu on LS1012A-RDB board bugzilla-daemon
                   ` (2 preceding siblings ...)
  2018-12-20 14:39 ` bugzilla-daemon
@ 2018-12-20 15:51 ` bugzilla-daemon
  2019-11-19  9:08 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2018-12-20 15:51 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #4 from Michel Dänzer <michel@daenzer.net> ---
We don't enable write-combining for the ring buffers though, do we?

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

[-- Attachment #1.2: Type: text/html, Size: 1063 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 109117] [ARM64] Unable to load module amdgpu on LS1012A-RDB board
  2018-12-20 10:56 [Bug 109117] [ARM64] Unable to load module amdgpu on LS1012A-RDB board bugzilla-daemon
                   ` (3 preceding siblings ...)
  2018-12-20 15:51 ` bugzilla-daemon
@ 2019-11-19  9:08 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2019-11-19  9:08 UTC (permalink / raw)
  To: dri-devel


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

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

Martin Peres <martin.peres@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #5 from Martin Peres <martin.peres@free.fr> ---
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.

You can subscribe and participate further through the new bug through this link
to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/650.

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

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

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

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-11-19  9:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-20 10:56 [Bug 109117] [ARM64] Unable to load module amdgpu on LS1012A-RDB board bugzilla-daemon
2018-12-20 10:57 ` 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

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.