From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 102497] Fatal error during GPU init when using an aarch64 board Date: Thu, 31 Aug 2017 20:03:36 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0225764242==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id DFBBE6E770 for ; Thu, 31 Aug 2017 20:03:35 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0225764242== Content-Type: multipart/alternative; boundary="15042098150.AFc9.14097"; charset="UTF-8" --15042098150.AFc9.14097 Date: Thu, 31 Aug 2017 20:03:35 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D102497 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:=20 [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 0x00000000000000= 00 - 0x000000001FFFFFFF (512M used) [Wed Jul 12 14:01:10 2017] radeon 0000:01:00.0: GTT: 512M 0x000000002000000= 0 - 0x000000003FFFFFFF [Wed Jul 12 14:01:10 2017] [drm] Detected VRAM RAM=3D512M, BAR=3D0M [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] R= V620 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 --=20 You are receiving this mail because: You are the assignee for the bug.= --15042098150.AFc9.14097 Date: Thu, 31 Aug 2017 20:03:35 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
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:=20
[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 0x00000000000000=
00 -
0x000000001FFFFFFF (512M used)
[Wed Jul 12 14:01:10 2017] radeon 0000:01:00.0: GTT: 512M 0x000000002000000=
0 -
0x000000003FFFFFFF
[Wed Jul 12 14:01:10 2017] [drm] Detected VRAM RAM=3D512M, BAR=3D0M
[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] R=
V620
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.
= --15042098150.AFc9.14097-- --===============0225764242== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0225764242==--