* [Bug 102497] Fatal error during GPU init when using an aarch64 board
@ 2017-08-31 20:03 bugzilla-daemon
2017-08-31 20:10 ` bugzilla-daemon
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: bugzilla-daemon @ 2017-08-31 20:03 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 3021 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=102497
Bug ID: 102497
Summary: Fatal error during GPU init when using an aarch64
board
Product: DRI
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: DRM/Radeon
Assignee: dri-devel@lists.freedesktop.org
Reporter: bero@lindev.ch
Putting a Radeon graphics card into the PCI slot of an Aarch64 board (the
particular one I tried is the Solidrun MACCHIATObin) results in:
[Wed Jul 12 14:01:10 2017] [drm] Initialized drm 1.1.0 20060810
[Wed Jul 12 14:01:10 2017] [drm] radeon kernel modesetting enabled.
[Wed Jul 12 14:01:10 2017] [drm] initializing kernel modesetting (RV620
0x1002:0x95C5 0x174B:0xE400).
[Wed Jul 12 14:01:10 2017] [drm] register mmio base: 0xF6120000
[Wed Jul 12 14:01:10 2017] [drm] register mmio size: 65536
[Wed Jul 12 14:01:10 2017] ATOM BIOS:
[Wed Jul 12 14:01:10 2017] [drm] GPU not posted. posting now...
[Wed Jul 12 14:01:10 2017] radeon 0000:01:00.0: VRAM: 512M 0x0000000000000000 -
0x000000001FFFFFFF (512M used)
[Wed Jul 12 14:01:10 2017] radeon 0000:01:00.0: GTT: 512M 0x0000000020000000 -
0x000000003FFFFFFF
[Wed Jul 12 14:01:10 2017] [drm] Detected VRAM RAM=512M, BAR=0M
[Wed Jul 12 14:01:10 2017] [drm] RAM width 64bits DDR
[Wed Jul 12 14:01:10 2017] [TTM] Zone kernel: Available graphics memory:
1889730 kiB
[Wed Jul 12 14:01:10 2017] [TTM] Initializing pool allocator
[Wed Jul 12 14:01:10 2017] [TTM] Initializing DMA pool allocator
[Wed Jul 12 14:01:10 2017] radeon 0000:01:00.0: Fatal error during GPU init
[Wed Jul 12 14:01:10 2017] [drm] radeon: finishing device.
[Wed Jul 12 14:01:10 2017] [TTM] Trying to take down uninitialized memory
manager type 1
[Wed Jul 12 14:01:10 2017] [TTM] Finalizing pool allocator
[Wed Jul 12 14:01:10 2017] [TTM] Finalizing DMA pool allocator
[Wed Jul 12 14:01:10 2017] [TTM] Zone kernel: Used memory at exit: 0 kiB
[Wed Jul 12 14:01:10 2017] [drm] radeon: ttm finalized
[Wed Jul 12 14:01:10 2017] radeon: probe of 0000:01:00.0 failed with error -12
I've tried 3 different radeon cards:
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV620
LE [Radeon HD 3450]
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
RV710/M92 [Mobility Radeon HD 4530/4570/545v]
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
RV530LE [Radeon X1600/X1650 PRO]
All behave the exact same.
I presume the problem is caused by the (lack of) BIOS on aarch64 boards not
initializing the GPU the same way an x86 box does.
This is on kernel 4.4.52 (latest kernel supported by the board; could try
pulling DRI patches from newer kernels if there's any hope of changes being
there already), libdrm 2.4.82
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 4303 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] 4+ messages in thread
* [Bug 102497] Fatal error during GPU init when using an aarch64 board
2017-08-31 20:03 [Bug 102497] Fatal error during GPU init when using an aarch64 board bugzilla-daemon
@ 2017-08-31 20:10 ` bugzilla-daemon
2018-08-02 17:59 ` bugzilla-daemon
2019-11-19 9:30 ` bugzilla-daemon
2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2017-08-31 20:10 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1032 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=102497
--- Comment #1 from Alex Deucher <alexdeucher@gmail.com> ---
(In reply to Bernhard Rosenkraenzer from comment #0)
>
> I presume the problem is caused by the (lack of) BIOS on aarch64 boards not
> initializing the GPU the same way an x86 box does.
>
No, the driver is able to init the card regardless of whether the vbios has
been posted or not.
> This is on kernel 4.4.52 (latest kernel supported by the board; could try
> pulling DRI patches from newer kernels if there's any hope of changes being
> there already), libdrm 2.4.82
Here's the problem:
> [Wed Jul 12 14:01:10 2017] [drm] Detected VRAM RAM=512M, BAR=0M
There is no PCI BAR for frame buffer access. I'm guessing your pcie bridge does
not have a large enough aperture for the frame buffer BAR. It's generally
256MB.
The driver can't work without access to vram.
Please attach your full dmesg output.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1977 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] 4+ messages in thread
* [Bug 102497] Fatal error during GPU init when using an aarch64 board
2017-08-31 20:03 [Bug 102497] Fatal error during GPU init when using an aarch64 board bugzilla-daemon
2017-08-31 20:10 ` bugzilla-daemon
@ 2018-08-02 17:59 ` bugzilla-daemon
2019-11-19 9:30 ` bugzilla-daemon
2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2018-08-02 17:59 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 592 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=102497
--- Comment #2 from Mikulas Patocka <mikulas@twibright.com> ---
U-BOOT initializes the PCIe controller with 16MB window - it's too small for
GPUs. You have to compile the EDK EFI firmware. You don't have to flash it, you
can copy flash-image.bin to sdcard starting at sector 4096 and use the switches
on the board to select boot from sdcard.
I've got GPU working this way, but opengl doesn't work because of glitches when
writing to the framebuffer.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1392 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] 4+ messages in thread
* [Bug 102497] Fatal error during GPU init when using an aarch64 board
2017-08-31 20:03 [Bug 102497] Fatal error during GPU init when using an aarch64 board bugzilla-daemon
2017-08-31 20:10 ` bugzilla-daemon
2018-08-02 17:59 ` bugzilla-daemon
@ 2019-11-19 9:30 ` bugzilla-daemon
2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2019-11-19 9:30 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 805 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=102497
Martin Peres <martin.peres@free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |MOVED
--- Comment #3 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/815.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2389 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] 4+ messages in thread
end of thread, other threads:[~2019-11-19 9:30 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-31 20:03 [Bug 102497] Fatal error during GPU init when using an aarch64 board bugzilla-daemon
2017-08-31 20:10 ` bugzilla-daemon
2018-08-02 17:59 ` bugzilla-daemon
2019-11-19 9:30 ` 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.